]> git.ipfire.org Git - thirdparty/kernel/stable.git/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:19:29 +0000 (18:19 -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 0e8b341170907d894db292d531f70f8e1eb2c7f0..4bd1494b354c0e104a5e5b943dbb9616783a5fb9 100644 (file)
                #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>;