]> git.itanic.dy.fi Git - linux-stable/commitdiff
arm64: dts: mediatek: mt8192-asurada: Remove CrosEC base detection node
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Wed, 7 Feb 2024 20:08:42 +0000 (15:08 -0500)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:16:42 +0000 (18:16 -0400)
[ Upstream commit 9b49cabe631b0a25aaf8fc2ba81b5b9ea6ff01b7 ]

The commit adding the ChromeOS EC to the Asurada Devicetree mistakenly
added a base detection node. While tablet mode detection is supported by
CrosEC and used by Hayato, it is done through the cros-ec-keyb driver.
The base detection node, which is handled by the hid-google-hammer
driver, also provides tablet mode detection but by checking base
attachment status on the CrosEC, which is not supported for Asurada.

Hence, remove the unused CrosEC base detection node for Asurada.

Fixes: eb188a2aaa82 ("arm64: dts: mediatek: asurada: Add ChromeOS EC")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20240207-mt8192-asurada-cbas-remove-v1-1-04cb65951975@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi

index d87aab8d7a79ed4ac8365b951f16c370b2efcc91..d4dd5e8b2e1d3c7b906f93cefa2f4e3c10c1480d 100644 (file)
@@ -1336,10 +1336,6 @@ cros_ec: ec@0 {
                #address-cells = <1>;
                #size-cells = <0>;
 
-               base_detection: cbas {
-                       compatible = "google,cros-cbas";
-               };
-
                cros_ec_pwm: pwm {
                        compatible = "google,cros-ec-pwm";
                        #pwm-cells = <1>;