On 8.05.2023 02:33, Dmitry Baryshkov wrote: > Wrap existing pwrkey and new resin nodes into the new pon node to enable > volume-down key support on platforms using pm8941 PMIC. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> > --- > arch/arm/boot/dts/qcom-pm8941.dtsi | 22 +++++++++++++++++----- > 1 file changed, 17 insertions(+), 5 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi > index a821f0368a28..ce30946ccf58 100644 > --- a/arch/arm/boot/dts/qcom-pm8941.dtsi > +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi > @@ -19,12 +19,24 @@ rtc@6000 { > interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; > }; > > - pwrkey@800 { > - compatible = "qcom,pm8941-pwrkey"; > + pon@800 { > + compatible = "qcom,pm8916-pon"; You just added a new one! :P Konrad > reg = <0x800>; > - interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; > - debounce = <15625>; > - bias-pull-up; > + > + pwrkey { > + compatible = "qcom,pm8941-pwrkey"; > + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; > + debounce = <15625>; > + bias-pull-up; > + }; > + > + pm8941_resin: resin { > + compatible = "qcom,pm8941-resin"; > + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; > + debounce = <15625>; > + bias-pull-up; > + status = "disabled"; > + }; > }; > > usb_id: usb-detect@900 {