linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mt8183: add cbas node under cros_ec
@ 2021-05-10  9:26 Ikjoon Jang
  2021-05-12 16:38 ` Matthias Brugger
  0 siblings, 1 reply; 5+ messages in thread
From: Ikjoon Jang @ 2021-05-10  9:26 UTC (permalink / raw)
  To: linux-mediatek
  Cc: Jiri Kosina, linux-input, Benjamin Tissoires, Hsinyi Wang,
	Ikjoon Jang, Matthias Brugger, Rob Herring, devicetree,
	linux-arm-kernel, linux-kernel

Add a 'cbas' device node for supporting table mode switch in
kukui devices.

Kukui platforms with detacheable base have an additional input
device under cros-ec, which reports SW_TABLET_MODE regarding
its base state (e.g. base flipped or detached).

Signed-off-by: Ikjoon Jang <ikjn@chromium.org>
---

 arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
index ff56bcfa3370..40030ed48854 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
@@ -816,6 +816,10 @@ usbc_extcon: extcon0 {
 			compatible = "google,extcon-usbc-cros-ec";
 			google,usb-port-id = <0>;
 		};
+
+		base_detection: cbas {
+			compatible = "google,cros-cbas";
+		};
 	};
 };
 
-- 
2.31.1.607.g51e8a6a459-goog


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-14 11:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-10  9:26 [PATCH] arm64: dts: mt8183: add cbas node under cros_ec Ikjoon Jang
2021-05-12 16:38 ` Matthias Brugger
2021-05-13  1:45   ` Ikjoon Jang
2021-05-14  8:55     ` Enric Balletbo i Serra
2021-05-14 11:14       ` Ikjoon Jang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).