diff options
author | 2023-06-09 05:25:52 +0300 | |
---|---|---|
committer | 2023-07-13 21:04:28 -0700 | |
commit | de57328b1c9da0f30ccca4925ed6d5615b1a72b3 (patch) | |
tree | c4e72f07e1d74d45920c4b286521d53ab551fb17 | |
parent | ARM: dts: qcom: minor whitespace cleanup around '=' (diff) | |
download | wireguard-linux-de57328b1c9da0f30ccca4925ed6d5615b1a72b3.tar.xz wireguard-linux-de57328b1c9da0f30ccca4925ed6d5615b1a72b3.zip |
ARM: dts: qcom-pm8941: add resin support
Wrap existing pwrkey and new resin nodes into the new pon node to enable
volume-down key support on platforms using pm8941 PMIC.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230609022553.1775844-4-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | arch/arm/boot/dts/qcom/qcom-pm8941.dtsi | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/qcom/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom/qcom-pm8941.dtsi index b3e246bacd78..1e3bf643af1b 100644 --- a/arch/arm/boot/dts/qcom/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-pm8941.dtsi @@ -50,12 +50,24 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; }; - pwrkey@800 { - compatible = "qcom,pm8941-pwrkey"; + pon@800 { + compatible = "qcom,pm8941-pon"; 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 { |