From patchwork Fri May 14 12:05:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ikjoon Jang X-Patchwork-Id: 12257601 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCB89C433ED for ; Fri, 14 May 2021 12:07:13 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60FD86141F for ; Fri, 14 May 2021 12:07:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60FD86141F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=07QYaQKUaqFTMeI5ZCLDiXMQhw7mvcCmDcWhL1Tkkz0=; b=cDtauogcB2jnB8YAWJ2cKM6Xt HnYIuKi+jP2OKcvJv4K4FTjyy7FEG+Z8GHI99FuRqE7JFTYsk164d4SzCMe26dl5F1/wNG3PZHRo5 HpUSkZu5sx7hOJny5BNOsaQekh4YnIp0yFemNh4jIutCoWW7i64JC8br7h8GZejgdMGrd5SdZiRQ9 hhY+nyOWxr+ARBTM5SR3S68yWNPS/vhdECYJo6slmH5rlogoJcNVDb8d3E3KZvk5AFVeSKA0mxF2o NLhY4KgrJRFgQmnR+krTUXuBiImceIvDP1tzhjnoKt6kDNx8esgrcwMn/jPzL+R05Q9imG6OJUZbN 4I+Oe06QA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhWZG-007zEI-C3; Fri, 14 May 2021 12:05:22 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhWZE-007zE4-Ps for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 12:05:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=LQYcCupFxg8InoP1/2l4FLzi8zH3ZsXDMqBqASZIVVw=; b=Vk5PvGdSZ/DEAGn0SSGUCbjpEd DNK7ypMDVsirMjl3zAQX05M+fQqqla7qOFHeo1QGBw9yEfWmAK9pq06422akvFBpyp2wbM/AQxggs Pz2zBRq28+CtaT1UqNTyy+9Pdv6G/pZXl7qiy/vfAJvWZrE6OSAilLmMb1xhIHF9KhcgPGBhpM8iE a8owyhfZfdTm02VqAYcFlRU/zNnnkeZAP04T+u0eSwODeiQ4ByeQ1x8HJ5hng6uEHkYL6KOafN3W8 Qw6dZIlKvyptFoPVyAbfl+swrEjsqUtBHCGnq9PpwHPE7SGJmybj8TjZOXYY1Wgxn/eaY0bYClKzu duxM13jw==; Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhWZC-00BxU5-26 for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 12:05:19 +0000 Received: by mail-pj1-x1033.google.com with SMTP id pi6-20020a17090b1e46b029015cec51d7cdso1523842pjb.5 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=dmM08ZNpa2IxqOXf+sNYGt9hs55N/SA3R1rmWoJLyJHsGWIld6SfE3CjhaLoUPSV5i xHO9+GyPVv4nfbnnP/XU5ZljF9DUqyR1EoHrQWbQmSVE/2mtdb25kodWNUTpIaLptua4 D+5KDxHSjigKv/AjwLwfMBW7/lDpy5r8aaEBIVGhy9NUmICENtJjJIcgqmRMxTHWQOqk p7hvp6ijiWuCayHRGiz9Rsnp3H8Zs/4NnVkXj8waesyWAb1UwodNhGYdk3Lowes4qWGU wbusPAI7GDk2CdRPkKBaVWVsoelQkZXL7r0CLgxVYhu+Vxr7YU0uNaeSIEBumRWBczRs Nrjg== X-Gm-Message-State: AOAM530XgLQQDT005hEmvfhl7qeecwvypK4GI0zmhEHPliXgq0jLFybg ZIdqfYE/uzvuuYfJ23Uq1loiqw== X-Google-Smtp-Source: ABdhPJxTGEutiLz4dIZ95IKEFr/dFQx3NVMgYvn0N6sOU8DscXO53wP3u6K6hMm1/3zSOWBZprpNdQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_050518_145211_3848664C X-CRM114-Status: GOOD ( 13.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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"; + }; }; };