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 bdc76d504b78f6c5846500e2e9af941be5f6f49d..fa4ea7ded0ab9de152cbb771c270b351073d1280 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 2f0528d012993571967d5ab9465ab5405321f6f4..3b62a0175c047148dfecf2e4bd2eaf5158d1b09f 100644 (file)
        };
 };
 
-&pm8150_rtc {
-       status = "okay";
-};
-
 &qupv3_id_0 {
        status = "okay";
 };
index 5b4c5b08434c6b2b57ca7cf88a9afb258a4f4ceb..cfc4d1febe0f9fcc34697c98e134411088e24f4e 100644 (file)
        };
 };
 
-&pm8150_rtc {
-       status = "okay";
-};
-
 &qupv3_id_0 {
        status = "okay";
 };