lkml.org 
[lkml]   [2026]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] arm64: dts: qcom: eliza-cqs-evk: Add power and volume keys
The Eliza CQS EVK has three tactile switches: SYS_ON, Volume Down,
and Volume Up.

Enable the existing PMK8550 PON power and resin keys for SYS_ON and
Volume Down. Describe Volume Up, which is connected to PM7550 GPIO6.

Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/eliza-cqs-evk.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza-cqs-evk.dts b/arch/arm64/boot/dts/qcom/eliza-cqs-evk.dts
index 5e4175291f05..2e7dd8dbaa22 100644
--- a/arch/arm64/boot/dts/qcom/eliza-cqs-evk.dts
+++ b/arch/arm64/boot/dts/qcom/eliza-cqs-evk.dts
@@ -14,6 +14,19 @@ / {
model = "Qualcomm Technologies, Inc. Eliza CQS EVK";
compatible = "qcom,eliza-cqs-evk", "qcom,eliza-cqs-som", "qcom,eliza";

+ gpio-keys {
+ compatible = "gpio-keys";
+
+ key-volume-up {
+ label = "Volume Up";
+ linux,code = <KEY_VOLUMEUP>;
+ gpios = <&pm7550_gpios 6 GPIO_ACTIVE_LOW>;
+ debounce-interval = <10>;
+ linux,can-disable;
+ wakeup-source;
+ };
+ };
+
sound {
compatible = "qcom,eliza-sndcard", "qcom,sm8450-sndcard";
model = "eliza-cqs-evk";
@@ -83,6 +96,15 @@ &lpass_vamacro {
qcom,dmic-sample-rate = <4800000>;
};

+&pon_pwrkey {
+ status = "okay";
+};
+
+&pon_resin {
+ linux,code = <KEY_VOLUMEDOWN>;
+ status = "okay";
+};
+
&swr0 {
pinctrl-0 = <&wsa_swr_active>;
pinctrl-names = "default";
---
base-commit: 903c1cf6dff9964e71eda98a39e2e5d442050472
change-id: 20260824-dts-qcom-eliza-evk-add-volume-up-a73c65710667
Best regards,
--
Abel Vesa <abel.vesa@oss.qualcomm.com>


\
 
 \ /
  Last update: 2026-08-24 15:46    [W:0.076 / U:1.715 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog