All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: sc7280.dtsi: prevent garbage on serial port
@ 2025-06-26 13:23 Casey Connolly
  2025-06-27 14:39 ` Konrad Dybcio
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Casey Connolly @ 2025-06-26 13:23 UTC (permalink / raw)
  To: Bjorn Andersson, Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski,
	Rob Herring, cros-qcom-dts-watchers
  Cc: Stephan Gerhold, Casey Connolly, devicetree, linux-arm-msm

During early boot phases there can be garbage characters on the serial
RX port unless it is configured as pull-up. Add the pull-up bias and
mark the rx/tx pinconfs as being necessary for all boot phases.

Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 64a2abd30100..60e4a311405a 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -5742,13 +5742,16 @@ qup_uart4_rx: qup-uart4-rx-state {
 
 			qup_uart5_tx: qup-uart5-tx-state {
 				pins = "gpio22";
 				function = "qup05";
+				bootph-all;
 			};
 
 			qup_uart5_rx: qup-uart5-rx-state {
 				pins = "gpio23";
 				function = "qup05";
+				bootph-all;
+				bias-pull-up;
 			};
 
 			qup_uart6_cts: qup-uart6-cts-state {
 				pins = "gpio24";
-- 
2.50.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-30  7:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-26 13:23 [PATCH] arm64: dts: qcom: sc7280.dtsi: prevent garbage on serial port Casey Connolly
2025-06-27 14:39 ` Konrad Dybcio
2025-06-27 14:51 ` Luca Weiss
2025-06-30  7:09 ` Stephan Gerhold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.