devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH v2 0/3] Add support for Nuvoton ma35d1 rtc controller
@ 2023-08-09  1:15 Jacky Huang
  2023-08-09  1:15 ` [RESEND PATCH v2 1/3] dt-bindings: rtc: Add Nuvoton ma35d1 rtc Jacky Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Jacky Huang @ 2023-08-09  1:15 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-rtc, devicetree, linux-kernel, linux-arm-kernel, soc,
	mjchen, schung, Jacky Huang

From: Jacky Huang <ychuang3@nuvoton.com>

This patch series adds the rtc driver for the nuvoton ma35d1 ARMv8 SoC.
It includes DT binding documentation, the ma35d1 rtc driver, and device
tree updates.

The ma35d1 rtc controller provides real-time and calendar messaging
capabilities. It supports programmable time tick and alarm match
interrupts. The time and calendar messages are expressed in BCD format.

This rtc driver has been tested on the ma35d1 som board with Linux 6.5-rc2.

v2:
  - Updated nuvoton,ma35d1-rtc.yaml
    - Modified patch title and fixed typo
    - Added reference to rtc.yaml
    - Used unevaluatedProperties instead of additionalProperties
  - Modified rtc driver
    - Used dev_err_probe()
    - Removed ma35d1_rtc_remove()
    - Made other minor fixes

Jacky Huang (3):
  dt-bindings: rtc: Add Nuvoton ma35d1 rtc
  arm64: dts: nuvoton: Add rtc for ma35d1
  rtc: Add driver for Nuvoton ma35d1 rtc controller

 .../bindings/rtc/nuvoton,ma35d1-rtc.yaml      |  48 +++
 .../boot/dts/nuvoton/ma35d1-iot-512m.dts      |   4 +
 .../boot/dts/nuvoton/ma35d1-som-256m.dts      |   4 +
 arch/arm64/boot/dts/nuvoton/ma35d1.dtsi       |   8 +
 drivers/rtc/Kconfig                           |  11 +
 drivers/rtc/Makefile                          |   1 +
 drivers/rtc/rtc-ma35d1.c                      | 355 ++++++++++++++++++
 7 files changed, 431 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml
 create mode 100644 drivers/rtc/rtc-ma35d1.c

-- 
2.34.1


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

end of thread, other threads:[~2023-08-13  0:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09  1:15 [RESEND PATCH v2 0/3] Add support for Nuvoton ma35d1 rtc controller Jacky Huang
2023-08-09  1:15 ` [RESEND PATCH v2 1/3] dt-bindings: rtc: Add Nuvoton ma35d1 rtc Jacky Huang
2023-08-09  1:15 ` [RESEND PATCH v2 2/3] arm64: dts: nuvoton: Add rtc for ma35d1 Jacky Huang
2023-08-09  1:15 ` [RESEND PATCH v2 3/3] rtc: Add driver for Nuvoton ma35d1 rtc controller Jacky Huang
2023-08-09  2:10   ` Alexandre Belloni
2023-08-09  2:12     ` Alexandre Belloni
2023-08-09  8:12     ` Jacky Huang
2023-08-09 22:51       ` Alexandre Belloni
2023-08-10  7:21         ` Jacky Huang
2023-08-10  7:30           ` Alexandre Belloni
2023-08-10  8:26             ` Jacky Huang
2023-08-12  8:53 ` [RESEND PATCH v2 0/3] Add support " Arnd Bergmann
2023-08-13  0:16   ` Jacky Huang

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