Commit da3a82e3 authored by Gustave Monce's avatar Gustave Monce Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: msm8994-octagon: Configure PON keys



Both the power key and the vol- key are connected over PON.
Configure them.

Signed-off-by: default avatarGustave Monce <gustave.monce@outlook.com>
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210131013853.55810-14-konrad.dybcio@somainline.org


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 8b65237e
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -358,6 +358,22 @@
	};
};

&pm8994_pon {
	pwrkey {
		compatible = "qcom,pm8941-pwrkey";
		interrupts = <0 8 0 IRQ_TYPE_EDGE_BOTH>;
		debounce = <15625>;
		linux,code = <KEY_POWER>;
	};

	volwnkey {
		compatible = "qcom,pm8941-resin";
		interrupts = <0 8 1 IRQ_TYPE_EDGE_BOTH>;
		debounce = <15625>;
		linux,code = <KEY_VOLUMEDOWN>;
	};
};

&pmi8994_gpios {
	pinctrl-0 = <&hd3ss460_pol &hd3ss460_amsel &hd3ss460_en>;
	pinctrl-names = "default";
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
			interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
		};

		pon@800 {
		pm8994_pon: pon@800 {
			compatible = "qcom,pm8916-pon";

			reg = <0x800>;