Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1025071rdg; Fri, 13 Oct 2023 08:08:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHcIYd3P0QoqYsm/Ccx7wP6ENClPdtw11t7jTEQ1Bi2kP/0kUj/apXjkzwW3g/6FtP05ooe X-Received: by 2002:a17:90a:d386:b0:27d:9ed:96fc with SMTP id q6-20020a17090ad38600b0027d09ed96fcmr7237263pju.29.1697209682469; Fri, 13 Oct 2023 08:08:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697209682; cv=none; d=google.com; s=arc-20160816; b=ETzV1X95pniFR9adYayUmHEcTLFqX8K6m2KeQLV77KlIaK72YAhckoEogBasNlGq4D G1Y75pYF1xTReqFOuJMvHHlT8RP6aBRiXgyk4I2/N5yBHJFl9JaKJ4VemYP/4c4xGI0+ whGvDM4+7uFGiFBY9omigImodZ4KSYBcxJ5fiAXRVfor8YkkYXOgoojjWbKKcCWfiuZ+ Ii/nZCd2DUYDoHG+mciihfdCayAuTyK71thtACrQ0peoS5O0WUItIEGYqtYeC+mK4G3t DI9HVvbl2q441GGKqy0thM4cWoAn0s1JNg/7lJ1+bKWtDgbJZEBGVNTpi7dty/f1d/At ROIA== 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=ruH46/Sv5ry9MQrljpI9Fl9XOAOSQSv72qxbvgXgtX8=; fh=vzDQQdDYy6llRLh5R0Oom11+vAvFueXdn1u9dg6OWkc=; b=ijdrsSwi9qpE9M+4jssPAecbhjObZqPfF+ZRPnIqXVX1kz3qhXJV8BY9VHe5HW65nh MFmF3lbddZdFbwk2W+p43KpqJps9WPMxR/xVEyF3rhvtaQRgc2FQJoAVP2MFJOmRA2LH w02Jc/BgrPCUmop/AiY7pf6GvblhuaJ6OMsjz923iZtGekgVomatt7QT+wio4cdMaq6p Use2q8mIQiA7xx9VjyxGSjSEgvw2bnlaOdVrH+OJFN8hlsr3XRaF7uVKs7WJdScpEX/k HavYE8CVikrJ3uqqpvLkehykCbXQzyKagBE7q/GhyIcs8DKF/SwvDhRmSTsAjruthrGn DsDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gNe5ra6S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id mi8-20020a17090b4b4800b0027cde7f5860si301578pjb.30.2023.10.13.08.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 08:08:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gNe5ra6S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C719C80C6DE0; Fri, 13 Oct 2023 08:07:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232251AbjJMPHl (ORCPT + 99 others); Fri, 13 Oct 2023 11:07:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230373AbjJMPHk (ORCPT ); Fri, 13 Oct 2023 11:07:40 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A0E4BD; Fri, 13 Oct 2023 08:07:37 -0700 (PDT) Received: from notapiano.myfiosgateway.com (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 madras.collabora.co.uk (Postfix) with ESMTPSA id 02377660731E; Fri, 13 Oct 2023 16:07:33 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697209655; bh=KENb6WnDrYEIv2tlDoQvqvhs4xHUGs9UXkMbd8bq8HE=; h=From:To:Cc:Subject:Date:From; b=gNe5ra6S/GCUHQiYbmDocwcriA4LrHATwxyGJWNY9fFpxT3CIgJdlrKcY0Uy0Khvw djPpT82RXWmws+oEHWKvrTMRhRjXmcxW2D6guBRX2nfRTatZGqYw7+6tKPSDyn3MSO 2J8qVXPOGft/KwQahO9ffeE5TrL33P87geTiqf0JqfekkrdkmWKormxIzzXn/6Kub1 e1yPci12wiV2so5j1xGqDkAiziV711S4ue0TGDWlaUAi3yPrYgJhmdbhbsm/T2V9H5 L+bRkuSuTVfy0FmFtdC3Y+JEcepB0BaG7EiQk8ThtbIAMsLsfcqcnKlWCZp5LsUT6m JWKmBgnm8ekQw== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: AngeloGioacchino Del Regno , Matthias Brugger Cc: Chen-Yu Tsai , kernel@collabora.com, =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] arm64: dts: mediatek: mt8192-asurada: Remove CrosEC base detection node Date: Fri, 13 Oct 2023 11:06:38 -0400 Message-ID: <20231013150729.750609-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 13 Oct 2023 08:07:48 -0700 (PDT) The commit adding the ChromeOS EC to the Asurada Devicetree mistakenly added a base detection node. While tablet mode detection is supported by CrosEC and used by Hayato, it is done through the cros-ec-keyb driver. The base detection node, which is handled by the hid-google-hammer driver, also provides tablet mode detection but by checking base attachment status on the CrosEC, which is not supported for Asurada. Hence, remove the unused CrosEC base detection node for Asurada. Fixes: eb188a2aaa82 ("arm64: dts: mediatek: asurada: Add ChromeOS EC") Signed-off-by: NĂ­colas F. R. A. Prado --- Chen-Yu, if you could test this on Hayato just to be extra sure tablet mode detection still works fine, that'd be appreciated as I don't have access to one. That said, I've tested on Tomato which should behave exactly the same so I'm confident this node was entirely unused. Thanks, NĂ­colas arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi index f2281250ac35..02ce05bc151a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi @@ -1336,10 +1336,6 @@ cros_ec: ec@0 { #address-cells = <1>; #size-cells = <0>; - base_detection: cbas { - compatible = "google,cros-cbas"; - }; - cros_ec_pwm: pwm { compatible = "google,cros-ec-pwm"; #pwm-cells = <1>; -- 2.42.0