Message ID | 20240116-mt8183-kukui-cbas-remove-v3-1-055e21406e86@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-28319-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp561670dye; Tue, 16 Jan 2024 14:35:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1EIDfFdj1Oxye9fVlLkrfviEbNpSxBoYoFsflcUaXHxF9absdFvrk1HQ51jefboozLyV7 X-Received: by 2002:a05:6a20:2d1e:b0:19a:8278:d65e with SMTP id g30-20020a056a202d1e00b0019a8278d65emr5306112pzl.71.1705444517531; Tue, 16 Jan 2024 14:35:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705444517; cv=pass; d=google.com; s=arc-20160816; b=gGp10IxQAJ+DUzM9yyGVKqbs8BzLx+bQ+lA3mVfxnAYKz+Os1hbeiToMcjWpSfl13c eBJr5kmbbG3zVOYgwWeZSsARgbMEn1WVvEqxkdGyIxJyRaPbH2XHHJAs2uI1WnbWbG4D SuqizbhW9b314u9QXF1qoTBhlEAfwpU7EDh48zZmVtS15OYU8MnW8ksojNxlYt2t5gSf mV1XufU8g+YcKsmBilah7wFqaXBuLUWdykOm1FF7jL8Zgzi9fJTIwtZOpNk3ZAGAh19o N4QaKXeuzlELSeY3DoCqjCQI6UqjnmYZ7qYV3iYpQ321aJdxBjiBgAxQxd4HdQq2YfmJ 29yQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=JFAd/vaJD8kVdezbEhKkTruzpiOitp1tq471Wtf/xAs=; fh=LtpKniG/5xtueh8NO4cUzUJpVkYMNzta8Xd0vviuKnc=; b=yTXPsEM5Uca+zSHQm+v082Q1BjBdcuedsZ1JYYtuDXwizAYVyZrCH+wnCQ763IJscl oVJIdnRNs2vh8qc6Ndtc0OzlO/ewMlOEvJZcPqVAtGgyT4rdNj8ZSO+OanJmSvAA7VUx 3IJm9bpKPWJH7uciHD4Pwq/uVIqPe55SI/RW3sA1diruO5DXJ9lGGi3Gp5EFXQf/iQhR lDttWxAJK9JR6Xx4FwXd1NqE4cpEz4mGoAufuSPrwVP2Cq/a46ZKSPgHizwgU+9c9NLj sjYiJELFxzROg120qE2MMIvkFa0uibqyJXgfTpH5JhW6lj19TORHWggn9zYC0PjklhHt Xzyg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QRqih3UW; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-28319-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28319-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gb19-20020a17090b061300b0028ce4f684b4si12293355pjb.88.2024.01.16.14.35.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 14:35:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28319-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QRqih3UW; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-28319-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28319-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BB47F28F05F for <ouuuleilei@gmail.com>; Tue, 16 Jan 2024 22:32:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4220C6027D; Tue, 16 Jan 2024 21:41:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="QRqih3UW" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AB1235F03; Tue, 16 Jan 2024 21:41:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705441263; cv=none; b=aRy9C7qBozfjrUF3O2Qb7+UB3SZXaLfofm2Q/0TG+BhnWeTLxKP6FsyeQJrR6+K4UAcnqdOCQs663T25m1H2Z6/nps+l0gNzpda1DBw1ooNXbwNPSuYFHmh03Z9J1I2gW9yHY+fWNLdO+avr7x7QJ4TjdywDHKrRpTOINufpoNk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705441263; c=relaxed/simple; bh=5s8DRDqJVBVIIn+xD56hZynbIPJpLvIaUigTrdQ0amc=; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:X-B4-Tracking:To: Cc:X-Mailer; b=UsLRyOhPc8GX/9nlwxgfK+JoQxNpsaYP8YA14Vsf1Bgl/ZNgtvojU+/2PVzJFE7FGsIlEGK+VSWi7yCu4im4LYFz6dC4BUTFeUgoQLU+RhPbAMTozbJc2iQphFiEJIgXrJP/C+NCLNxfc2OQW3Wz5x4+jE6Hdc2d5r6E6e56S+4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=QRqih3UW; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705441259; bh=5s8DRDqJVBVIIn+xD56hZynbIPJpLvIaUigTrdQ0amc=; h=From:Date:Subject:To:Cc:From; b=QRqih3UWL6XALeYEJ3G3ySQNdQ6DRqtlu4INp/1PR3Ti+VUZiaBL29MQSdn1xwhnu Sb+vCARcXJmIow58sB022+q38ZNuEpUtBdNSXnZiVNz6WZK8ZdiC0xzyVNxkQEut6V uwx2bjhctlJnP7EVCTARg+Dgi51FfMoMsRvtDbSAchYw0XvMPXZhC+etI31NED4cHS KCZr8yYQ+G+Vwlh4c4Yntz68gesABsIA69nFsE/lEjYE6Pc7glZeNc0CZCjb8lbfpY rGl6Ur8VmZktvKcp0xT6LY1DkCdBQvRT0ECKaEVC8vyZ+5UGRI3XuSgYKGduvgnf+1 ogLV6l3RcwKGg== Received: from [192.168.0.47] (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 0E6A1378000A; Tue, 16 Jan 2024 21:40:54 +0000 (UTC) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= <nfraprado@collabora.com> Date: Tue, 16 Jan 2024 18:38:34 -0300 Subject: [PATCH v3] arm64: dts: mt8183: Move CrosEC base detection node to kukui-based DTs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240116-mt8183-kukui-cbas-remove-v3-1-055e21406e86@collabora.com> X-B4-Tracking: v=1; b=H4sIAFn3pmUC/03MTQ6CMBBA4auQrh3SHyzoynsYF0MZpIFSMgViQ ri7jSuX3+K9QyRiT0nci0Mw7T75OGeYSyHcgPObwHfZQktdSaUshLVRjYFxGzcPrsUETCHuBPZ at1YjOeqsyPnC1PvPb/18ZfccA6wDE/4Ptaq0NLq8yVttLCiYe8aFsYsPF6cJ28hYuhjEeX4B8 1CA46wAAAA= To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Matthias Brugger <matthias.bgg@gmail.com> Cc: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Enric Balletbo i Serra <eballetbo@kernel.org>, Ikjoon Jang <ikjn@chromium.org>, Stephen Boyd <swboyd@chromium.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788288190647166729 X-GMAIL-MSGID: 1788288190647166729 |
Series |
[v3] arm64: dts: mt8183: Move CrosEC base detection node to kukui-based DTs
|
|
Commit Message
Nícolas F. R. A. Prado
Jan. 16, 2024, 9:38 p.m. UTC
The cbas node is used to describe base detection functionality in the
ChromeOS EC, which is used for units that have a detachable keyboard and
thus rely on this functionality to switch between tablet and laptop
mode.
Despite the original commit having added the cbas node to the
mt8183-kukui.dtsi, not all machines that include it are detachables. In
fact all machines that include from mt8183-kukui-jacuzzi.dtsi are either
clamshells (ie normal laptops) or convertibles, meaning the keyboard can
be flipped but not detached. The detection for the keyboard getting
flipped is handled by the driver bound to the keyboard-controller node
in the EC.
Move the base detection node from the base kukui dtsi to the dtsis where
all machines are detachables, and thus actually make use of the node.
Fixes: 4fa8492d1e5b ("arm64: dts: mt8183: add cbas node under cros_ec")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
Changes in v3:
- Instead of deleting the node in jacuzzi, moved the node from kukui to
the dtsis including kukui that are detachables
Changes in v2:
- Moved cbas node removal to jacuzzi dtsi
---
arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi | 4 ++++
arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi | 4 ++++
arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi | 4 ++++
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 4 ----
4 files changed, 12 insertions(+), 4 deletions(-)
---
base-commit: 0f067394dd3b2af3263339cf7183bdb6ee0ac1f8
change-id: 20240116-mt8183-kukui-cbas-remove-657b62aeced6
Best regards,
Comments
Il 16/01/24 22:38, Nícolas F. R. A. Prado ha scritto: > The cbas node is used to describe base detection functionality in the > ChromeOS EC, which is used for units that have a detachable keyboard and > thus rely on this functionality to switch between tablet and laptop > mode. > > Despite the original commit having added the cbas node to the > mt8183-kukui.dtsi, not all machines that include it are detachables. In > fact all machines that include from mt8183-kukui-jacuzzi.dtsi are either > clamshells (ie normal laptops) or convertibles, meaning the keyboard can > be flipped but not detached. The detection for the keyboard getting > flipped is handled by the driver bound to the keyboard-controller node > in the EC. > > Move the base detection node from the base kukui dtsi to the dtsis where > all machines are detachables, and thus actually make use of the node. > > Fixes: 4fa8492d1e5b ("arm64: dts: mt8183: add cbas node under cros_ec") > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > --- > Changes in v3: > - Instead of deleting the node in jacuzzi, moved the node from kukui to > the dtsis including kukui that are detachables > > Changes in v2: > - Moved cbas node removal to jacuzzi dtsi > --- > arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi | 4 ++++ > arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi | 4 ++++ > arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi | 4 ++++ > arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 4 ---- > 4 files changed, 12 insertions(+), 4 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi > index b6a9830af269..bfb9e42c8aca 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi > @@ -360,6 +360,10 @@ pen_eject { > }; > > &cros_ec { > + cbas { > + compatible = "google,cros-cbas"; > + }; > + > keyboard-controller { > compatible = "google,cros-ec-keyb-switches"; > }; > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi > index 306c95166f3f..5c1bf6a1e475 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi > @@ -339,6 +339,10 @@ touch_pin_reset: pin_reset { > }; > > &cros_ec { > + cbas { > + compatible = "google,cros-cbas"; > + }; > + > keyboard-controller { > compatible = "google,cros-ec-keyb-switches"; > }; > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi > index 382e4c6d7191..0f5fa893a774 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi > @@ -343,6 +343,10 @@ rst_pin { > }; > > &cros_ec { > + cbas { > + compatible = "google,cros-cbas"; > + }; > + > keyboard-controller { > compatible = "google,cros-ec-keyb-switches"; > }; > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > index 5506de83f61d..66eb099e15f0 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > @@ -937,10 +937,6 @@ usbc_extcon: extcon0 { > google,usb-port-id = <0>; > }; > > - cbas { > - compatible = "google,cros-cbas"; > - }; > - > typec { > compatible = "google,cros-ec-typec"; > #address-cells = <1>; > > --- > base-commit: 0f067394dd3b2af3263339cf7183bdb6ee0ac1f8 > change-id: 20240116-mt8183-kukui-cbas-remove-657b62aeced6 > > Best regards,
On 17/01/2024 11:14, AngeloGioacchino Del Regno wrote: > Il 16/01/24 22:38, Nícolas F. R. A. Prado ha scritto: >> The cbas node is used to describe base detection functionality in the >> ChromeOS EC, which is used for units that have a detachable keyboard and >> thus rely on this functionality to switch between tablet and laptop >> mode. >> >> Despite the original commit having added the cbas node to the >> mt8183-kukui.dtsi, not all machines that include it are detachables. In >> fact all machines that include from mt8183-kukui-jacuzzi.dtsi are either >> clamshells (ie normal laptops) or convertibles, meaning the keyboard can >> be flipped but not detached. The detection for the keyboard getting >> flipped is handled by the driver bound to the keyboard-controller node >> in the EC. >> >> Move the base detection node from the base kukui dtsi to the dtsis where >> all machines are detachables, and thus actually make use of the node. >> >> Fixes: 4fa8492d1e5b ("arm64: dts: mt8183: add cbas node under cros_ec") >> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > Applied, thanks! >> --- >> Changes in v3: >> - Instead of deleting the node in jacuzzi, moved the node from kukui to >> the dtsis including kukui that are detachables >> >> Changes in v2: >> - Moved cbas node removal to jacuzzi dtsi >> --- >> arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi | 4 ++++ >> arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi | 4 ++++ >> arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi | 4 ++++ >> arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 4 ---- >> 4 files changed, 12 insertions(+), 4 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi >> b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi >> index b6a9830af269..bfb9e42c8aca 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi >> @@ -360,6 +360,10 @@ pen_eject { >> }; >> &cros_ec { >> + cbas { >> + compatible = "google,cros-cbas"; >> + }; >> + >> keyboard-controller { >> compatible = "google,cros-ec-keyb-switches"; >> }; >> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi >> b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi >> index 306c95166f3f..5c1bf6a1e475 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi >> @@ -339,6 +339,10 @@ touch_pin_reset: pin_reset { >> }; >> &cros_ec { >> + cbas { >> + compatible = "google,cros-cbas"; >> + }; >> + >> keyboard-controller { >> compatible = "google,cros-ec-keyb-switches"; >> }; >> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi >> b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi >> index 382e4c6d7191..0f5fa893a774 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi >> @@ -343,6 +343,10 @@ rst_pin { >> }; >> &cros_ec { >> + cbas { >> + compatible = "google,cros-cbas"; >> + }; >> + >> keyboard-controller { >> compatible = "google,cros-ec-keyb-switches"; >> }; >> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi >> b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi >> index 5506de83f61d..66eb099e15f0 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi >> @@ -937,10 +937,6 @@ usbc_extcon: extcon0 { >> google,usb-port-id = <0>; >> }; >> - cbas { >> - compatible = "google,cros-cbas"; >> - }; >> - >> typec { >> compatible = "google,cros-ec-typec"; >> #address-cells = <1>; >> >> --- >> base-commit: 0f067394dd3b2af3263339cf7183bdb6ee0ac1f8 >> change-id: 20240116-mt8183-kukui-cbas-remove-657b62aeced6 >> >> Best regards, >
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi index b6a9830af269..bfb9e42c8aca 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi @@ -360,6 +360,10 @@ pen_eject { }; &cros_ec { + cbas { + compatible = "google,cros-cbas"; + }; + keyboard-controller { compatible = "google,cros-ec-keyb-switches"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi index 306c95166f3f..5c1bf6a1e475 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi @@ -339,6 +339,10 @@ touch_pin_reset: pin_reset { }; &cros_ec { + cbas { + compatible = "google,cros-cbas"; + }; + keyboard-controller { compatible = "google,cros-ec-keyb-switches"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi index 382e4c6d7191..0f5fa893a774 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi @@ -343,6 +343,10 @@ rst_pin { }; &cros_ec { + cbas { + compatible = "google,cros-cbas"; + }; + keyboard-controller { compatible = "google,cros-ec-keyb-switches"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index 5506de83f61d..66eb099e15f0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -937,10 +937,6 @@ usbc_extcon: extcon0 { google,usb-port-id = <0>; }; - cbas { - compatible = "google,cros-cbas"; - }; - typec { compatible = "google,cros-ec-typec"; #address-cells = <1>;