[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231116154952.1206705-1-gabriel.fernandez@foss.st.com>
Date: Thu, 16 Nov 2023 16:49:47 +0100
From: <gabriel.fernandez@...s.st.com>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Gabriel Fernandez <gabriel.fernandez@...s.st.com>
CC: <linux-clk@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/5] Introduce STM32MP257 clock driver
From: Gabriel Fernandez <gabriel.fernandez@...s.st.com>
This patch-set introduces clock driver for STM32MP257 based on Arm Cortex-35.
It creates also a menuconfig for all STM32MP clock drivers.
The STM32MP1 and STM32MP13 are now in same stm32 directory
v2:
- rework reset binding (use ID witch start from 0)
- rework reset driver to manage STM32MP13 / STM32MP15 / STM32MP25
new binding of STM32MP25.
- rework YAML documentation
Gabriel Fernandez (5):
clk: stm32mp1: move stm32mp1 clock driver into stm32 directory
clk: stm32mp1: use stm32mp13 reset driver
dt-bindings: stm32: add clocks and reset binding for stm32mp25
platform
clk: stm32: introduce clocks for STM32MP257 platform
arm64: dts: st: add rcc support in stm32mp251
.../bindings/clock/st,stm32mp25-rcc.yaml | 72 +
arch/arm64/boot/dts/st/stm32mp251.dtsi | 59 +-
drivers/clk/Kconfig | 11 +-
drivers/clk/Makefile | 1 -
drivers/clk/stm32/Kconfig | 36 +
drivers/clk/stm32/Makefile | 2 +
drivers/clk/stm32/clk-stm32-core.c | 5 +-
drivers/clk/stm32/clk-stm32-core.h | 5 +-
drivers/clk/{ => stm32}/clk-stm32mp1.c | 127 +-
drivers/clk/stm32/clk-stm32mp13.c | 9 +-
drivers/clk/stm32/clk-stm32mp25.c | 1125 ++++
drivers/clk/stm32/reset-stm32.c | 76 +-
drivers/clk/stm32/reset-stm32.h | 15 +-
drivers/clk/stm32/stm32mp25_rcc.h | 4977 +++++++++++++++++
include/dt-bindings/clock/st,stm32mp25-rcc.h | 492 ++
include/dt-bindings/reset/st,stm32mp25-rcc.h | 165 +
16 files changed, 6996 insertions(+), 181 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/st,stm32mp25-rcc.yaml
create mode 100644 drivers/clk/stm32/Kconfig
rename drivers/clk/{ => stm32}/clk-stm32mp1.c (95%)
create mode 100644 drivers/clk/stm32/clk-stm32mp25.c
create mode 100644 drivers/clk/stm32/stm32mp25_rcc.h
create mode 100644 include/dt-bindings/clock/st,stm32mp25-rcc.h
create mode 100644 include/dt-bindings/reset/st,stm32mp25-rcc.h
--
2.25.1
Powered by blists - more mailing lists