Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp619753pxj; Fri, 14 May 2021 11:16:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/1XR4Zi9BTIipJtntzxQ58QLjSujCU+zNzg4f0pEjNJOclNKnrxxVKUwaqgPlVfilL8mw X-Received: by 2002:a05:6402:40d0:: with SMTP id z16mr8282861edb.104.1621016186370; Fri, 14 May 2021 11:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621016186; cv=none; d=google.com; s=arc-20160816; b=FqLonRw6cSiquFfpptp/HW1fdzwnG4FAQLj/LLlPESL46TOl6mulX6XtpNzoe1Yrz1 8+9n4dIFO7RnZoAaabeAbwpMvFHyc9CFAdvP9Wj0iMvxTxExOupJKbczV2pQ6jDtGVMR b66YQebq7/NBKDEsr4ECphulCqY6VBLzbEmySrWT2F9h/z1ybKF1ZXZEea3T4eGAafw/ e4gWH5oqEg3Rl+6tcuisv/SvgkGc7/DTVoeEH8iR7e2UjoKZzH8yiH+8yExvAu76DAie gDlUiD4Cv1UW7u9H/R5ure4SSAc1xpLEueUIlX3zxwxON3X0xgwRwVgNQVu83pFQAO/k cxvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LQYcCupFxg8InoP1/2l4FLzi8zH3ZsXDMqBqASZIVVw=; b=UoF8P8nLk0q09u98puAxUk2h4bCOjnLbzSQygxlgDVBg1eUUg321SQLKqebOYKMH7E 6mW9vfhlAwZPS+CRbaE4OB/1uuRHY7JBEzFr6kAoEX1CdVpl8u04Vn6dNYkaus6oTd6h nO6vXz94q8x5s1pKiu9fLPDqIp3zYGHkXKw/M6bs1aic16xmSKSJ2zMIXYGR9TqA/XGo o2/OOkAy2WNVVDiM5iCIqVSjSBCl4qFGeIUYM8A9M1h2EWd8kr/uLkGL358AIVIcVzjX gHybJj1nUcfEQ0tMe2z7RpyIuR331wYuK1eCNcIlP5PBXEb/w9cp1tdmdDmXhDtcgQX+ vl6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="h+oc/D3m"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si6390624eda.470.2021.05.14.11.16.00; Fri, 14 May 2021 11:16:26 -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; dkim=pass header.i=@chromium.org header.s=google header.b="h+oc/D3m"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232844AbhENMG3 (ORCPT + 99 others); Fri, 14 May 2021 08:06:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231839AbhENMG2 (ORCPT ); Fri, 14 May 2021 08:06:28 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39F6CC061574 for ; Fri, 14 May 2021 05:05:17 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id v11-20020a17090a6b0bb029015cba7c6bdeso1524490pjj.0 for ; Fri, 14 May 2021 05:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LQYcCupFxg8InoP1/2l4FLzi8zH3ZsXDMqBqASZIVVw=; b=h+oc/D3mYJDcntABEZ7Xencts0Pcq4IP1wsAn22ViNoE8u10MaXUcYFxtvJdiEfiV9 XrKR63MUl98qE31wy4jHiZXJQ9su4mubotYfQ8BdnhRvX2w546zD6PISKWPSNJypKdDd o5pPKzmyociU/gI83QN42ywVCdKDNG6V50DYE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LQYcCupFxg8InoP1/2l4FLzi8zH3ZsXDMqBqASZIVVw=; b=O579FrZv6YtRlAWfk64gzba4kOn/ewZz4rILv1gzZCbJBKQc4Fouz4y32pSWy0vDv7 1I/MDY/lPhvksDj2vMjs08dw2xFOo/wxKDqBIyak94CE4EatJiLmi1wPDMfFfW+rPuVl 7b+hwybBzwsjRMULBRXNq8USLXZty0b5Gg4xKl1vUPBYKsOVEhdqvaRyaJnun8DD2hAc Z4gi0z13jsj9fvWTCpx1g7kMRXtyfwoGB1SDMyWEUt0Fb686JTqkWFkNxxeZUv9trcfE jdilWtt22LWBpOzLrSxMMV/IsffiELBf77EYwmXUaPjIWdy57P+kgEzW372Zlypxwfgl 2UQA== X-Gm-Message-State: AOAM533nlfnksO35H0095dYk1WRL4og2qSjgRIpvhFl+LiuFjagu+f8h Hl9i8A1takE7M0iZeu1/d2z1cQ== X-Received: by 2002:a17:902:d508:b029:ef:b008:f4ad with SMTP id b8-20020a170902d508b02900efb008f4admr4040933plg.8.1620993916755; Fri, 14 May 2021 05:05:16 -0700 (PDT) Received: from ikjn-p920.tpe.corp.google.com ([2401:fa00:1:b:7641:4b1d:694e:6ea2]) by smtp.gmail.com with ESMTPSA id q24sm4117786pgb.19.2021.05.14.05.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 May 2021 05:05:16 -0700 (PDT) From: Ikjoon Jang To: devicetree@vger.kernel.org, Lee Jones Cc: Stephen Boyd , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Benson Leung , Guenter Roeck , Jiri Kosina , Enric Balletbo i Serra , Hsin-Yi Wang , Ikjoon Jang , Matthias Brugger , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v7 2/2] arm64: dts: mt8183: add cbas node under cros_ec Date: Fri, 14 May 2021 20:05:06 +0800 Message-Id: <20210514120506.264838-2-ikjn@chromium.org> X-Mailer: git-send-email 2.31.1.751.gd2f1c929bd-goog In-Reply-To: <20210514120506.264838-1-ikjn@chromium.org> References: <20210514120506.264838-1-ikjn@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a 'cbas' device node for supporting tablet 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 --- Changes in v7: - remove a label from cbas node - fix an erratum in commit message (table --> tablet) - dt-binding patchess merged altogether with mt8183 dts 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..1512605a438e 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>; }; + + cbas { + compatible = "google,cros-cbas"; + }; }; }; -- 2.31.1.751.gd2f1c929bd-goog