devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] arm64: dts: qcom: pm8450a: add rtc node
@ 2022-12-14 21:09 Eric Chanudet
  2022-12-14 21:09 ` [PATCH v2 2/3] arm64: dts: qcom: sa8295p-adp: use pm8450a dtsi Eric Chanudet
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Eric Chanudet @ 2022-12-14 21:09 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	Konrad Dybcio
  Cc: linux-arm-msm, devicetree, linux-kernel, Andrew Halaney,
	Brian Masney, Eric Chanudet

Add the rtc block on pm8450a first pmic to enable the rtc for
sa8540p-ride.

Signed-off-by: Eric Chanudet <echanude@redhat.com>
---
 arch/arm64/boot/dts/qcom/pm8450a.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm8450a.dtsi b/arch/arm64/boot/dts/qcom/pm8450a.dtsi
index 34fc72896761..c9b8da43b237 100644
--- a/arch/arm64/boot/dts/qcom/pm8450a.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8450a.dtsi
@@ -13,6 +13,14 @@ pm8450a: pmic@0 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
+		rtc@6000 {
+			compatible = "qcom,pm8941-rtc";
+			reg = <0x6000>, <0x6100>;
+			reg-names = "rtc", "alarm";
+			interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
+			wakeup-source;
+		};
+
 		pm8450a_gpios: gpio@c000 {
 			compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
 			reg = <0xc000>;
-- 
2.38.1


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

end of thread, other threads:[~2022-12-17 14:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-14 21:09 [PATCH v2 1/3] arm64: dts: qcom: pm8450a: add rtc node Eric Chanudet
2022-12-14 21:09 ` [PATCH v2 2/3] arm64: dts: qcom: sa8295p-adp: use pm8450a dtsi Eric Chanudet
2022-12-15 13:01   ` Konrad Dybcio
2022-12-16 19:56     ` Eric Chanudet
2022-12-17 14:22       ` Konrad Dybcio
2022-12-14 21:09 ` [PATCH v2 3/3] arm64: dts: qcom: pm8941-rtc add alarm register Eric Chanudet
2022-12-15 13:01   ` Konrad Dybcio
2022-12-15 12:59 ` [PATCH v2 1/3] arm64: dts: qcom: pm8450a: add rtc node Konrad Dybcio

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