Message ID | 20230702134320.98831-18-dmitry.baryshkov@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | ARM: dts: qcom: cleanup PMIC usage | expand |
On 2.07.2023 15:43, Dmitry Baryshkov wrote: > Move reg property to come after compatible. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm/boot/dts/qcom/pm8018.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom/pm8018.dtsi b/arch/arm/boot/dts/qcom/pm8018.dtsi > index c602544900b2..85ab36b6d006 100644 > --- a/arch/arm/boot/dts/qcom/pm8018.dtsi > +++ b/arch/arm/boot/dts/qcom/pm8018.dtsi > @@ -27,9 +27,9 @@ pwrkey@1c { > > pm8018_mpps: mpps@50 { > compatible = "qcom,pm8018-mpp", "qcom,ssbi-mpp"; > + reg = <0x50>; > interrupt-controller; > #interrupt-cells = <2>; > - reg = <0x50>; > gpio-controller; > #gpio-cells = <2>; > gpio-ranges = <&pm8018_mpps 0 0 6>; > @@ -37,9 +37,9 @@ pm8018_mpps: mpps@50 { > > rtc@11d { > compatible = "qcom,pm8018-rtc", "qcom,pm8921-rtc"; > + reg = <0x11d>; > interrupt-parent = <&pm8018>; > interrupts = <39 IRQ_TYPE_EDGE_RISING>; > - reg = <0x11d>; > allow-set-time; > }; >
diff --git a/arch/arm/boot/dts/qcom/pm8018.dtsi b/arch/arm/boot/dts/qcom/pm8018.dtsi index c602544900b2..85ab36b6d006 100644 --- a/arch/arm/boot/dts/qcom/pm8018.dtsi +++ b/arch/arm/boot/dts/qcom/pm8018.dtsi @@ -27,9 +27,9 @@ pwrkey@1c { pm8018_mpps: mpps@50 { compatible = "qcom,pm8018-mpp", "qcom,ssbi-mpp"; + reg = <0x50>; interrupt-controller; #interrupt-cells = <2>; - reg = <0x50>; gpio-controller; #gpio-cells = <2>; gpio-ranges = <&pm8018_mpps 0 0 6>; @@ -37,9 +37,9 @@ pm8018_mpps: mpps@50 { rtc@11d { compatible = "qcom,pm8018-rtc", "qcom,pm8921-rtc"; + reg = <0x11d>; interrupt-parent = <&pm8018>; interrupts = <39 IRQ_TYPE_EDGE_RISING>; - reg = <0x11d>; allow-set-time; };
Move reg property to come after compatible. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- arch/arm/boot/dts/qcom/pm8018.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)