Message ID | 20230702134320.98831-22-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: > Merge interrups and interrupt-parent properties into a single > interrupts-extended property. > > Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org> > 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 | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom/pm8018.dtsi b/arch/arm/boot/dts/qcom/pm8018.dtsi > index 85ab36b6d006..22f3c7bac522 100644 > --- a/arch/arm/boot/dts/qcom/pm8018.dtsi > +++ b/arch/arm/boot/dts/qcom/pm8018.dtsi > @@ -18,9 +18,8 @@ pwrkey@1c { > compatible = "qcom,pm8018-pwrkey", > "qcom,pm8921-pwrkey"; > reg = <0x1c>; > - interrupt-parent = <&pm8018>; > - interrupts = <50 IRQ_TYPE_EDGE_RISING>, > - <51 IRQ_TYPE_EDGE_RISING>; > + interrupts-extended = <&pm8018 50 IRQ_TYPE_EDGE_RISING>, > + <&pm8018 51 IRQ_TYPE_EDGE_RISING>; > debounce = <15625>; > pull-up; > }; > @@ -38,8 +37,7 @@ pm8018_mpps: mpps@50 { > rtc@11d { > compatible = "qcom,pm8018-rtc", "qcom,pm8921-rtc"; > reg = <0x11d>; > - interrupt-parent = <&pm8018>; > - interrupts = <39 IRQ_TYPE_EDGE_RISING>; > + interrupts-extended = <&pm8018 39 IRQ_TYPE_EDGE_RISING>; > allow-set-time; > }; >
diff --git a/arch/arm/boot/dts/qcom/pm8018.dtsi b/arch/arm/boot/dts/qcom/pm8018.dtsi index 85ab36b6d006..22f3c7bac522 100644 --- a/arch/arm/boot/dts/qcom/pm8018.dtsi +++ b/arch/arm/boot/dts/qcom/pm8018.dtsi @@ -18,9 +18,8 @@ pwrkey@1c { compatible = "qcom,pm8018-pwrkey", "qcom,pm8921-pwrkey"; reg = <0x1c>; - interrupt-parent = <&pm8018>; - interrupts = <50 IRQ_TYPE_EDGE_RISING>, - <51 IRQ_TYPE_EDGE_RISING>; + interrupts-extended = <&pm8018 50 IRQ_TYPE_EDGE_RISING>, + <&pm8018 51 IRQ_TYPE_EDGE_RISING>; debounce = <15625>; pull-up; }; @@ -38,8 +37,7 @@ pm8018_mpps: mpps@50 { rtc@11d { compatible = "qcom,pm8018-rtc", "qcom,pm8921-rtc"; reg = <0x11d>; - interrupt-parent = <&pm8018>; - interrupts = <39 IRQ_TYPE_EDGE_RISING>; + interrupts-extended = <&pm8018 39 IRQ_TYPE_EDGE_RISING>; allow-set-time; };
Merge interrups and interrupt-parent properties into a single interrupts-extended property. Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- arch/arm/boot/dts/qcom/pm8018.dtsi | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)