linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/7] Add STM32MP25 LPTIM support: MFD, PWM, IIO, counter, clocksource
@ 2025-04-29 12:51 Fabrice Gasnier
  2025-04-29 12:51 ` [PATCH v6 1/7] dt-bindings: mfd: stm32-lptimer: add support for stm32mp25 Fabrice Gasnier
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Fabrice Gasnier @ 2025-04-29 12:51 UTC (permalink / raw)
  To: daniel.lezcano, lee, alexandre.torgue, tglx
  Cc: ukleinek, krzk+dt, conor+dt, jic23, robh, catalin.marinas, will,
	devicetree, wbg, linux-stm32, linux-arm-kernel, linux-kernel,
	linux-iio, linux-pwm, olivier.moysan, fabrice.gasnier

This series adds support for STM32MP25 to MFD PWM, IIO, counter and
clocksource low-power timer (LPTIM) drivers.
This new variant is managed by using a new DT compatible string, hardware
configuration and version registers.
It comes with a slightly updated register set, some new features and new
interconnect signals inside the SoC.
Same feature list as on STM32MP1x is supported currently.
The device tree files add all instances in stm32mp251 dtsi file.

Changes in V6
---
- Fixed kernel test robot warning
  https://lore.kernel.org/oe-kbuild-all/202504261456.aCATBoYN-lkp@intel.com/

Changes in V5
---
- Add a necessary delay in clocksource driver, when enabling the timer.
- Add collected Acks
- Dropped IIO trigger patch as applied by Jonathan [1] (no dependency)
  [1] https://lore.kernel.org/all/20250331110435.26157ebe@jic23-huawei/

Changes in V4
---
- Simplify IIO trigger driver as per Jonathan's comments.
- Rework clocksource driver: encapsulate mp25 changes in separate function
  after Daniel's suggestion.
- Add some definitions to MFD header.

Changes in V3
---
- Yaml indentation issue fixed, reported by Rob's bot

Changes in V2
---
- Review comments from Krzysztof
  - Adopt compatible fallback in dt-bindings and driver
  - drivers: drop "st,stm32mp25-..." compatibles when unused (e.g. no .data)
  - counter driver: no update (patch dropped)
  - defconfig: only enable the necessary config for upstream board
  - add lptimer DT node in stm32mp257f-ev1 board
- Add missing management of IER access for stm32mp25

Fabrice Gasnier (7):
  dt-bindings: mfd: stm32-lptimer: add support for stm32mp25
  mfd: stm32-lptimer: add support for stm32mp25
  clocksource: stm32-lptimer: add support for stm32mp25
  pwm: stm32-lp: add support for stm32mp25
  arm64: defconfig: enable STM32 LP timer clockevent driver
  arm64: dts: st: add low-power timer nodes on stm32mp251
  arm64: dts: st: use lptimer3 as tick broadcast source on
    stm32mp257f-ev1

 .../bindings/mfd/st,stm32-lptimer.yaml        |  40 +++-
 arch/arm64/boot/dts/st/stm32mp251.dtsi        | 177 ++++++++++++++
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts    |   8 +
 arch/arm64/configs/defconfig                  |   2 +
 drivers/clocksource/timer-stm32-lp.c          |  61 ++++-
 drivers/mfd/stm32-lptimer.c                   |  33 ++-
 drivers/pwm/pwm-stm32-lp.c                    | 219 +++++++++++++++---
 include/linux/mfd/stm32-lptimer.h             |  37 ++-
 8 files changed, 537 insertions(+), 40 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-05-19  7:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 12:51 [PATCH v6 0/7] Add STM32MP25 LPTIM support: MFD, PWM, IIO, counter, clocksource Fabrice Gasnier
2025-04-29 12:51 ` [PATCH v6 1/7] dt-bindings: mfd: stm32-lptimer: add support for stm32mp25 Fabrice Gasnier
2025-04-29 12:51 ` [PATCH v6 2/7] " Fabrice Gasnier
2025-04-29 12:51 ` [PATCH v6 3/7] clocksource: " Fabrice Gasnier
2025-05-07  7:55   ` Daniel Lezcano
2025-04-29 12:51 ` [PATCH v6 4/7] pwm: stm32-lp: " Fabrice Gasnier
2025-04-29 12:51 ` [PATCH v6 5/7] arm64: defconfig: enable STM32 LP timer clockevent driver Fabrice Gasnier
2025-04-29 12:51 ` [PATCH v6 6/7] arm64: dts: st: add low-power timer nodes on stm32mp251 Fabrice Gasnier
2025-04-29 12:51 ` [PATCH v6 7/7] arm64: dts: st: use lptimer3 as tick broadcast source on stm32mp257f-ev1 Fabrice Gasnier
2025-05-01 13:14 ` [PATCH v6 0/7] Add STM32MP25 LPTIM support: MFD, PWM, IIO, counter, clocksource Lee Jones
2025-05-05 12:17   ` Fabrice Gasnier
     [not found] ` <174713127684.4157861.15977616973399970511.b4-ty@kernel.org>
2025-05-13 10:17   ` (subset) " Lee Jones
2025-05-14  8:24 ` (subset)[PATCH " Alexandre TORGUE
2025-05-19  7:35 ` [GIT PULL] Immutable branch between MFD, Clocksource and PWM due for the v6.16 merge window Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).