arm64: dts: qcom: sm6125-seine: Include PM6125 and configure PON
authorMarijn Suijten <marijn.suijten@somainline.org>
Mon, 26 Sep 2022 19:01:47 +0000 (21:01 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 6 Nov 2022 02:47:03 +0000 (21:47 -0500)
The Sony Xperia Seine board uses the PM6125; include it and configure
the PON buttons that provide the power and volume-up key.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220926190148.283805-5-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts

index 9af4b76..290842a 100644 (file)
@@ -6,8 +6,8 @@
 /dts-v1/;
 
 #include "sm6125.dtsi"
+#include "pm6125.dtsi"
 #include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
 #include <dt-bindings/input/gpio-keys.h>
 
 / {
        status = "okay";
 };
 
+&pon_pwrkey {
+       status = "okay";
+};
+
+&pon_resin {
+       status = "okay";
+       linux,code = <KEY_VOLUMEUP>;
+};
+
 &sdc2_off_state {
        sd-cd-pins {
                pins = "gpio98";