[PATCH v2] arm64: dts: qcom: eliza-evk: Add power and volume keys

Abel Vesa posted 1 patch 3 weeks, 1 day ago
arch/arm64/boot/dts/qcom/eliza-evk.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
[PATCH v2] arm64: dts: qcom: eliza-evk: Add power and volume keys
Posted by Abel Vesa 3 weeks, 1 day ago
The Eliza 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.

Do this in the Eliza EVK dtsi so it can be reused by the Eliza CQM EVK
board.

Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Changes in v2:
- Rebased on next-20260902.
- Moved the nodes into eliza-evk.dtsi as they will be
  reused by Eliza CQM EVK board.
- Mention in the commit message that this is shared
  between CQS and CQM EVK boards.
- Link to v1: https://patch.msgid.link/20260824-dts-qcom-eliza-evk-add-volume-up-v1-1-0cee16886d43@oss.qualcomm.com
---
 arch/arm64/boot/dts/qcom/eliza-evk.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
index 86f2be6e37c7..6c5cc47a183e 100644
--- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
+++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
@@ -12,6 +12,19 @@ chosen {
 		stdout-path = "serial0:115200n8";
 	};
 
+	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;
+		};
+	};
+
 	pmic-glink {
 		compatible = "qcom,eliza-pmic-glink",
 			     "qcom,sm8550-pmic-glink",
@@ -157,6 +170,15 @@ pcieport0_ep: endpoint {
 	};
 };
 
+&pon_pwrkey {
+	status = "okay";
+};
+
+&pon_resin {
+	linux,code = <KEY_VOLUMEDOWN>;
+	status = "okay";
+};
+
 &pm7550ba_eusb2_repeater {
 	vdd18-supply = <&vreg_l7b>;
 	vdd3-supply = <&vreg_l17b>;

---
base-commit: 32b6ef9a5d0eca44f9cd91f52f4faa89f145a0de
change-id: 20260824-dts-qcom-eliza-evk-add-volume-up-a73c65710667

Best regards,
--  
Abel Vesa <abel.vesa@oss.qualcomm.com>
Re: [PATCH v2] arm64: dts: qcom: eliza-evk: Add power and volume keys
Posted by Bjorn Andersson 2 weeks, 1 day ago
On Thu, 03 Sep 2026 16:47:59 +0300, Abel Vesa wrote:
> The Eliza 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.
> 
> Do this in the Eliza EVK dtsi so it can be reused by the Eliza CQM EVK
> board.
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: qcom: eliza-evk: Add power and volume keys
      commit: 0bb0b2513fd3ab9afc01c9cb6f0b68b469d71869

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>