Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp478966pxj; Fri, 14 May 2021 08:05:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMvIcTS97JA9Tfnr9omXlHWRNBnQguY1yHBi5Ju/4kcFEQancl7m8jcHBDBAt0nYeyrFIl X-Received: by 2002:aa7:d84e:: with SMTP id f14mr56896246eds.220.1621004749195; Fri, 14 May 2021 08:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621004749; cv=none; d=google.com; s=arc-20160816; b=RvFc8qdz86+1mhywX5MIQWvmBHPNWIVYpmZdCRE+0V9Hk5rfwy2xb5O5+fpuqkZpC5 FpqqMoRW/APaKf0OPwya0v+8q3O3ppUSXRoyHLT110yX8rQJtI2VHduroLRBpAZvd9wc VuGeT33lnz9R2LWr689sdySzceoA4qRHjUsApmVmApaCkomDiRfu3pVNeH+BGZ90gMGt TF25b/8mDVR/26U/Z8+J/BhcdonYyw15sJvfTqlzrO+l/M8UKSxTUe6yFXw4B6GWMmra Pgo6lemw1bHuBt74ca1eTAREvLCUVENFLLr56SqgdpKwoXh/nOtvo8Zu5BoP+DpL8YOi vyAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=1sOhhft2cvrnQj2ja0Hg2Dl3P0atV6mOwL8KaCpEStQ=; b=Z3oq4OAt9U1vk2ng0ESI8Mazdr+fUF6mOjHmnqhifQA3bZYlzk+1z/qf9NS/MXREix wlQl880tZWxOLARYBQbrC4FrYD55mhNiLRC/CZ7F8uTxdPPhP21WoYXx/H2IzFLn0gXM UU4hZQG1o9AdQ+oZo/ZW0T1upZXNWH/534xNVWWFAvt6DUkd4/t9f1kC+bu92wy/CrXv 0LfQqeh/nq31ZWT8aMgT2ZMAPDHRXo9eoZU6sJMU/KC7bXcimPfeY0BNzWDqWQIcydyj mkRsTIAuwg5Gw5GxWBnpdlaIrs3LewUBhJLnNvh9StAXBNDX2lnTyxrVBX7aBvPOveS1 RBLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si7732237eje.114.2021.05.14.08.05.23; Fri, 14 May 2021 08:05:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233720AbhENI4T (ORCPT + 99 others); Fri, 14 May 2021 04:56:19 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:49734 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230478AbhENI4S (ORCPT ); Fri, 14 May 2021 04:56:18 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 2055F1F430D3 Subject: Re: [PATCH] arm64: dts: mt8183: add cbas node under cros_ec To: Ikjoon Jang , Matthias Brugger Cc: Jiri Kosina , Rob Herring , "moderated list:ARM/Mediatek SoC support" , linux-input@vger.kernel.org, Benjamin Tissoires , Hsinyi Wang , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Mediatek SoC support" , open list References: <20210510092631.3141204-1-ikjn@chromium.org> From: Enric Balletbo i Serra Message-ID: Date: Fri, 14 May 2021 10:55:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ikjoon, Thank you for the patch. On 13/5/21 3:45, Ikjoon Jang wrote: > On Thu, May 13, 2021 at 12:38 AM Matthias Brugger > wrote: >> >> Hi Ikjoon, >> >> On 10/05/2021 11:26, Ikjoon Jang wrote: >>> Add a 'cbas' device node for supporting table mode switch in > > tablet > >>> 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 >>> --- >>> >>> 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 { This should be just cbas, remove base_detection. It was a bit confusing follow these series. If [v5, 2/2] is already applied in hid tree, I'd suggest send a v7 version including: [v7, 1/2] mfd: google,cros-ec: add DT bindings for a baseboard's switch device [v7, 2/2] arm64: dts: mt8183: add cbas node under cros_ec Both patches can go through the Matthias tree, but the first one also needs an Ack from Lee Jones, MFD maintainer, which I think is not cc'ied, so unlikely to give you the needed ack. Thanks, Enric >>> + 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. > > Yep, that's correct. > Let me resend this with v2 after the dt-binding patch is applied. > > In this series, I requested queueing these to hid tree: > > [v5, 1/2] mfd: google,cros-ec: add DT bindings for a baseboard's switch device > https://patchwork.kernel.org/project/linux-input/patch/20210415032958.740233-2-ikjn@chromium.org/ > > [v5, 2/2] HID: google: Add of_match table to Whiskers switch device. > https://patchwork.kernel.org/project/linux-input/patch/20210415032958.740233-3-ikjn@chromium.org/ > > Later I found that I missed a comment from [v5, 1/2] > But only [v5, 2/2] part is already applied to hid tree as I asked for it. > > I sent a v6 dt-binding patch is here (not yet applied) > https://patchwork.kernel.org/project/linux-input/patch/20210512100832.3878138-1-ikjn@chromium.org/ > >> >> Thanks, >> Mathias >> >>> + }; >>> }; >>> }; >>> >>>