Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: mt8183: kukui: Split out keyboard node and describe detachables

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>

authored by

Hsin-Yi Wang and committed by
Matthias Brugger
82492c4e bd2b1b4a

+20 -1
+2
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
··· 4 4 */ 5 5 6 6 #include "mt8183-kukui.dtsi" 7 + /* Must come after mt8183-kukui.dtsi to modify cros_ec */ 8 + #include <arm/cros-ec-keyboard.dtsi> 7 9 8 10 / { 9 11 panel: panel {
+6
arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi
··· 372 372 }; 373 373 }; 374 374 375 + &cros_ec { 376 + keyboard-controller { 377 + compatible = "google,cros-ec-keyb-switches"; 378 + }; 379 + }; 380 + 375 381 &qca_wifi { 376 382 qcom,ath10k-calibration-variant = "GO_KAKADU"; 377 383 };
+6
arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi
··· 339 339 }; 340 340 }; 341 341 342 + &cros_ec { 343 + keyboard-controller { 344 + compatible = "google,cros-ec-keyb-switches"; 345 + }; 346 + }; 347 + 342 348 &qca_wifi { 343 349 qcom,ath10k-calibration-variant = "GO_KODAMA"; 344 350 };
+6
arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi
··· 343 343 }; 344 344 }; 345 345 346 + &cros_ec { 347 + keyboard-controller { 348 + compatible = "google,cros-ec-keyb-switches"; 349 + }; 350 + }; 351 + 346 352 &qca_wifi { 347 353 qcom,ath10k-calibration-variant = "LE_Krane"; 348 354 };
-1
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
··· 989 989 }; 990 990 }; 991 991 992 - #include <arm/cros-ec-keyboard.dtsi> 993 992 #include <arm/cros-ec-sbs.dtsi>