[PATCH] arm64: dts: mt8183: add cbas node under cros_ec

Matthias Brugger matthias.bgg at gmail.com
Wed May 12 09:38:53 PDT 2021


Hi Ikjoon,

On 10/05/2021 11:26, Ikjoon Jang wrote:
> 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 at 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";

I'm not able to find any binding description for this. It seems linux-next has
driver binding to this compatible, but the description is missing.

Can you please clarify.

Thanks,
Mathias

> +		};
>  	};
>  };
>  
> 



More information about the Linux-mediatek mailing list