Skip to contentSkip to conversation

On-chip RTC support for ExynosAutov9

PATCH Superseded Devang Tailor 5 participants 15 messages Jul 11, 2025 – Sep 4, 2025 1 message not in the archive

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20250710082533epcas5p111be26bea2ccc08718eebcb12929bbbf@epcas5p1.samsung.com

#1 lore raw

v2 cover On-chip RTC support for ExynosAutov9

Enable on-chip RTC support. The on-chip RTC of this SoC is similar to the previous versions of Samsung SoC. So re-use the existing RTC driver with applicable call-backs for initialization and IRQ handling. Add a separate call-back for disabling RTC since existing '.disable' call-backs updates additional bit not valid for RTC of ExynosAutov9.

Setting and getting hardware clock has been tested using 'hwclock' and 'date' utilities.

Alarm interrupt has been checked with incrementing interrupt count via "cat /proc/interrupts | grep rtc" for 10sec wakeup time via "echo +10 > /sys/class/rtc/rtc0/wakealarm"

changelog
---
Changes in v2:
- Fixed the review comment of v1 for mis-aligmnent & asymmetry bit logic.
- link for v1 : https://lore.kernel.org/linux-rtc/[email protected]/

Devang Tailor (3):
dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9
rtc: s3c: support for exynosautov9 on-chip RTC
arm64: dts: exynosautov9: add RTC DT node

 .../devicetree/bindings/rtc/s3c-rtc.yaml       |  1 +
 .../boot/dts/exynos/exynosautov9-sadk.dts      |  4 ++++
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi   | 10 ++++++++++
 drivers/rtc/rtc-s3c.c                          | 18 ++++++++++++++++++
 4 files changed, 33 insertions(+)

base-commit: 58ba80c4740212c29a1cf9b48f588e60a7612209

Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 1/3 dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9

Add "samsung,exynosautov9-rtc" dedicated compatible for on-chip RTC found in ExynosAutov9 SoC.

---
 Documentation/devicetree/bindings/rtc/s3c-rtc.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/rtc/s3c-rtc.yaml +1 -0
index bf4e11d6dffb..5daee2a5f866 100644
@@ -13,6 +13,7 @@ properties:
   compatible:
     oneOf:
       - enum:
+          - samsung,exynosautov9-rtc
           - samsung,s3c2410-rtc
           - samsung,s3c2416-rtc
           - samsung,s3c2443-rtc
Signature · 1 line
2.34.1
#3 lore raw

Re: [PATCH v2 1/3] dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9

Quoted 8 lines · Devang Tailor

Add "samsung,exynosautov9-rtc" dedicated compatible for on-chip RTC found in ExynosAutov9 SoC.

---
 Documentation/devicetree/bindings/rtc/s3c-rtc.yaml | 1 +
 1 file changed, 1 insertion(+)

<form letter>
This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.

Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577

If a tag was not added on purpose, please state why and what changed. </form letter>

Best regards,
Krzysztof

reviewer Reviewed-by on v2 1/3
#4 lore raw

RE: [PATCH v2 1/3] dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9

In reply to Devang Tailor
Quoted 14 lines

-----Original Message-----
From: Devang Tailor <[email protected]>
Sent: Thursday, July 10, 2025 2:05 PM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]
Cc: Devang Tailor <[email protected]>
Subject: [PATCH v2 1/3] dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9

Quoted 5 lines

Add "samsung,exynosautov9-rtc" dedicated compatible for on-chip RTC found in ExynosAutov9 SoC.

---

#5 lore raw

PATCH v2 2/3 rtc: s3c: support for exynosautov9 on-chip RTC

In reply to Devang Tailor

The on-chip RTC of this SoC is almost similar to the previous versions of SoC. Hence re-use the existing driver with platform specific change to enable RTC.

This has been tested with 'hwclock' & 'date' utilities

---
 drivers/rtc/rtc-s3c.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/rtc/rtc-s3c.c +18 -0
index 5dd575865adf..8db24b6360b8 100644
@@ -384,6 +384,15 @@ static void s3c6410_rtc_disable(struct s3c_rtc *info)
 	writew(con, info->base + S3C2410_RTCCON);
 }
 
+static void exynosautov9_rtc_disable(struct s3c_rtc *info)
+{
+	unsigned int con;
+
+	con = readb(info->base + S3C2410_RTCCON);
+	con &= ~S3C2410_RTCCON_RTCEN;
+	writeb(con, info->base + S3C2410_RTCCON);
+}
+
 static void s3c_rtc_remove(struct platform_device *pdev)
 {
 	struct s3c_rtc *info = platform_get_drvdata(pdev);
@@ -574,6 +583,12 @@ static struct s3c_rtc_data const s3c6410_rtc_data = {
 	.disable		= s3c6410_rtc_disable,
 };
 
+static const struct s3c_rtc_data exynosautov9_rtc_data = {
+	.irq_handler		= s3c6410_rtc_irq,
+	.enable			= s3c24xx_rtc_enable,
+	.disable		= exynosautov9_rtc_disable,
+};
+
 static const __maybe_unused struct of_device_id s3c_rtc_dt_match[] = {
 	{
 		.compatible = "samsung,s3c2410-rtc",
@@ -590,6 +605,9 @@ static const __maybe_unused struct of_device_id s3c_rtc_dt_match[] = {
 	}, {
 		.compatible = "samsung,exynos3250-rtc",
 		.data = &s3c6410_rtc_data,
+	}, {
+		.compatible = "samsung,exynosautov9-rtc",
+		.data = &exynosautov9_rtc_data,
 	},
 	{ /* sentinel */ },
 };
Signature · 1 line
2.34.1
#6 lore raw

Re: [PATCH v2 2/3] rtc: s3c: support for exynosautov9 on-chip RTC

Quoted 17 lines · Devang Tailor

The on-chip RTC of this SoC is almost similar to the previous versions of SoC. Hence re-use the existing driver with platform specific change to enable RTC.

This has been tested with 'hwclock' & 'date' utilities

---
 drivers/rtc/rtc-s3c.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/rtc/rtc-s3c.c +0 -0
index 5dd575865adf..8db24b6360b8 100644
@@ -384,6 +384,15 @@ static void s3c6410_rtc_disable(struct s3c_rtc *info)
 	writew(con, info->base + S3C2410_RTCCON);

drivers/rtc/rtc-s3c.c static void s3c6410_rtc_disable(struct s3c_rtc *info) · line 394

Quoted 10 lines
drivers/rtc/rtc-s3c.c +8 -0
 }
 
+static void exynosautov9_rtc_disable(struct s3c_rtc *info)
+{
+	unsigned int con;
+
+	con = readb(info->base + S3C2410_RTCCON);
+	con &= ~S3C2410_RTCCON_RTCEN;
+	writeb(con, info->base + S3C2410_RTCCON);
+}

Looks a lot like s3c24xx_rtc_disable()...

Anyway, if you keep ignoring the review, no point to provide reviews here.

Best regards,
Krzysztof

#7 lore raw

RE: [PATCH v2 2/3] rtc: s3c: support for exynosautov9 on-chip RTC

Hi Krzysztof,

Quoted 40 lines

-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: 11 July 2025 12:51
To: Devang Tailor <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]
Subject: Re: [PATCH v2 2/3] rtc: s3c: support for exynosautov9 on-chip RTC

drivers/rtc/rtc-s3c.c static void s3c6410_rtc_disable(struct s3c_rtc

Quoted 16 lines · Devang Tailor

The on-chip RTC of this SoC is almost similar to the previous versions of SoC. Hence re-use the existing driver with platform specific change to enable RTC.

This has been tested with 'hwclock' & 'date' utilities

---
 drivers/rtc/rtc-s3c.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/rtc/rtc-s3c.c index renamed from drivers/rtc/rtc-s3c.c +0 -0

5dd575865adf..8db24b6360b8 100644

drivers/rtc/rtc-s3c.c +0 -0
@@ -384,6 +384,15 @@ static void s3c6410_rtc_disable(struct s3c_rtc

*info)

drivers/rtc/rtc-s3c.c static void s3c6410_rtc_disable(struct s3c_rtc *info)

Quoted 8 lines
drivers/rtc/rtc-s3c.c +6 -0
 	writew(con, info->base + S3C2410_RTCCON);  }
 
+static void exynosautov9_rtc_disable(struct s3c_rtc *info) {
+	unsigned int con;
+
+	con = readb(info->base + S3C2410_RTCCON);
+	con &= ~S3C2410_RTCCON_RTCEN;
+	writeb(con, info->base + S3C2410_RTCCON); }

Looks a lot like s3c24xx_rtc_disable()...

Quoted 2 lines

Anyway, if you keep ignoring the review, no point to provide reviews here.

I have removed the redundant code I had added in V1 considering your review comment for asymmetry code.
s3c24xx_rtc_disable() & s3c6410_rtc_disable() updates additional bit, which is not valid for ExynosAutov9 (only RTCCON[4:0] are valid), hence I added this and mentioned in V2 cover letter as well. Please let me know if I am missing anything.

Quoted 2 lines

Best regards,
Krzysztof

reviewer Reviewed-by on v2 2/3
#8 lore raw

RE: [PATCH v2 2/3] rtc: s3c: support for exynosautov9 on-chip RTC

In reply to Devang Tailor
Quoted 13 lines

-----Original Message-----
From: Devang Tailor <[email protected]>
Sent: Thursday, July 10, 2025 2:05 PM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]
Cc: Devang Tailor <[email protected]>
Subject: [PATCH v2 2/3] rtc: s3c: support for exynosautov9 on-chip RTC

Quoted 7 lines

The on-chip RTC of this SoC is almost similar to the previous versions of SoC. Hence re-use the existing driver with platform specific change to enable RTC.

This has been tested with 'hwclock' & 'date' utilities

---

#9 lore raw

Re: [PATCH v2 2/3] rtc: s3c: support for exynosautov9 on-chip RTC

In reply to Devang Tailor

Hi Devang,

Quoted 3 lines · Devang Tailor

The on-chip RTC of this SoC is almost similar to the previous versions of SoC. Hence re-use the existing driver with platform specific change to enable RTC.

Could you please describe what the differences are to previous SoCs? You write almost similar, please elaborate in what way in commit message.

Quoted 14 lines

This has been tested with 'hwclock' & 'date' utilities

---

 drivers/rtc/rtc-s3c.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/rtc/rtc-s3c.c +0 -0
index 5dd575865adf..8db24b6360b8 100644
@@ -384,6 +384,15 @@ static void s3c6410_rtc_disable(struct s3c_rtc *info)
 	writew(con, info->base + S3C2410_RTCCON);

drivers/rtc/rtc-s3c.c static void s3c6410_rtc_disable(struct s3c_rtc *info) · line 394

Quoted 10 lines
drivers/rtc/rtc-s3c.c +8 -0
 }
 
+static void exynosautov9_rtc_disable(struct s3c_rtc *info)
+{
+	unsigned int con;
+
+	con = readb(info->base + S3C2410_RTCCON);
+	con &= ~S3C2410_RTCCON_RTCEN;
+	writeb(con, info->base + S3C2410_RTCCON);
+}

Rather than adding a new rtc_disable variant I think this could be handled in existing s3c24xx_rtc_disable (and I think that is what Krzysztof meant). How about adding a new bool to rtc_data that describes if S3C2410_TICNT reg is supported or not, and checking it in s3c24xx_rtc_disable?

Best regards,
Henrik Grimler

Quoted 30 lines
drivers/rtc/rtc-s3c.c +9 -0
 static void s3c_rtc_remove(struct platform_device *pdev)
 {
 	struct s3c_rtc *info = platform_get_drvdata(pdev);
@@ -574,6 +583,12 @@ static struct s3c_rtc_data const s3c6410_rtc_data = {
 	.disable		= s3c6410_rtc_disable,
 };
 
+static const struct s3c_rtc_data exynosautov9_rtc_data = {
+	.irq_handler		= s3c6410_rtc_irq,
+	.enable			= s3c24xx_rtc_enable,
+	.disable		= exynosautov9_rtc_disable,
+};
+
 static const __maybe_unused struct of_device_id s3c_rtc_dt_match[] = {
 	{
 		.compatible = "samsung,s3c2410-rtc",
@@ -590,6 +605,9 @@ static const __maybe_unused struct of_device_id s3c_rtc_dt_match[] = {
 	}, {
 		.compatible = "samsung,exynos3250-rtc",
 		.data = &s3c6410_rtc_data,
+	}, {
+		.compatible = "samsung,exynosautov9-rtc",
+		.data = &exynosautov9_rtc_data,
 	},
 	{ /* sentinel */ },
 };
Signature · 1 line
2.34.1
#10 lore raw

RE: [PATCH v2 2/3] rtc: s3c: support for exynosautov9 on-chip RTC

Hi,

Quoted 13 lines

-----Original Message-----
From: Henrik Grimler <[email protected]>
Sent: 04 September 2025 00:51
To: Devang Tailor <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]
Subject: Re: [PATCH v2 2/3] rtc: s3c: support for exynosautov9 on-chip RTC

Hi Devang,

Quoted 7 lines
Quoted 3 lines · Devang Tailor

The on-chip RTC of this SoC is almost similar to the previous versions of SoC. Hence re-use the existing driver with platform specific change to enable RTC.

Could you please describe what the differences are to previous SoCs? You write almost similar, please elaborate in what way in commit message.

Ok. I will add in V3.

Quoted 17 lines

drivers/rtc/rtc-s3c.c static void s3c6410_rtc_disable(struct s3c_rtc

Quoted 14 lines

This has been tested with 'hwclock' & 'date' utilities

---

 drivers/rtc/rtc-s3c.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/rtc/rtc-s3c.c index renamed from drivers/rtc/rtc-s3c.c +0 -0

5dd575865adf..8db24b6360b8 100644

drivers/rtc/rtc-s3c.c +0 -0
@@ -384,6 +384,15 @@ static void s3c6410_rtc_disable(struct s3c_rtc

*info)

Quoted 2 lines
drivers/rtc/rtc-s3c.c +0 -0
 	writew(con, info->base + S3C2410_RTCCON);  }
 
Quoted 8 lines

drivers/rtc/rtc-s3c.c static void s3c6410_rtc_disable(struct s3c_rtc *info)

Quoted 6 lines
drivers/rtc/rtc-s3c.c +6 -0
+static void exynosautov9_rtc_disable(struct s3c_rtc *info) {
+	unsigned int con;
+
+	con = readb(info->base + S3C2410_RTCCON);
+	con &= ~S3C2410_RTCCON_RTCEN;
+	writeb(con, info->base + S3C2410_RTCCON); }

Rather than adding a new rtc_disable variant I think this could be handled

in

Quoted 1 line

existing s3c24xx_rtc_disable (and I think that is what Krzysztof meant).

How

Quoted 2 lines

about adding a new bool to rtc_data that describes if S3C2410_TICNT reg is supported or not, and checking it in s3c24xx_rtc_disable?

Ok. I will add bool 'use_s3c2410_ticnt´ to differentiate if any variant uses TICNT or not, making it
'true' for existing RTC variants which are using s3c24xx_rtc_disable().

Quoted 34 lines

Best regards,
Henrik Grimler

Quoted 5 lines
drivers/rtc/rtc-s3c.c +0 -0
 static void s3c_rtc_remove(struct platform_device *pdev)  {
 	struct s3c_rtc *info = platform_get_drvdata(pdev); @@ -574,6 +583,12
 @@ static struct s3c_rtc_data const s3c6410_rtc_data = {
 	.disable		= s3c6410_rtc_disable,
 };

drivers/rtc/rtc-s3c.c static struct s3c_rtc_data const s3c6410_rtc_data = {

Quoted 10 lines
drivers/rtc/rtc-s3c.c +6 -0
 
+static const struct s3c_rtc_data exynosautov9_rtc_data = {
+	.irq_handler		= s3c6410_rtc_irq,
+	.enable			= s3c24xx_rtc_enable,
+	.disable		= exynosautov9_rtc_disable,
+};
+
 static const __maybe_unused struct of_device_id s3c_rtc_dt_match[] = {
 	{
 		.compatible = "samsung,s3c2410-rtc", @@ -590,6 +605,9 @@

static

Quoted 14 lines

const __maybe_unused struct of_device_id s3c_rtc_dt_match[] = {

drivers/rtc/rtc-s3c.c +3 -1
 	}, {
 		.compatible = "samsung,exynos3250-rtc",
 		.data = &s3c6410_rtc_data,
+	}, {
+		.compatible = "samsung,exynosautov9-rtc",
+		.data = &exynosautov9_rtc_data,
 	},
 	{ /* sentinel */ },
 };
--

2.34.1

#11 lore raw

PATCH v2 3/3 arm64: dts: exynosautov9: add RTC DT node

In reply to Devang Tailor

Add DT node for on-chip RTC for ExynosAutov9

---
 arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts |  4 ++++
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi     | 10 ++++++++++
 2 files changed, 14 insertions(+)
arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts +4 -0
index de2c1de51a76..5f5167571f7a 100644
@@ -106,6 +106,10 @@ &pwm {
 	status = "okay";
 };
 
+&rtc {
+	status = "okay";
+};
+
 &serial_0 {
 	pinctrl-0 = <&uart0_bus_dual>;
 	status = "okay";
arch/arm64/boot/dts/exynos/exynosautov9.dtsi +10 -0
index 66628cb32776..afa6b258153c 100644
@@ -1633,6 +1633,16 @@ pwm: pwm@103f0000 {
 			clock-names = "timers";
 			status = "disabled";
 		};
+
+		rtc: rtc@10540000 {
+			compatible = "samsung,exynosautov9-rtc";
+			reg = <0x10540000 0x100>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&xtcxo>;
+			clock-names = "rtc";
+			status = "disabled";
+		};
 	};
 };
 
Signature · 1 line
2.34.1
reviewer Reviewed-by on v2 3/3
#12 lore raw

RE: [PATCH v2 3/3] arm64: dts: exynosautov9: add RTC DT node

Quoted 13 lines

-----Original Message-----
From: Devang Tailor <[email protected]>
Sent: Thursday, July 10, 2025 2:05 PM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]
Cc: Devang Tailor <[email protected]>
Subject: [PATCH v2 3/3] arm64: dts: exynosautov9: add RTC DT node

Quoted 4 lines

Add DT node for on-chip RTC for ExynosAutov9

---

You can also send a top-up patch to correct the ordering of the nodes based on the ascending addresses.

Quoted 44 lines
 arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts |  4 ++++
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi     | 10 ++++++++++
 2 files changed, 14 insertions(+)
arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts +4 -0
index de2c1de51a76..5f5167571f7a 100644
@@ -106,6 +106,10 @@ &pwm {
 	status = "okay";
 };
 
+&rtc {
+	status = "okay";
+};
+
 &serial_0 {
 	pinctrl-0 = <&uart0_bus_dual>;
 	status = "okay";
arch/arm64/boot/dts/exynos/exynosautov9.dtsi +10 -1
index 66628cb32776..afa6b258153c 100644
@@ -1633,6 +1633,16 @@ pwm: pwm@103f0000 {
 			clock-names = "timers";
 			status = "disabled";
 		};
+
+		rtc: rtc@10540000 {
+			compatible = "samsung,exynosautov9-rtc";
+			reg = <0x10540000 0x100>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&xtcxo>;
+			clock-names = "rtc";
+			status = "disabled";
+		};
 	};
 };
 
--

2.34.1

#13 lore raw
In reply to Devang Tailor

Hi,

Quoted 24 lines

-----Original Message-----
From: Devang Tailor <[email protected]>
Sent: 10 July 2025 14:05
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]
Cc: Devang Tailor <[email protected]>
Subject: [PATCH v2 0/3] On-chip RTC support for ExynosAutov9

Enable on-chip RTC support. The on-chip RTC of this SoC is similar to the previous versions of Samsung SoC. So re-use the existing RTC driver with applicable call-backs for initialization and IRQ handling. Add a separate call-back for disabling RTC since existing '.disable' call-backs updates additional bit not valid for RTC of ExynosAutov9.

Setting and getting hardware clock has been tested using 'hwclock' and 'date' utilities.

Alarm interrupt has been checked with incrementing interrupt count via "cat /proc/interrupts | grep rtc" for 10sec wakeup time via "echo +10 > /sys/class/rtc/rtc0/wakealarm"

Quoted 7 lines

changelog
---
Changes in v2:
- Fixed the review comment of v1 for mis-aligmnent & asymmetry bit logic.
- link for v1 : https://lore.kernel.org/linux-rtc/20250702052426.2404256-1-
[email protected]/

Reminder!
Can you please help to identify if anything is pending in this patch series ? I see all three patches are reviewed.

Quoted 16 lines

Devang Tailor (3):
dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9
rtc: s3c: support for exynosautov9 on-chip RTC
arm64: dts: exynosautov9: add RTC DT node

 .../devicetree/bindings/rtc/s3c-rtc.yaml       |  1 +
 .../boot/dts/exynos/exynosautov9-sadk.dts      |  4 ++++
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi   | 10 ++++++++++
 drivers/rtc/rtc-s3c.c                          | 18 ++++++++++++++++++
 4 files changed, 33 insertions(+)

base-commit: 58ba80c4740212c29a1cf9b48f588e60a7612209 --
2.34.1

#14 lore raw
Quoted 36 lines · Devang Tailor

Hi,

Quoted 24 lines

-----Original Message-----
From: Devang Tailor <[email protected]>
Sent: 10 July 2025 14:05
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]
Cc: Devang Tailor <[email protected]>
Subject: [PATCH v2 0/3] On-chip RTC support for ExynosAutov9

Enable on-chip RTC support. The on-chip RTC of this SoC is similar to the previous versions of Samsung SoC. So re-use the existing RTC driver with applicable call-backs for initialization and IRQ handling. Add a separate call-back for disabling RTC since existing '.disable' call-backs updates additional bit not valid for RTC of ExynosAutov9.

Setting and getting hardware clock has been tested using 'hwclock' and 'date' utilities.

Alarm interrupt has been checked with incrementing interrupt count via "cat /proc/interrupts | grep rtc" for 10sec wakeup time via "echo +10 > /sys/class/rtc/rtc0/wakealarm"

Quoted 7 lines

changelog
---
Changes in v2:
- Fixed the review comment of v1 for mis-aligmnent & asymmetry bit logic.
- link for v1 : https://lore.kernel.org/linux-rtc/20250702052426.2404256-1-
[email protected]/

Quoted 3 lines

Reminder!
Can you please help to identify if anything is pending in this patch series ? I see all three patches are reviewed.

You have actions after those reviews:

https://lore.kernel.org/all/20250711-shapeless-adorable-lobster-d2efbf@krzk-bin/

Quoted 18 lines
Quoted 16 lines

Devang Tailor (3):
dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9
rtc: s3c: support for exynosautov9 on-chip RTC
arm64: dts: exynosautov9: add RTC DT node

 .../devicetree/bindings/rtc/s3c-rtc.yaml       |  1 +
 .../boot/dts/exynos/exynosautov9-sadk.dts      |  4 ++++
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi   | 10 ++++++++++
 drivers/rtc/rtc-s3c.c                          | 18 ++++++++++++++++++
 4 files changed, 33 insertions(+)

base-commit: 58ba80c4740212c29a1cf9b48f588e60a7612209 --
2.34.1

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

Hi Alexandre,

Quoted 39 lines

-----Original Message-----
From: Alexandre Belloni <[email protected]>
Sent: 03 September 2025 17:54
To: Devang Tailor <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux-arm- [email protected]; [email protected]; linux- [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v2 0/3] On-chip RTC support for ExynosAutov9

Quoted 28 lines · Devang Tailor

Hi,

Quoted 24 lines

-----Original Message-----
From: Devang Tailor <[email protected]>
Sent: 10 July 2025 14:05
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]
Cc: Devang Tailor <[email protected]>
Subject: [PATCH v2 0/3] On-chip RTC support for ExynosAutov9

Enable on-chip RTC support. The on-chip RTC of this SoC is similar to the previous versions of Samsung SoC. So re-use the existing RTC driver with applicable call-backs for initialization and IRQ handling. Add a separate call-back for disabling RTC since existing '.disable' call-backs updates additional bit not valid for RTC of ExynosAutov9.

Setting and getting hardware clock has been tested using 'hwclock' and 'date' utilities.

Alarm interrupt has been checked with incrementing interrupt count via "cat /proc/interrupts | grep rtc" for 10sec wakeup time via "echo +10 > /sys/class/rtc/rtc0/wakealarm"

Quoted 12 lines
Quoted 4 lines
Quoted 4 lines

changelog
---
Changes in v2:
- Fixed the review comment of v1 for mis-aligmnent & asymmetry bit

logic.

Quoted 7 lines
Quoted 4 lines

- link for v1 :
https://lore.kernel.org/linux-rtc/20250702052426.2404256-1-
[email protected]/

Reminder!
Can you please help to identify if anything is pending in this patch

series ? I

Quoted 6 lines

see all three patches are reviewed.

Quoted 1 line

You have actions after those reviews:

https://lore.kernel.org/all/20250711-shapeless-adorable-lobster-d2efbf@krzk-

Quoted 2 lines

bin/

Thanks for the pointer. I had given the explanation for that,
https://lore.kernel.org/all/[email protected]/
after which I didn't get any feedback.

As per my understanding I have addressed the review comment given in V1 for [PATCH 2/3] (without ignoring any).
So I am not getting what I have missed. Would you help to point out what was left ?

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

Devang Tailor (3):
dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9
rtc: s3c: support for exynosautov9 on-chip RTC
arm64: dts: exynosautov9: add RTC DT node

 .../devicetree/bindings/rtc/s3c-rtc.yaml       |  1 +
 .../boot/dts/exynos/exynosautov9-sadk.dts      |  4 ++++
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi   | 10 ++++++++++
 drivers/rtc/rtc-s3c.c                          | 18

++++++++++++++++++

Quoted 14 lines
Quoted 8 lines
Quoted 6 lines
 4 files changed, 33 insertions(+)

base-commit: 58ba80c4740212c29a1cf9b48f588e60a7612209 --
2.34.1

--
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://protect2.fireeye.com/v1/url?k=62b10b19-03cce365-
62b08056-74fe485cc33c-bc602ba9f8c455fd&q=1&e=14890047-79c7-46fe- 85a0-48fc7c9b3d91&u=https%3A%2F%2Fbootlin.com%2F