Messages in this thread Patch in this message |  | | From | Abel Vesa <> | | Date | Mon, 24 Aug 2026 16:45:49 +0300 | | 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>
|  |