From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-174.mta0.migadu.com (out-174.mta0.migadu.com [91.218.175.174]) (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 E0EEC38A9AA for ; Tue, 10 Feb 2026 17:50:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770745843; cv=none; b=M+s7Y936/diEbyLoLZH0o+C0CHG8VjnVi4BaYdmEaapSqyoZ/xqkBebMpX6KPSLCafuO8SjWAZMmQaJ7BkcKWdlhpD7zkdXMOB9KDSLpIZ5ik3NrWTMSz8ktzxGFBCGNn/biw8Uvbes1i+53VBtxrjTAPbqEodQE+xqFkj5ZGg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770745843; c=relaxed/simple; bh=nYvm4UhHwCRyt4ugQfUKjDIo4rNO7pfyXU6Vbo39630=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Wxv4KllNUqMpl2vmslRfpm+2AuD42K/WMrVtGIdAxb2UYZJoiuifHHKE7b/x43BCFpiQ+H/OaN2s1NbGnEkWpvZnxdRWeE1EoMO/WC5QkBU7A0bfwk2tRx+HBIuRsn9u9ei/Rr9qNOFg3QZqL5rKoX0u9GHOoP3YV4zNFpmkoQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool; spf=pass smtp.mailfrom=packett.cool; dkim=pass (2048-bit key) header.d=packett.cool header.i=@packett.cool header.b=C+XgP9Qj; arc=none smtp.client-ip=91.218.175.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=packett.cool Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=packett.cool header.i=@packett.cool header.b="C+XgP9Qj" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=packett.cool; s=key1; t=1770745839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vpwc04aRqjCD/uWOIUUpe7lRfI+Q6uBKuFNge3A6DHc=; b=C+XgP9Qjjp22dxqvYSFqQGf85GvZXoMrDZrCAuao3TZb33VzrzJEpdnYpk2I/qZ47AOALv e4VXJzf9croDfI6pwIlce3CZVFkAoaUQUfye+1mkY2nNarHNZKbzZ68VKjqInmq7NBdTW0 6U+0KimQ4OLVodB1ezuTVaQ3l1GfRJ++M9aeef93Yp7fYJ9gh9v129FZ2y4MffGkQVt0HX O80jCMjc9QoM0zzIp04nM8L+I2HorxfeQXGq4UTIH3iabkjLGD8e6l+uqXIEoWp1gmI3No W162XNOTEvFr58qSVDSq0XgfCKO7jFkYjifpSqvLK9ogEg9B/BF8oAA4YZRb7g== From: Val Packett To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Val Packett , Laurentiu Tudor , "Bryan O'Donoghue" Cc: Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: x1-dell-thena: remove i2c20 (battery SMBus) and reserve its pins Date: Tue, 10 Feb 2026 14:45:28 -0300 Message-ID: <20260210175001.7691-2-val@packett.cool> In-Reply-To: <20260210175001.7691-1-val@packett.cool> References: <20260210175001.7691-1-val@packett.cool> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT i2c20 is used by the battmgr service on the ADSP to communicate with the SBS interface of the battery. Initializing it from Linux would break the battmgr functionality when booted in EL2. Mark those pins as reserved. Fixes: e7733b42111c ("arm64: dts: qcom: Add support for Dell Inspiron 7441 / Latitude 7455") Signed-off-by: Val Packett --- Wow.. I was pulling my hair out trying to figure out why I had the "broken battmgr in EL2" issue that absolutely no one else had on other laptops, turns out I did it to myself. --- arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi b/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi index fcf2845beb3c..255728970c1d 100644 --- a/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi @@ -982,12 +982,6 @@ &i2c8 { status = "okay"; }; -&i2c20 { - clock-frequency = <400000>; - - status = "okay"; -}; - &lpass_tlmm { spkr_01_sd_n_active: spkr-01-sd-n-active-state { pins = "gpio12"; @@ -1308,6 +1302,7 @@ right_tweeter: speaker@0,1 { &tlmm { gpio-reserved-ranges = <44 4>, /* SPI11 (TPM) */ <76 4>, /* SPI19 (TZ Protected) */ + <80 2>, /* I2C20 (Battery SMBus) */ <238 1>; /* UFS Reset */ cam_rgb_default: cam-rgb-default-state { -- 2.52.0