ARM: dts: qcom: msm8974pro-castor: Remove camera button definitions
authorLuca Weiss <luca@z3ntu.xyz>
Tue, 5 Mar 2024 23:18:06 +0000 (00:18 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 18 Mar 2024 03:43:08 +0000 (22:43 -0500)
>From what I can tell, the camera buttons are not part of Z2 Tablet
hardware even though other devices based on 'shinano' do have them.

Fixes: ab80661883de ("ARM: dts: qcom: msm8974: Add Sony Xperia Z2 Tablet")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240306-castor-changes-v1-3-2286eaf85fff@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts

index da554f72528a3ec8b11bb2606a568cb9434f7675..97b55bda9189363bb9ef88204e3176809840aa6d 100644 (file)
                        linux,code = <KEY_VOLUMEDOWN>;
                };
 
-               key-camera-snapshot {
-                       label = "camera_snapshot";
-                       gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
-                       linux,code = <KEY_CAMERA>;
-               };
-
-               key-camera-focus {
-                       label = "camera_focus";
-                       gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
-                       linux,code = <KEY_CAMERA_FOCUS>;
-               };
-
                key-volume-up {
                        label = "volume_up";
                        gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;