arm64: dts: qcom: pm8150: Enable RTC
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 6 Jan 2021 00:10:04 +0000 (16:10 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 22:47:22 +0000 (16:47 -0600)
The PM8150 comes with everything the RTC needs, so let's just leave it
enabled instead of having to explicitly enable it for all boards.
In effect this patch enables the RTC on the SM8150 MTP and the SM8250
HDK.

Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210106001004.4081508-1-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/pm8150.dtsi
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
arch/arm64/boot/dts/qcom/sm8250-mtp.dts

index bdc76d5..fa4ea7d 100644 (file)
                        status = "disabled";
                };
 
-               pm8150_rtc: rtc@6000 {
+               rtc@6000 {
                        compatible = "qcom,pm8941-rtc";
                        reg = <0x6000>;
                        reg-names = "rtc", "alarm";
                        interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
-
-                       status = "disabled";
                };
 
                pm8150_gpios: gpio@c000 {
index 2f0528d..3b62a01 100644 (file)
        };
 };
 
-&pm8150_rtc {
-       status = "okay";
-};
-
 &qupv3_id_0 {
        status = "okay";
 };
index 5b4c5b0..cfc4d1f 100644 (file)
        };
 };
 
-&pm8150_rtc {
-       status = "okay";
-};
-
 &qupv3_id_0 {
        status = "okay";
 };