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

[ Upstream commit 82492c4ef8 ]

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>
This commit is contained in:
Hsin-Yi Wang
2022-05-27 12:53:54 +08:00
committed by Sasha Levin
parent a03ede2282
commit ef71a93eec
5 changed files with 20 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
*/ */
#include "mt8183-kukui.dtsi" #include "mt8183-kukui.dtsi"
/* Must come after mt8183-kukui.dtsi to modify cros_ec */
#include <arm/cros-ec-keyboard.dtsi>
/ { / {
panel: panel { panel: panel {

View File

@@ -372,6 +372,12 @@
}; };
}; };
&cros_ec {
keyboard-controller {
compatible = "google,cros-ec-keyb-switches";
};
};
&qca_wifi { &qca_wifi {
qcom,ath10k-calibration-variant = "GO_KAKADU"; qcom,ath10k-calibration-variant = "GO_KAKADU";
}; };

View File

@@ -339,6 +339,12 @@
}; };
}; };
&cros_ec {
keyboard-controller {
compatible = "google,cros-ec-keyb-switches";
};
};
&qca_wifi { &qca_wifi {
qcom,ath10k-calibration-variant = "GO_KODAMA"; qcom,ath10k-calibration-variant = "GO_KODAMA";
}; };

View File

@@ -343,6 +343,12 @@
}; };
}; };
&cros_ec {
keyboard-controller {
compatible = "google,cros-ec-keyb-switches";
};
};
&qca_wifi { &qca_wifi {
qcom,ath10k-calibration-variant = "LE_Krane"; qcom,ath10k-calibration-variant = "LE_Krane";
}; };

View File

@@ -999,5 +999,4 @@
}; };
}; };
#include <arm/cros-ec-keyboard.dtsi>
#include <arm/cros-ec-sbs.dtsi> #include <arm/cros-ec-sbs.dtsi>