Skip to contentSkip to conversation

arm64: dts: qcom: lemans-evk: Add RTC node for PMM8654AU

PATCH In review Rakesh Kota 2 participants 2 messages Oct 15, 2025 – Oct 27, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: lemans-evk: Add RTC node for PMM8654AU

Add the RTC peripheral node for the PMM8654AU PMIC, which is controlled via the SPMI bus.

---
 arch/arm64/boot/dts/qcom/lemans-pmics.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/qcom/lemans-pmics.dtsi +7 -0
index 1369c3d43f866de9d8cd5cd4985241b99c0a0454..4eda7043b851f363d0bf053587fb1f5edae0c4cd 100644
@@ -142,6 +142,13 @@ pmm8654au_0_gpios: gpio@8800 {
 			#interrupt-cells = <2>;
 		};
 
+		pmm8654au_0_rtc: rtc@6100 {
+			compatible = "qcom,pmk8350-rtc";
+			reg = <0x6100>, <0x6200>;
+			reg-names = "rtc", "alarm";
+			interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
+		};
+
 		pmm8654au_0_sdam_0: nvram@7100 {
 			compatible = "qcom,spmi-sdam";
 			reg = <0x7100>;

---
base-commit: 13863a59e410cab46d26751941980dc8f088b9b3
change-id: 20251015-add_rtc_node-13490b702486

Best regards,

Signature · 1 line
Rakesh Kota <[email protected]>
maintainer
#1 lore raw
Quoted 4 lines · Rakesh Kota

Add the RTC peripheral node for the PMM8654AU PMIC, which is controlled via the SPMI bus.

Subject says this is for the EVK, but patch changes the generic Lemans PMIC definitions.

arch/arm64/boot/dts/qcom/lemans-pmics.dtsi pmm8654au_0_gpios: gpio@8800 { · line 145

Quoted 13 lines
---
 arch/arm64/boot/dts/qcom/lemans-pmics.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/qcom/lemans-pmics.dtsi +1 -0
index 1369c3d43f866de9d8cd5cd4985241b99c0a0454..4eda7043b851f363d0bf053587fb1f5edae0c4cd 100644
@@ -142,6 +142,13 @@ pmm8654au_0_gpios: gpio@8800 {
 			#interrupt-cells = <2>;
 		};
 
+		pmm8654au_0_rtc: rtc@6100 {

6100 < 8800 so this should be one step up.

But, then it won't merge, because
https://lore.kernel.org/all/[email protected]/
already added the RTC node there.

In other words, please search lore.kernel.org before posting patches, to avoid sending the same patch multiple times.

Thank you,
Bjorn

Quoted 18 lines
arch/arm64/boot/dts/qcom/lemans-pmics.dtsi +6 -1
+			compatible = "qcom,pmk8350-rtc";
+			reg = <0x6100>, <0x6200>;
+			reg-names = "rtc", "alarm";
+			interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
+		};
+
 		pmm8654au_0_sdam_0: nvram@7100 {
 			compatible = "qcom,spmi-sdam";
 			reg = <0x7100>;
 
---

base-commit: 13863a59e410cab46d26751941980dc8f088b9b3
change-id: 20251015-add_rtc_node-13490b702486

Best regards,

Signature · 1 line
Rakesh Kota <[email protected]>