[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241218090153.742869-1-fabrice.gasnier@foss.st.com>
Date: Wed, 18 Dec 2024 10:01:44 +0100
From: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
To: <lee@...nel.org>, <robh@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>, <alexandre.torgue@...s.st.com>,
<wbg@...nel.org>, <jic23@...nel.org>, <ukleinek@...nel.org>
CC: <catalin.marinas@....com>, <will@...nel.org>, <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-iio@...r.kernel.org>, <linux-pwm@...r.kernel.org>,
<olivier.moysan@...s.st.com>
Subject: [PATCH 0/9] Add STM32MP25 timers support: MFD, PWM, IIO and counter drivers
This series adds STM32MP25 support on MFD PWM, IIO, counter timer drivers.
This new timer variant is managed by using a new DT compatible string.
It comes with a slightly updated register set, some new features and new
interconnect signals inside the SoC. There is also a new instance (TIM20).
Same feature list as on STM32MP1x is supported currently, except for PWM
capture (not enabled, by DT).
The device tree files add all instances in stm32mp251 dtsi. PWM, counter
and trigger examples are provided for stm32mp257f-ev1 board.
Fabrice Gasnier (9):
dt-bindings: mfd: stm32-timers: add support for stm32mp25
mfd: stm32-timers: add support for stm32mp25
iio: trigger: stm32-timer: add support for stm32mp25
counter: stm32-timer-cnt: add support for stm32mp25
pwm: stm32: add support for stm32mp25
arm64: defconfig: enable STM32 timers drivers
arm64: dts: st: add timer nodes on stm32mp251
arm64: dts: st: add timer pins for stm32mp257f-ev1
arm64: dts: st: add timer nodes on stm32mp257f-ev1
.../bindings/mfd/st,stm32-timers.yaml | 18 +-
arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi | 61 ++
arch/arm64/boot/dts/st/stm32mp251.dtsi | 524 ++++++++++++++++++
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 58 ++
arch/arm64/configs/defconfig | 4 +
drivers/counter/stm32-timer-cnt.c | 7 +-
drivers/iio/trigger/stm32-timer-trigger.c | 21 +-
drivers/mfd/stm32-timers.c | 32 +-
drivers/pwm/pwm-stm32.c | 39 +-
include/linux/iio/timer/stm32-timer-trigger.h | 6 +
include/linux/mfd/stm32-timers.h | 9 +
11 files changed, 766 insertions(+), 13 deletions(-)
--
2.25.1
Powered by blists - more mailing lists