From: Monish Chunara <monish.chunara@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
pradeep.pragallapati@oss.qualcomm.com,
nitin.rawat@oss.qualcomm.com, mani@kernel.org,
Monish Chunara <monish.chunara@oss.qualcomm.com>
Subject: [PATCH] arm64: dts: qcom: glymur-crd: Add pull-up for SD card detect
Date: Wed, 28 Oct 2026 18:44:20 +0530 [thread overview]
Message-ID: <20261028-gly_spu-v1-1-1b5b4e1f8341@oss.qualcomm.com> (raw)
The SD card detect signal is active low and requires a defined high
level when no card is inserted. With the GPIO bias disabled, the
card-detect input can be left floating and result in spurious
interrupts.
Enable the internal pull-up on the SD card detect GPIO to keep the
signal at a defined level when the card is absent and avoid spurious
card-detect interrupts.
Signed-off-by: Monish Chunara <monish.chunara@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/glymur-crd.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/glymur-crd.dtsi b/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
index 58158b51fe29..a8f9425d8c77 100644
--- a/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
@@ -1110,7 +1110,7 @@ sdc2_card_det_n: sd-card-det-n-state {
pins = "gpio221";
function = "gpio";
drive-strength = <2>;
- bias-disable;
+ bias-pull-up;
};
tpad_default: tpad-default-state {
---
base-commit: 151a134a4e6ec66f69db8750c66006f5207f7a9d
change-id: 20261028-gly_spu-96f0315a3d99
Best regards,
--
Monish Chunara <monish.chunara@oss.qualcomm.com>
next reply other threads:[~2026-10-28 13:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 13:14 Monish Chunara [this message]
2026-10-28 13:20 ` Konrad Dybcio
2026-10-28 15:36 ` Abel Vesa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261028-gly_spu-v1-1-1b5b4e1f8341@oss.qualcomm.com \
--to=monish.chunara@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
--cc=nitin.rawat@oss.qualcomm.com \
--cc=pradeep.pragallapati@oss.qualcomm.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®