Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5143338pxj; Wed, 9 Jun 2021 10:06:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIrvIArAQbx9UPelb6rH/unzCtMg51xwVojalqFTXcDkOQB0i0Qdvl63zmfDH0NkIY5AVJ X-Received: by 2002:a17:906:27d3:: with SMTP id k19mr817554ejc.368.1623258362129; Wed, 09 Jun 2021 10:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623258362; cv=none; d=google.com; s=arc-20160816; b=BACvWY8GxJsQKD+fPhdMGqdxOH3j6QVH2ZGveQlMT5mwdey2XwTo/Z5mBwa/1Jt2Cy Umb+cetDkOtoI8iRWyJ4Ya8vbh139xYmab4j5ydrluYjDRlykKBHA8e40JCcqoTRfXWY jcecxDA85MnlOLh2gneah67r5OH23qPAjk+E54EJ3lVNUzff8PhqKHv7tOyxCZ68OuoJ ENzYVzEw5HzH4PdIEZxdixjvVfoOkT8C3p1gu/z+mm03iRU2jtS+vqJdJdUW3W7J5tXD mswGd9a93aoXOjILhnrbiNmLG0Fx+ZAJC2SJa9chcnwPr6sftKIJm/Cs7Q2JhJEIPTwj JtRA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=MdYrW81rTRXOyPwwkBxz8oEi4fq6qdyXtGkz0juieDI=; b=Ej2/cncoAzD5mNwFDbjivQnsnWChpSoH1X+GTToKqmWOJzOU9JHac4QDlf5JD2W8Hj iJXj8FrziClsDwdvY29VplZOUd3c4zi2sletyA6phfoaxSx2TzYdb3nBuIHDpWyVXSTZ 38sNCkxUbX5FowOCZEqNrGEv7QSY928CRmQQgmiY9Jh07mLVt623JpSMCxOHON5eAQaI 20YCFbbtLis6nrtqDfdoTJRGYERt+prZA9QtN7wvbP4DgB2qoVD4qZWMCCx4mve77HvH FzE9l8N5xAYmHh9dO5jAZyolh5tiALaL8dNq/6t9Vh70lx2MXp7AmUp3Rjv7cX5JBMNo n3wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oM5dWCgh; 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 m9si306011ejj.377.2021.06.09.10.05.38; Wed, 09 Jun 2021 10:06:02 -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=oM5dWCgh; 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 S236398AbhFID21 (ORCPT + 99 others); Tue, 8 Jun 2021 23:28:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233629AbhFID2Z (ORCPT ); Tue, 8 Jun 2021 23:28:25 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2F80C061756 for ; Tue, 8 Jun 2021 20:26:18 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id h12so457393plf.4 for ; Tue, 08 Jun 2021 20:26:18 -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:mime-version :content-transfer-encoding; bh=MdYrW81rTRXOyPwwkBxz8oEi4fq6qdyXtGkz0juieDI=; b=oM5dWCghrtGmRy3vXH0k82IRuHsl9PMV9Y87AV1Zaz54x7HGdVWxu43tLv4fncOx0J xLZ2H3DhJKC69qT80S/baQirsqtrhIndxLA426DhYtYAxf6Mw1FHtoSedK8wbZGiucvj o9YaaLtkJFPA5CY8pD1jmQzI5pRtzS+CiRFVk= 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:mime-version :content-transfer-encoding; bh=MdYrW81rTRXOyPwwkBxz8oEi4fq6qdyXtGkz0juieDI=; b=Ls1dMu6vvcW5gdMhsYxgzcLaoe8WjLDMB4mOaaWXxWhq39kleRV7XOszFiQYGMOzh+ bedxxhxteqztPK3/8BvyK2HTDQQN1/SBtvR51E0fdXkdQsz9iVHmFet3bCB7E1yjqC/+ esyEhnEeI/C8AfCocJ8wGJ4VR9O/nzF3Un/AC4NYBIMqEb6zElRXY7COLp3rH6+C3Ldj 9IsU3AjvWydw3WaixY6MvWOLQzlrPxH+QWIiQlCRPdBB9EifPJ+QYMSrBfUWndx3cjjv 9zLM4Cm7nKM+RuPuWnl8uFwU2l06vsjCOqblvlNbK1KgWcWJ1y0qk8RPteE4az9ViAWZ zCeg== X-Gm-Message-State: AOAM530E+GCJNhUMkRJTgadf7qFH+MasiGX5nomPtQ7ytFKzy/FEx/dw sfPq3g7uAr8jiknURKN0k0YIpw== X-Received: by 2002:a17:90a:a41:: with SMTP id o59mr8087029pjo.203.1623209177949; Tue, 08 Jun 2021 20:26:17 -0700 (PDT) Received: from ikjn-p920.tpe.corp.google.com ([2401:fa00:1:10:2585:de55:d6c4:950c]) by smtp.gmail.com with ESMTPSA id 125sm11728635pfg.52.2021.06.08.20.26.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 20:26:17 -0700 (PDT) From: Ikjoon Jang To: Matthias Brugger , linux-mediatek@lists.infradead.org Cc: devicetree@vger.kernel.org, Guenter Roeck , Stephen Boyd , linux-arm-kernel@lists.infradead.org, Hsin-Yi Wang , Enric Balletbo i Serra , Rob Herring , linux-kernel@vger.kernel.org, Ikjoon Jang Subject: [PATCH] arm64: dts: mt8183: add cbas node under cros_ec Date: Wed, 9 Jun 2021 11:25:54 +0800 Message-Id: <20210609032554.2443675-1-ikjn@chromium.org> X-Mailer: git-send-email 2.32.0.rc1.229.g3e70b5a671-goog 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 Reviewed-by: Enric Balletbo i Serra Reviewed-by: Stephen Boyd --- Resend this as a spin-off, other patches for dt-binding and hid driver were applied. Link: https://lore.kernel.org/r/20210514122051.266169-1-ikjn@chromium.org/ Link: https://lore.kernel.org/r/20210415032958.740233-1-ikjn@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..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.32.0.rc1.229.g3e70b5a671-goog