summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@somainline.org>2021-06-16 14:27:03 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-06-18 12:39:22 -0500
commit46e14907c71628ea82daea8911b9f449f478f9b4 (patch)
treec6b48d947ef2274d695f4cd0dc9fa3d27da048c5 /arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts
parent5b85e8f2225c21b68eb93c1c9e071fc3f989de1d (diff)
downloadlinux-46e14907c71628ea82daea8911b9f449f478f9b4.tar.bz2
arm64: dts: qcom: sm8250-edo: Add hardware keys
Volume Down, GAssist (pdx206 only) and camera keys live on PMIC pins, with the latter kind being broken for now.. Add these and PON-connected Volume Up & PWR. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210616122708.144770-1-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts
index 999b662f4679..16c96e838534 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts
+++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts
@@ -18,6 +18,17 @@
stride = <(1080 * 4)>;
};
+&gpio_keys {
+ g-assist-key {
+ label = "Google Assistant Key";
+ linux,code = <KEY_LEFTMETA>;
+ gpios = <&pm8150_gpios 6 GPIO_ACTIVE_LOW>;
+ debounce-interval = <15>;
+ linux,can-disable;
+ gpio-key,wakeup;
+ };
+};
+
&vreg_l2f_1p3 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;