]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: qcom: x1e80100-crd: add gpio-keys label for lid switch
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 7 Mar 2025 17:12:22 +0000 (18:12 +0100)
committerBjorn Andersson <andersson@kernel.org>
Fri, 14 Mar 2025 16:58:22 +0000 (11:58 -0500)
Add a gpio-keys label for the lid-switch for consistency and to separate
it from the volume-up key (e.g. in /proc/interrupts).

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250307171222.7470-3-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1-crd.dtsi

index f74c576f1c13406cd0b1e9f08e3663c656db1afc..9e587dc5753282343a2675fd9415c6e4dbe71c27 100644 (file)
@@ -63,6 +63,7 @@
                };
 
                switch-lid {
+                       label = "lid";
                        gpios = <&tlmm 92 GPIO_ACTIVE_LOW>;
                        linux,input-type = <EV_SW>;
                        linux,code = <SW_LID>;