Skip to content

Add timers for Mstar SoCs

Romain Perier linux-arm-kernel linux-devicetree lkml 3 versions – Applied

Status from this message: The following commit has been merged into the timers/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 0 repliesApplied
  2. v26 patches 4 repliesSuperseded
  3. v15 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Reworded commit 2/6
- Added Rob's 'Reviewed-by:' tag

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6clocksource: Add MStar MSC313e timer supportMAINTAINERS drivers/clocksource/Kconfig drivers/clocksource/Makefile +1 more+255 -00 replies
2/6clocksource: msc313e: Add support for ssd20xd-based platformsdrivers/clocksource/timer-msc313e.c+9 -00 replies
3/6ARM: mstar: Select MSC313E_TIMERarch/arm/mach-mstar/Kconfig+1 -00 replies
4/6dt-bindings: timer: Add Mstar MSC313e timer devicetree bindings documentationDocumentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml+46 -00 replies
5/6ARM: dts: mstar: Add timers device nodesarch/arm/boot/dts/mstar-v7.dtsi+20 -00 replies
6/6ARM: dts: mstar: Switch to compatible "sstar,ssd20xd-timer" on infinity2march/arm/boot/dts/mstar-infinity2m.dtsi+18 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/6
2/6
3/6
4/6R-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] Add timers for Mstar SoCs

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 v2:
- Reworded commit 2/6
- Added Rob's 'Reviewed-by:' tag

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
Signature · 1 line
2.34.1