]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: mt8183: kukui: Split out keyboard node and describe detachables
authorHsin-Yi Wang <hsinyi@chromium.org>
Fri, 27 May 2022 04:53:54 +0000 (12:53 +0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:21:19 +0000 (18:21 -0400)
[ Upstream commit 82492c4ef8f65f93cd4a35c4b52518935acbb2fa ]

Kukui devices krane, kodana, and kakadu use detachable keyboards, which
only have switches to be registered.

Change the keyboard node's compatible of those boards to the newly
introduced "google,cros-ec-keyb-switches", which won't include matrix
properties.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20220527045353.2483042-1-hsinyi@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Stable-dep-of: 04bd6411f506 ("arm64: dts: mt8183: Move CrosEC base detection node to kukui-based DTs")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi
arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi
arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi

index c1153580ef9586b84699bdc9fffa1196f238ee8c..88fca67dead018f4a24228b262ef9ef1c31435ed 100644 (file)
@@ -4,6 +4,8 @@
  */
 
 #include "mt8183-kukui.dtsi"
+/* Must come after mt8183-kukui.dtsi to modify cros_ec */
+#include <arm/cros-ec-keyboard.dtsi>
 
 / {
        panel: panel {
index 28966a65391b092086dc2ec8823329a32158ae55..4b419623c8dcc0d0f593381fbd5aff099709fc50 100644 (file)
        };
 };
 
+&cros_ec {
+       keyboard-controller {
+               compatible = "google,cros-ec-keyb-switches";
+       };
+};
+
 &qca_wifi {
        qcom,ath10k-calibration-variant = "GO_KAKADU";
 };
index 3aa79403c0c2c24d1007c309acf17b502d8f8a5c..e6e017260693c26e0531d904c637b832d64a9796 100644 (file)
        };
 };
 
+&cros_ec {
+       keyboard-controller {
+               compatible = "google,cros-ec-keyb-switches";
+       };
+};
+
 &qca_wifi {
        qcom,ath10k-calibration-variant = "GO_KODAMA";
 };
index 30c183c96a54cb0b72a31cda50db9617c670e12b..51bb2c23712c4447ffe317b998d72fe4f1179ea2 100644 (file)
        };
 };
 
+&cros_ec {
+       keyboard-controller {
+               compatible = "google,cros-ec-keyb-switches";
+       };
+};
+
 &qca_wifi {
        qcom,ath10k-calibration-variant = "LE_Krane";
 };
index 30a84d888c66ca7aacf0a50cae3e55a8f074ba6b..f70f0f43aa52b366df41fc6a2d7d324c3949b65d 100644 (file)
        };
 };
 
-#include <arm/cros-ec-keyboard.dtsi>
 #include <arm/cros-ec-sbs.dtsi>