Commit 2a03c21c authored by Felipe Balbi's avatar Felipe Balbi Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm8150: simplify references to pwrkey and resin



Since commit d0a6ce59 ("arm64: dts: qcom: sm8150: Add support for
SONY Xperia 1 / 5 (Kumano platform)"), we can directly refer to pwrkey
and resin by their new labels, respectively pon_pwrkey and pon_resin.

Simplify microsof surface duo DTS by utilizing the new labels.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@microsoft.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211217124546.1192281-1-balbi@kernel.org
parent abdd4b7a
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -430,20 +430,10 @@
	/* MAX34417 @ 0x1e */
};

&pon {
	pwrkey {
&pon_pwrkey {
	status = "okay";
};

	resin {
		compatible = "qcom,pm8941-resin";
		interrupts = <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>;
		debounce = <15625>;
		bias-pull-up;
		linux,code = <KEY_VOLUMEDOWN>;
	};
};

&qupv3_id_0 {
	status = "okay";
};
@@ -476,6 +466,12 @@
	firmware-name = "qcom/sm8150/microsoft/slpi.mdt";
};

&pon_resin {
	status = "okay";

	linux,code = <KEY_VOLUMEDOWN>;
};

&tlmm {
	gpio-reserved-ranges = <126 4>;