Skip to content

Commit de57328

Browse files
lumagandersson
authored andcommitted
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 <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent c4cf1cc commit de57328

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

arch/arm/boot/dts/qcom/qcom-pm8941.dtsi

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,24 @@
5050
interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
5151
};
5252

53-
pwrkey@800 {
54-
compatible = "qcom,pm8941-pwrkey";
53+
pon@800 {
54+
compatible = "qcom,pm8941-pon";
5555
reg = <0x800>;
56-
interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
57-
debounce = <15625>;
58-
bias-pull-up;
56+
57+
pwrkey {
58+
compatible = "qcom,pm8941-pwrkey";
59+
interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
60+
debounce = <15625>;
61+
bias-pull-up;
62+
};
63+
64+
pm8941_resin: resin {
65+
compatible = "qcom,pm8941-resin";
66+
interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
67+
debounce = <15625>;
68+
bias-pull-up;
69+
status = "disabled";
70+
};
5971
};
6072

6173
usb_id: usb-detect@900 {

0 commit comments

Comments
 (0)