Skip to contentSkip to conversation

Add RTC for MStar SSD20xD SoCs

PATCH Applied Romain Perier 4 participants 17 messages Sep 13, 2023 – Nov 8, 2023

Subsystems (3)
lore
Share & tools
lore

Romain Perier

author maintainer
#0 lore raw

v2 cover Add RTC for MStar SSD20xD SoCs

This patches series adds a new driver for the RTC found in the Mstar SSD202D SoCs. It adds a basic rtc driver, the corresponding devicetree bindings.

The rtctest (from selftests) has been passed on this driver, with the following output:

# rtctest 
TAP version 13
1..8
# Starting 8 tests from 1 test cases.
#  RUN           rtc.date_read ...
# rtctest.c:52:date_read:Current RTC date/time is 17/05/2023 15:58:12.
#            OK  rtc.date_read
ok 1 rtc.date_read
#  RUN           rtc.date_read_loop ...
# rtctest.c:95:date_read_loop:Continuously reading RTC time for 30s (with 11ms breaks after every read).
# rtctest.c:122:date_read_loop:Performed 888 RTC time reads.
#            OK  rtc.date_read_loop
ok 2 rtc.date_read_loop
#  RUN           rtc.uie_read ...
# rtctest.c:137:uie_read:skip update IRQs not supported.
#            OK  rtc.uie_read
ok 3 rtc.uie_read
#  RUN           rtc.uie_select ...
# rtctest.c:166:uie_select:skip update IRQs not supported.
#            OK  rtc.uie_select
ok 4 rtc.uie_select
#  RUN           rtc.alarm_alm_set ...
# rtctest.c:214:alarm_alm_set:skip alarms are not supported.
#            OK  rtc.alarm_alm_set
ok 5 rtc.alarm_alm_set
#  RUN           rtc.alarm_wkalm_set ...
# rtctest.c:274:alarm_wkalm_set:skip alarms are not supported.
#            OK  rtc.alarm_wkalm_set
ok 6 rtc.alarm_wkalm_set
#  RUN           rtc.alarm_alm_set_minute ...
# rtctest.c:324:alarm_alm_set_minute:skip alarms are not supported.
#            OK  rtc.alarm_alm_set_minute
ok 7 rtc.alarm_alm_set_minute
#  RUN           rtc.alarm_wkalm_set_minute ...
# rtctest.c:384:alarm_wkalm_set_minute:skip alarms are not supported.
#            OK  rtc.alarm_wkalm_set_minute
ok 8 rtc.alarm_wkalm_set_minute
# PASSED: 8 / 8 tests passed.
# Totals: pass:8 fail:0 xfail:0 xpass:0 skip:0 error:0

Changes since v1:
- Changed the compatible from mstar,ssd20xd-rtc to mstar,ssd20d-rtc. So the driver, its documentation and the commit messages have been reworked accordingly.
- Re-worked the dt-binding, I have also simplified the commit message
- Re-worked the commit message for the driver
- Remove redundant logging message for the user in the driver, as requested by the subsystem maintainer. As these messages are helpful for debugging purpose, I have switched these to dev_dbg().
- Updated the list of maintainers (sorry for that).

Romain Perier (3):
rtc: Add support for the SSD202D RTC
dt-bindings: rtc: Add Mstar SSD202D RTC
ARM: dts: mstar: Enable rtc for SSD202D

 .../bindings/rtc/mstar,ssd202d-rtc.yaml       |  35 +++
 .../boot/dts/sigmastar/mstar-infinity2m.dtsi  |   5 +
 drivers/rtc/Kconfig                           |  11 +
 drivers/rtc/Makefile                          |   1 +
 drivers/rtc/rtc-ssd202d.c                     | 249 ++++++++++++++++++
 5 files changed, 301 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
 create mode 100644 drivers/rtc/rtc-ssd202d.c
Signature · 1 line
2.39.2
author maintainer
#1 lore raw

PATCH v2 1/3 rtc: Add support for the SSD202D RTC

Newer SigmaStar SSD202D SoCs contain a Real Time Clock, capable of running while the system is sleeping (battery powered), this is not the case with the other RTC on older SoCs. This adds basic support for this RTC block.

---
 drivers/rtc/Kconfig       |  11 ++
 drivers/rtc/Makefile      |   1 +
 drivers/rtc/rtc-ssd202d.c | 249 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 261 insertions(+)
 create mode 100644 drivers/rtc/rtc-ssd202d.c
drivers/rtc/Kconfig +11 -0
index d7502433c78a..f6c49348d7aa 100644
@@ -1984,4 +1984,15 @@ config RTC_DRV_POLARFIRE_SOC
 	  This driver can also be built as a module, if so, the module
 	  will be called "rtc-mpfs".
 
+config RTC_DRV_SSD202D
+	tristate "SigmaStar SSD202D RTC"
+	depends on ARCH_MSTARV7 || COMPILE_TEST
+	default ARCH_MSTARV7
+	help
+	  If you say yes here you get support for the SigmaStar SSD202D On-Chip
+	  Real Time Clock.
+
+	  This driver can also be built as a module, if so, the module
+	  will be called "rtc-ssd20xd".
+
 endif # RTC_CLASS
drivers/rtc/Makefile +1 -0
index fd209883ee2e..7b03c3abfd78 100644
@@ -103,6 +103,7 @@ obj-$(CONFIG_RTC_DRV_MESON)	+= rtc-meson.o
 obj-$(CONFIG_RTC_DRV_MOXART)	+= rtc-moxart.o
 obj-$(CONFIG_RTC_DRV_MPC5121)	+= rtc-mpc5121.o
 obj-$(CONFIG_RTC_DRV_MSC313)	+= rtc-msc313.o
+obj-$(CONFIG_RTC_DRV_SSD202D)	+= rtc-ssd202d.o
 obj-$(CONFIG_RTC_DRV_MSM6242)	+= rtc-msm6242.o
 obj-$(CONFIG_RTC_DRV_MT2712)	+= rtc-mt2712.o
 obj-$(CONFIG_RTC_DRV_MT6397)	+= rtc-mt6397.o
drivers/rtc/rtc-ssd202d.c new file +249 -0

249 lines not on this page · raw message

Signature · 1 line
2.39.2
#2 lore raw

Re: [PATCH v2 1/3] rtc: Add support for the SSD202D RTC

Hello Romain,

Sorry for the very long delay,

drivers/rtc/rtc-ssd202d.c line 249

Quoted 4 lines · Romain Perier
drivers/rtc/rtc-ssd202d.c new file +4 -0
+MODULE_AUTHOR("Daniel Palmer <[email protected]>");
+MODULE_AUTHOR("Romain Perier <[email protected]>");
+MODULE_DESCRIPTION("MStar SSD202D RTC Driver");
+MODULE_LICENSE("GPL v2");

checkpatch complains rightfully about GPL v2 here. If you agree, I'll change this to simply GPL.

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author maintainer
#3 lore raw

Re: [PATCH v2 1/3] rtc: Add support for the SSD202D RTC

Quoted 4 lines · Alexandre Belloni

Hello Romain,

Sorry for the very long delay,

Hi,

np,

Quoted 9 lines · Romain Perier

drivers/rtc/rtc-ssd202d.c line 249

Quoted 4 lines
drivers/rtc/rtc-ssd202d.c new file +4 -0
+MODULE_AUTHOR("Daniel Palmer <[email protected]>");
+MODULE_AUTHOR("Romain Perier <[email protected]>");
+MODULE_DESCRIPTION("MStar SSD202D RTC Driver");
+MODULE_LICENSE("GPL v2");

checkpatch complains rightfully about GPL v2 here. If you agree, I'll change this to simply GPL.

Aah, good catch , yes I agree, it will be simpler.

Thanks,
Regards,
Romain

author maintainer
#4 lore raw

PATCH v2 2/3 dt-bindings: rtc: Add Mstar SSD202D RTC

In reply to Romain Perier

Add YAML bindings for Mstar SSD202D RTC.

---
 .../bindings/rtc/mstar,ssd202d-rtc.yaml       | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +35 -0
new file mode 100644
index 000000000000..4c1f22ef5a2c
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mstar SSD202D Real Time Clock
+
+maintainers:
+  - Daniel Palmer <[email protected]>
+  - Romain Perier <[email protected]>
+
+allOf:
+  - $ref: rtc.yaml#
+
+properties:
+  compatible:
+    enum:
+      - mstar,ssd202d-rtc
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    rtc@6800 {
+        compatible = "mstar,ssd202d-rtc";
+        reg = <0x6800 0x200>;
+    };
+...
Signature · 1 line
2.39.2
#5 lore raw

Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC

Quoted 29 lines · Romain Perier

Add YAML bindings for Mstar SSD202D RTC.

---
 .../bindings/rtc/mstar,ssd202d-rtc.yaml       | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +15 -0
new file mode 100644
index 000000000000..4c1f22ef5a2c
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mstar SSD202D Real Time Clock
+
+maintainers:
+  - Daniel Palmer <[email protected]>
+  - Romain Perier <[email protected]>
+
+allOf:
+  - $ref: rtc.yaml#
+

Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml line 25

Quoted 10 lines
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +10 -0
+properties:
+  compatible:
+    enum:
+      - mstar,ssd202d-rtc
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg

So, this seems fine to me in isolation, but isn't this now the sort of thing that can be documented in trivial-rtc.yaml?
Its only got compatible & reg, which seems to fit the bill for that.

Apologies if I am missing something,
Conor.

Quoted 13 lines
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +10 -0
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    rtc@6800 {
+        compatible = "mstar,ssd202d-rtc";
+        reg = <0x6800 0x200>;
+    };
+...
Signature · 1 line
2.39.2
author maintainer
#6 lore raw

Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC

Quoted 33 lines · Conor Dooley
Quoted 31 lines · Romain Perier

Add YAML bindings for Mstar SSD202D RTC.

---
 .../bindings/rtc/mstar,ssd202d-rtc.yaml       | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +17 -0
new file mode 100644
index 000000000000..4c1f22ef5a2c
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mstar SSD202D Real Time Clock
+
+maintainers:
+  - Daniel Palmer <[email protected]>
+  - Romain Perier <[email protected]>
+
+allOf:
+  - $ref: rtc.yaml#
+
+properties:
+  compatible:
Quoted 9 lines

Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml line 25

Quoted 8 lines
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +8 -0
+    enum:
+      - mstar,ssd202d-rtc
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg

Hi,

Quoted 4 lines

So, this seems fine to me in isolation, but isn't this now the sort of thing that can be documented in trivial-rtc.yaml?
Its only got compatible & reg, which seems to fit the bill for that.

With the current state, it might make sense. However, currently, the RTC hw block is mostly
reverse-engineered, the driver is not complete yet, things like external irq or wakeup irq might arrive later (once we know how it is wired up and used).
So the content of the dt-bindings might change and differ from a simple "compatible & reg" requirement.

What do you think ?

Quoted 1 line

Apologies if I am missing something,

No problem, I am open to suggestions :)

Thanks,
Regards,
Romain

Quoted 15 lines

Conor.

Quoted 13 lines
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +10 -1
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    rtc@6800 {
+        compatible = "mstar,ssd202d-rtc";
+        reg = <0x6800 0x200>;
+    };
+...
--

2.39.2

#7 lore raw

Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC

Quoted 51 lines · Romain Perier
Quoted 33 lines · Conor Dooley
Quoted 31 lines · Romain Perier

Add YAML bindings for Mstar SSD202D RTC.

---
 .../bindings/rtc/mstar,ssd202d-rtc.yaml       | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +17 -0
new file mode 100644
index 000000000000..4c1f22ef5a2c
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mstar SSD202D Real Time Clock
+
+maintainers:
+  - Daniel Palmer <[email protected]>
+  - Romain Perier <[email protected]>
+
+allOf:
+  - $ref: rtc.yaml#
+
+properties:
+  compatible:
Quoted 9 lines

Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml line 25

Quoted 8 lines
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +8 -0
+    enum:
+      - mstar,ssd202d-rtc
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg

Hi,

Quoted 4 lines

So, this seems fine to me in isolation, but isn't this now the sort of thing that can be documented in trivial-rtc.yaml?
Its only got compatible & reg, which seems to fit the bill for that.

Quoted 7 lines

With the current state, it might make sense. However, currently, the RTC hw block is mostly
reverse-engineered, the driver is not complete yet, things like external irq or wakeup irq might arrive later (once we know how it is wired up and used).
So the content of the dt-bindings might change and differ from a simple "compatible & reg" requirement.

It's always possible to move from that to a fully fledged binding at a later date. re: interrupts, trivial-rtc permits a single interrupt, so it'd still be suitable if the device only has one.

Thanks,
Conor.

author maintainer
#8 lore raw

Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC

Quoted 61 lines · Conor Dooley
Quoted 51 lines · Romain Perier
Quoted 33 lines · Conor Dooley
Quoted 31 lines · Romain Perier

Add YAML bindings for Mstar SSD202D RTC.

---
 .../bindings/rtc/mstar,ssd202d-rtc.yaml       | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +17 -0
new file mode 100644
index 000000000000..4c1f22ef5a2c
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mstar SSD202D Real Time Clock
+
+maintainers:
+  - Daniel Palmer <[email protected]>
+  - Romain Perier <[email protected]>
+
+allOf:
+  - $ref: rtc.yaml#
+
+properties:
+  compatible:
Quoted 9 lines

Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml line 25

Quoted 8 lines
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +8 -0
+    enum:
+      - mstar,ssd202d-rtc
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg

Hi,

Quoted 4 lines

So, this seems fine to me in isolation, but isn't this now the sort of thing that can be documented in trivial-rtc.yaml?
Its only got compatible & reg, which seems to fit the bill for that.

Quoted 7 lines

With the current state, it might make sense. However, currently, the RTC hw block is mostly
reverse-engineered, the driver is not complete yet, things like external irq or wakeup irq might arrive later (once we know how it is wired up and used).
So the content of the dt-bindings might change and differ from a simple "compatible & reg" requirement.

Quoted 3 lines

It's always possible to move from that to a fully fledged binding at a later date. re: interrupts, trivial-rtc permits a single interrupt, so it'd still be suitable if the device only has one.

I agree, good point. Yes, we can make the change later, sure. I will fix it in the next patch series.

Thanks,
Romain

author maintainer
#9 lore raw

Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC

In reply to Conor Dooley

Hi,

Alexandre seems to be okay with the current (merged) dt-binding, what do I do ? I can send a v3 for trivial-rtc.yaml that's not a problem for me but both of you seem to
be disagree :)

Regards,
Romain

Quoted 67 lines · Conor Dooley
Quoted 51 lines · Romain Perier
Quoted 33 lines · Conor Dooley
Quoted 31 lines · Romain Perier

Add YAML bindings for Mstar SSD202D RTC.

---
 .../bindings/rtc/mstar,ssd202d-rtc.yaml       | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +17 -0
new file mode 100644
index 000000000000..4c1f22ef5a2c
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mstar SSD202D Real Time Clock
+
+maintainers:
+  - Daniel Palmer <[email protected]>
+  - Romain Perier <[email protected]>
+
+allOf:
+  - $ref: rtc.yaml#
+
+properties:
+  compatible:
Quoted 9 lines

Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml line 25

Quoted 8 lines
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file +8 -0
+    enum:
+      - mstar,ssd202d-rtc
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg

Hi,

Quoted 4 lines

So, this seems fine to me in isolation, but isn't this now the sort of thing that can be documented in trivial-rtc.yaml?
Its only got compatible & reg, which seems to fit the bill for that.

Quoted 7 lines

With the current state, it might make sense. However, currently, the RTC hw block is mostly
reverse-engineered, the driver is not complete yet, things like external irq or wakeup irq might arrive later (once we know how it is wired up and used).
So the content of the dt-bindings might change and differ from a simple "compatible & reg" requirement.

It's always possible to move from that to a fully fledged binding at a later date. re: interrupts, trivial-rtc permits a single interrupt, so it'd still be suitable if the device only has one.

Thanks,
Conor.

#10 lore raw

Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC

Quoted 5 lines · Romain Perier

Hi,

Alexandre seems to be okay with the current (merged) dt-binding, what do I do ? I can send a v3 for trivial-rtc.yaml that's not a problem for me but both of you seem to disagree :)

Meh, I wouldn't waste your time moving it.

author maintainer
#11 lore raw

Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC

Quoted 9 lines · Conor Dooley
Quoted 5 lines · Romain Perier

Hi,

Alexandre seems to be okay with the current (merged) dt-binding, what do I do ? I can send a v3 for trivial-rtc.yaml that's not a problem for me but both of you seem to disagree :)

Meh, I wouldn't waste your time moving it.

Ok, so I will just send a v3 with an update of the MAINTAINERS file for the driver (I have completely forgot, my bad)

Regards,
Romain

#12 lore raw

Re: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC

Quoted 5 lines · Romain Perier
Quoted 4 lines · Conor Dooley
Quoted 2 lines · Romain Perier

Hi,

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

Alexandre seems to be okay with the current (merged) dt-binding, what do I do ? I can send a v3 for trivial-rtc.yaml that's not a problem for me but both of you seem to disagree :)

Meh, I wouldn't waste your time moving it.

Ok, so I will just send a v3 with an update of the MAINTAINERS file for the driver (I have completely forgot, my bad)

v2 is already upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/rtc/rtc-ssd202d.c?id=ebf6255868e6141c737cacb8d62b0b347f344877

Quoted 2 lines

Regards,
Romain

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author maintainer
#13 lore raw

PATCH v2 3/3 ARM: dts: mstar: Enable rtc for SSD202D

In reply to Romain Perier

This adds the definition of the rtc device node. It enables RTC block for SSD202D SoCs and newer.

---
 arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi +5 -0
index 1b485efd7156..b4ac535a73c8 100644
@@ -32,6 +32,11 @@ cpu1: cpu@1 {
 };
 
 &riu {
+	rtc@6800 {
+		compatible = "mstar,ssd202d-rtc";
+		reg = <0x6800 0x200>;
+	};
+
 	smpctrl: smpctrl@204000 {
 		reg = <0x204000 0x200>;
 		status = "disabled";
Signature · 1 line
2.39.2
maintainer Applied
#14 lore raw
In reply to Romain Perier
Quoted 8 lines · Romain Perier

This patches series adds a new driver for the RTC found in the Mstar SSD202D SoCs. It adds a basic rtc driver, the corresponding devicetree bindings.

The rtctest (from selftests) has been passed on this driver, with the following output:

[...]

Applied, thanks!

[1/3] rtc: Add support for the SSD202D RTC

      commit: ebf6255868e6141c737cacb8d62b0b347f344877
[2/3] dt-bindings: rtc: Add Mstar SSD202D RTC
      commit: cfb67623ce281e045ec11e3eddb1b68b879b53a1

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author maintainer
#15 lore raw
Quoted 7 lines · Alexandre Belloni
Quoted 4 lines · Romain Perier

This patches series adds a new driver for the RTC found in the Mstar SSD202D SoCs. It adds a basic rtc driver, the corresponding devicetree bindings.

Quoted 6 lines
Quoted 4 lines

The rtctest (from selftests) has been passed on this driver, with the following output:

[...]

Applied, thanks!

Hi,

Thanks!

Quoted 7 lines

[1/3] rtc: Add support for the SSD202D RTC

      commit: ebf6255868e6141c737cacb8d62b0b347f344877
[2/3] dt-bindings: rtc: Add Mstar SSD202D RTC
      commit: cfb67623ce281e045ec11e3eddb1b68b879b53a1

Best regards,

Ah , you also merged dt-bindings, Conor (from dt maintainers) prefers trivial-rtc.yaml, it makes sense with the current driver.
I planned to make the change for trivial-rtc in v3, so I can adapt the commit and rename mstar,ssd202d-rtc.yaml to trivial-rtc.yaml, what do you think ?

Regards,
Romain

Quoted 5 lines

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#16 lore raw
Quoted 26 lines · Romain Perier
Quoted 7 lines · Alexandre Belloni
Quoted 4 lines · Romain Perier

This patches series adds a new driver for the RTC found in the Mstar SSD202D SoCs. It adds a basic rtc driver, the corresponding devicetree bindings.

Quoted 6 lines
Quoted 4 lines

The rtctest (from selftests) has been passed on this driver, with the following output:

[...]

Applied, thanks!

Hi,

Thanks!

Quoted 6 lines

[1/3] rtc: Add support for the SSD202D RTC

      commit: ebf6255868e6141c737cacb8d62b0b347f344877
[2/3] dt-bindings: rtc: Add Mstar SSD202D RTC
      commit: cfb67623ce281e045ec11e3eddb1b68b879b53a1
Quoted 8 lines
Quoted 1 line

Best regards,

Ah , you also merged dt-bindings, Conor (from dt maintainers) prefers trivial-rtc.yaml, it makes sense with the current driver.
I planned to make the change for trivial-rtc in v3, so I can adapt the commit and rename mstar,ssd202d-rtc.yaml to trivial-rtc.yaml, what do you think ?

This is fine as-is.

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com