From patchwork Thu Jan 11 19:53:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 187475 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1685919dyi; Thu, 11 Jan 2024 11:56:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMhIbIcAlyixViQV3S4vQSzomD7QkfLE9BDbPOKfC/BO93lP0SOrzJj7A5H3cFV0nOQhtM X-Received: by 2002:a25:c781:0:b0:dbd:affa:ef3a with SMTP id w123-20020a25c781000000b00dbdaffaef3amr205210ybe.6.1705002977612; Thu, 11 Jan 2024 11:56:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705002977; cv=none; d=google.com; s=arc-20160816; b=RaIJ70m5wOSPp2zpR9LD+hJUWbfFJMQYiEMJ9B9+InKTJwwAFLERbT0kvcBGaRl+TA p5GbOwuUCwb5d7JkIpit+KXHffm3d87awyfOiYOaaksPLXIrCw0eOQDj40WS1FnxbXBy +O69y6jQfxjNL1JyPwehLwvDVntQyRsHYZ/uouE6BG77XL3DTKyV+tAi+02nKZoHt3C0 RanDJotbYO0v+m03qDip3LjlHD/qDuG0nPHXZqVbRDSv8FDiNUUePUGhtA3t6LS2WsCK GUjq9yjxIA0gPp+4pHZP3//VfoEGZeNZYZrQbiJONoVuxBCPXH1EAsryfjvkR3Wd57WO gmpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=6TLPOhvUQxQxpHJYecTyjhD9JdQ3vTgQmkBcVauqkyg=; fh=TunzI3H8IdQgicl4zhvzINbnHFsfUPDMJMqydEEAebk=; b=WrRZw2aTQjfGAjxeI71Cpzfq66xw1P/R4+7s0C+e9vacDbYmHKC+PMEfeW6Nfuf8ZU AjreFo8y4EdOMpfHtULBAXILuPoRdEZNe6dqAVn+7VKrqZvqzbWr1uG5V1FBGeD+aL3a XFukg4cc9vZpanl0vtohBTJo6ySqxX3uIFBvOlxnOilHhufZx4CO+V17ipgEQVwHTzZi NV+LgP3OJFrvX0Oc2ykrrrRS0pwUhzIIBMpKw4nQa4zNrTlnIHU2z5uHHlw5dHJ1U1Jy 4h92LbpluFpLKqC/HDJ92WIJmRBMMdP07ibtg50Ys4ILdDp0hgwo343lEwhUBKBwGsou KmjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vXUnY8To; spf=pass (google.com: domain of linux-kernel+bounces-24020-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24020-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v4-20020a05622a144400b00429a3b092d1si1592216qtx.148.2024.01.11.11.56.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 11:56:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24020-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vXUnY8To; spf=pass (google.com: domain of linux-kernel+bounces-24020-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24020-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 65E931C211B6 for ; Thu, 11 Jan 2024 19:56:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E8AC56B7C; Thu, 11 Jan 2024 19:55:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="vXUnY8To" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAE115676A; Thu, 11 Jan 2024 19:55:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705002944; bh=SmeOEDSBky71Md5WcIgFutmSu6F+tVl6/qd5e5Nr00I=; h=From:To:Cc:Subject:Date:From; b=vXUnY8TokOIid07j7JM3xAa6tWdwjj2xyHSGuAXP1cTmJrPb+dtU9lKsB3GINxata uuEkniEOyCZ+2jDJ1Oor6r9Z9D5oecP/6jjVjT0/NytnnbtvFBp84swvmWtXpzVap6 2tzb9d3AIWMTzvDV+JXpsJyZDuDb3ql2UTdv04Uo07yd+Rfjoe7taQYgl3RQnhkyis maRheIu04/BTdEN+WxUapufoIdG+H51lE+53vrQiOsXSuq2YE0LoKOuzAW9+VeAFZQ IN81QP0RDna7P9+REF+hROxy82SpudMNKHzeQubyYQqHezxy9bXqatha62wQs6F3Kv 5fC+RDYnksbfg== Received: from localhost.localdomain (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 madrid.collaboradmins.com (Postfix) with ESMTPSA id 35F703780894; Thu, 11 Jan 2024 19:55:39 +0000 (UTC) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: AngeloGioacchino Del Regno , Matthias Brugger Cc: kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Conor Dooley , Enric Balletbo i Serra , Ikjoon Jang , Krzysztof Kozlowski , Rob Herring , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] arm64: dts: mt8183: juniper: Remove CrosEC base detection node Date: Thu, 11 Jan 2024 16:53:12 -0300 Message-ID: <20240111195335.871096-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787825202082788281 X-GMAIL-MSGID: 1787825202082788281 The cbas node is used to describe base detection functionality in the ChromeOS EC, which is used for units that have a detachable keyboard and thus rely on this functionality to switch between tablet and laptop mode. The juniper-sku16 machine is a convertible, meaning the keyboard can be flipped but not detached. The detection for the keyboard getting flipped is handled by the driver bound to the keyboard-controller node in the EC. Since there is no base detection in this machine, and the device backed by this node fails to probe and goes unused, delete the node from the DT. Fixes: 4fa8492d1e5b ("arm64: dts: mt8183: add cbas node under cros_ec") Signed-off-by: NĂ­colas F. R. A. Prado --- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts index 8ac6bf5b17f9..8096ca215258 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts @@ -13,3 +13,6 @@ / { compatible = "google,juniper-sku16", "google,juniper", "mediatek,mt8183"; }; +&cros_ec { + /delete-node/ cbas; +};