From nobody Fri Oct 2 10:09:53 2026 Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) (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 5EA5123183C for ; Sun, 2 Aug 2026 19:08:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.188 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785697697; cv=none; b=L6iMHUKyyBMOuPVHOdyubl71QEyQ+x+kGCUJYOO4zgMbyjAsPzTNgaAtxRnPElULBWRN8erM4BVSHJM82+L6Nxcjpgc2MJCR/y189yX2UzVDGM+6Az+qZlnJrUnqXLqiRoNf31OjQWDVYLXpFCQpETobBK7rRalDYA/Ew8JyCHQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785697697; c=relaxed/simple; bh=2hOmZdPlfBzKcHtwcK27rodmO/H/LByEIMeVmYI76r0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=u7ceWbWxJSWoi1PthwCnI8rN77cnhvjzTQ2F2uORltQi+dL4RmaLO+bj8ZNWnSfs2EQpWL2MwrWnbD1ZMc50B9ORuUym2Q7VgRFl07VdCDHxiezPRs6ZlgXV4PJMSuBW0VIPwfHzaP/kpCi1qY4NZb7f7+1NKJWRAfpfJVGZUlE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=cwVtQgf1; arc=none smtp.client-ip=95.215.58.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="cwVtQgf1" 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=postmarketos.org; s=key1; t=1785697688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NCeDnJm35+LyDL6EE/vXkfkMVeZz2GdJ2gAVeksgF8c=; b=cwVtQgf1m39N9bovnrEWwjoCe37yGmY6hPciRq/PfJHAICFIGuKZccUIxBhJ2Bfw8/RCnk 2FIy5x8BTm3dIbuCVwg6bGCquSBQ3w27Oafv20b9Yapkk7EEvOQpgBeLEDKKqcOSuDq2ku CSbC/xMt3qWHNNiXnXUrjSfSbNT8xXmb5ID2mJjfVq3tK1GvTInwPT4428qdPop+MrFcs5 0vZpJBWlzlmR0Chhrv8XcIknlNMhoTS1l6qwKwFHNZXOmGVeWqLnwA4TGHoKlyMrXznYnC dSjmWzozi/B4pxGC9tz0MKI0qsSgepGqANR6ep5LD7xByP9lh0VbG1vhkq5a2g== From: Paul Sajna Date: Sun, 02 Aug 2026 12:06:42 -0700 Subject: [PATCH] arm64: dts: qcom: sdm845-lg: fix sdcard pinctrl nodes 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: quoted-printable Message-Id: <20260802-judyln-sdcard-fix-v1-1-b3477cfc42cc@postmarketos.org> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXMQQrCQAyF4auUrBuYBm3Fq0gXcRLbFBllYkUpv btju/wevH8B12zqcK4WyPo2t0cqaOoK4shpUDQpBgrUhlMgnGb53hO6RM6CN/tgQ5E4HLhjOUL 5PbOWeWte+t0+XyeNr38I1vUH/GqU/nUAAAA= X-Change-ID: 20260802-judyln-sdcard-fix-12c2a04a7ad5 To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Anton Bambura , Stefan Hansson Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Heidelberg , Paul Sajna X-Developer-Signature: v=1; a=ed25519-sha256; t=1785697685; l=1870; i=sajattack@postmarketos.org; s=20250413; h=from:subject:message-id; bh=2hOmZdPlfBzKcHtwcK27rodmO/H/LByEIMeVmYI76r0=; b=AFOycZYR4EEw1U+zGFN8WNqUPPIrcnit6NfhcTP3n61vxYHgvZc6O43LEPwbRSJBl5TWtQvGk JYCmseMidMpARNlo8S7ToGE9lQDEvkQqxnpcBnsegtAaTk8THaqEmfh X-Developer-Key: i=sajattack@postmarketos.org; a=ed25519; pk=ZFE/UBqiz9Wr8b+zBL27opOjw5x5ket5JFqks/VQGeM= X-Migadu-Flow: FLOW_OUT sdcard was previously rather unreliable during boot on sdm845-lg-judyln Identified and applied correct settings from downstream lineageos kernel. Verified card was properly detected over 5 reboots with rootfs on sdcard. Refer to downstream: https://github.com/LineageOS/android_kernel_lge_sdm845= /blob/efa8458f79dffeb380d43b38b9403407f87d9f05/arch/arm64/boot/dts/qcom/sdm= 845-pinctrl.dtsi#L148-L303 Fixes: 28ae8aa3923c ("arm64: dts: qcom: add device tree for LG G7 and LG V3= 5") Signed-off-by: Paul Sajna Reviewed-by: David Heidelberg Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi b/arch/arm64/bo= ot/dts/qcom/sdm845-lg-common.dtsi index 5ac2e058827c..055d17e966be 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi @@ -581,33 +581,26 @@ &tlmm { sdc2_clk: sdc2-clk-state { pins =3D "sdc2_clk"; bias-disable; - - /* - * It seems that mmc_test reports errors if drive - * strength is not 16 on clk, cmd, and data pins. - * - * TODO: copy-pasted from mtp, try other values - * on these devices. - */ drive-strength =3D <16>; }; =20 sdc2_cmd: sdc2-cmd-state { pins =3D "sdc2_cmd"; bias-pull-up; - drive-strength =3D <16>; + drive-strength =3D <10>; }; =20 sdc2_data: sdc2-data-state { pins =3D "sdc2_data"; bias-pull-up; - drive-strength =3D <16>; + drive-strength =3D <10>; }; =20 sd_card_det_n: sd-card-det-n-state { pins =3D "gpio126"; function =3D "gpio"; bias-pull-up; + drive-strength =3D <2>; }; }; =20 --- base-commit: 415606a7be939835db9b0d6b711887586646346d change-id: 20260802-judyln-sdcard-fix-12c2a04a7ad5 Best regards, -- =20 Paul Sajna