Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2325847rdd; Fri, 12 Jan 2024 06:23:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYs+AcdBxHUnBnLKz82w1O6zFmAriwmPjGDHYKsB90IwLyeXza1ELjl0iOT4rYIbDpNWE+ X-Received: by 2002:a92:c110:0:b0:360:800c:9638 with SMTP id p16-20020a92c110000000b00360800c9638mr1136835ile.117.1705069438675; Fri, 12 Jan 2024 06:23:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705069438; cv=none; d=google.com; s=arc-20160816; b=G4+aD9HQq8oJ1IByQ1Bv7pN6h4n6wvujFM6fz6YE1yOiF9C6JqpD3ZNG79Vdfqrqu6 0uJ6wqb0plOifD/OitGXLBQPkJTB5sdHZZuskRSiHyDunGp0vo2Xh8/N+T1B4Z+STvMq T4ae2v8nxfReqyW7xp8L1evMdH7pqoW1mtjou9wR+13wd/ycsnllZZf+Y5JetqzQgUmV UUvsRu2BYwztSzG4i3ezzsKazZcCDtJqbwKfQz/bQLvPRKsbz3FWm5j+U1R26RzEbV0/ aibMzVMFRo74UT8xvhHiBfgmv7bLatwCyEJ2cvyC2OV40w7WeOjOP233idJaijtWAzM1 80EQ== 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=JzjRm5CmUHtKY7/maYZZnos4VHDfHigbtWtqgQqR1mU=; fh=5UJDCyke1+1hefvEQOKwUCXMlpjtw59nXw0NXfR3jZs=; b=Tv4RbEEEfb+TpCRxigZnvPaTxK2CuFLhFxfj3wWiQWSs5AzvBGKcELM1mit+Z43iLm E/wyOTT3wGSXY8R95bK2SoWEcYTP/9LB7buFlqdkrwDpJXX+EBbt1HNT6pDh7xt+p6x9 grapH/iNlwk/NiHlYCtUM9YZ00JYBxj9lHM76uKDbxoMWaUAneTCVySoLuHoM0KcWEdv j8vM4uOPxboyuP0fT2tKsSL4xIzqvFu9n7567d1r7YAeqOOeZ1ENQHQzXRtLr5YVFkaB S+9gbE/FErh38F0qpurm6Wj1geTTZF83BwKxs4ZH201X3+UOiKeHtz4AWHsfL62xYDlU lTQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=5IswpgLy; spf=pass (google.com: domain of linux-kernel+bounces-24736-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bn16-20020a056a02031000b005ad8009e304si3888505pgb.784.2024.01.12.06.23.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:23:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24736-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=5IswpgLy; spf=pass (google.com: domain of linux-kernel+bounces-24736-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24736-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 51D942864CD for ; Fri, 12 Jan 2024 14:23:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 564C36EB5B; Fri, 12 Jan 2024 14:22:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="5IswpgLy" 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 27AD46EB44; Fri, 12 Jan 2024 14:22:42 +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=1705069361; bh=2cBD3Lbpl2cRVVQBqOcu4sRyjCaGrfbaTxuW4Uf9u2k=; h=From:To:Cc:Subject:Date:From; b=5IswpgLyvJQ/mJIsfPnF4WKCupnP39c+fFVV1tvMQdxIs1duZkylkmsmdnG3dTY07 ffU5rLJyazvVoCGTVMnM3eI1JJm0HpPt9psFhDvT9Vei0roUZZ2t3EAY57K2jTcQfF F7kRJttqjHnpy/UQk0lHe9sBm1h4NRgMtwUUVSfD5Jad7f5ciCtGMD1RmEcoghPr5y qZrHeSFeACqYw1ZaOmdxbX+SfaPisa2qOCR3/8+qwIaHzvfy9gyO2SXFcKThx1NWf8 uBTVqheYQrpVpOLQRjPPjmPs8K7plC4OJJtWnsKT7fVp17PpmtDBihD+AtuR8wns9c 6WE44Hi7+6Wcg== 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 0605A3780624; Fri, 12 Jan 2024 14:22:35 +0000 (UTC) From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: AngeloGioacchino Del Regno , Matthias Brugger Cc: kernel@collabora.com, Chen-Yu Tsai , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , 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 v2] arm64: dts: mt8183: jacuzzi: Remove CrosEC base detection node Date: Fri, 12 Jan 2024 11:20:28 -0300 Message-ID: <20240112142032.909736-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. All machines in the jacuzzi family are either clamshells (ie normal laptops) or convertibles, 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 these machines, 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 --- Changes in v2: - Moved cbas node removal to jacuzzi dtsi arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index 7592e3b86037..8c9f7435cf4c 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -484,3 +484,6 @@ volup-btn-odl { }; }; +&cros_ec { + /delete-node/ cbas; +}; -- 2.43.0