devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Add timers for Mstar SoCs
@ 2021-12-12 18:19 Romain Perier
  2021-12-12 18:19 ` [PATCH v2 1/6] clocksource: Add MStar MSC313e timer support Romain Perier
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Romain Perier @ 2021-12-12 18:19 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Daniel Palmer, Romain Perier,
	Rob Herring, Russell King
  Cc: devicetree, linux-arm-kernel, linux-kernel

This patches series adds a new driver for the timers found in the Mstar
MSC313e SoCs and newer. It adds a basic clocksource driver, the
corresponding devicetree bindings and its documentation.

Changes since v1:
- Make delay conditionnal for ARM, so it builds on all platforms
- Improved commit message for the timer driver
- MSC313E_TIMER is now silent and enabled by platform
- Updated msc313e_timer_setup() to make it safe
- Updated msc313e_timer_current_value() to make it safe
- Renamed the driver variant for ssd20xd to "sstar,ssd20xd-timer"
- Moved timer settings for the ssd202d from
  mstar-infinity2m-ssd20xd.dtsi to mstar-infinity2m.dtsi.
- Select MSC313E_TIMER on mstar platforms
- Fixed wrong dt-bindings doc that included an rtc property (whoops!)

Romain Perier (6):
  clocksource: Add MStar MSC313e timer support
  clocksource: msc313e: Add support for ssd20xd-based platforms
  ARM: mstar: Select MSC313E_TIMER
  dt-bindings: timer: Add Mstar MSC313e timer devicetree bindings
    documentation
  ARM: dts: mstar: Add timers device nodes
  ARM: dts: mstar: Switch to compatible "sstar,ssd20xd-timer" on
    infinity2m

 .../bindings/timer/mstar,msc313e-timer.yaml   |  46 ++++
 MAINTAINERS                                   |   1 +
 arch/arm/boot/dts/mstar-infinity2m.dtsi       |  18 ++
 arch/arm/boot/dts/mstar-v7.dtsi               |  20 ++
 arch/arm/mach-mstar/Kconfig                   |   1 +
 drivers/clocksource/Kconfig                   |   9 +
 drivers/clocksource/Makefile                  |   1 +
 drivers/clocksource/timer-msc313e.c           | 253 ++++++++++++++++++
 8 files changed, 349 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml
 create mode 100644 drivers/clocksource/timer-msc313e.c

-- 
2.33.0


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

end of thread, other threads:[~2021-12-17  9:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-12 18:19 [PATCH v2 0/6] Add timers for Mstar SoCs Romain Perier
2021-12-12 18:19 ` [PATCH v2 1/6] clocksource: Add MStar MSC313e timer support Romain Perier
2021-12-12 18:19 ` [PATCH v2 2/6] clocksource: msc313e: Add support for ssd20xd-based platforms Romain Perier
2021-12-15 12:00   ` Daniel Palmer
2021-12-16 18:18     ` Romain Perier
2021-12-17  9:00       ` Daniel Palmer
2021-12-12 18:19 ` [PATCH v2 3/6] ARM: mstar: Select MSC313E_TIMER Romain Perier
2021-12-12 18:19 ` [PATCH v2 4/6] dt-bindings: timer: Add Mstar MSC313e timer devicetree bindings documentation Romain Perier
2021-12-15 20:08   ` Rob Herring
2021-12-12 18:19 ` [PATCH v2 5/6] ARM: dts: mstar: Add timers device nodes Romain Perier
2021-12-12 18:19 ` [PATCH v2 6/6] ARM: dts: mstar: Switch to compatible "sstar,ssd20xd-timer" on infinity2m Romain Perier

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).