[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210510092631.3141204-1-ikjn@chromium.org>
Date: Mon, 10 May 2021 17:26:31 +0800
From: Ikjoon Jang <ikjn@...omium.org>
To: linux-mediatek@...ts.infradead.org
Cc: Jiri Kosina <jikos@...nel.org>, linux-input@...r.kernel.org,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Hsinyi Wang <hsinyi@...omium.org>,
Ikjoon Jang <ikjn@...omium.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] arm64: dts: mt8183: add cbas node under cros_ec
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@...omium.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
Powered by blists - more mailing lists