* [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
* Re: [PATCH] arm64: dts: qcom: sc7280.dtsi: prevent garbage on serial port
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
2 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2025-06-27 14:39 UTC (permalink / raw)
To: Casey Connolly, Bjorn Andersson, Conor Dooley, Konrad Dybcio,
Krzysztof Kozlowski, Rob Herring, cros-qcom-dts-watchers
Cc: Stephan Gerhold, devicetree, linux-arm-msm
On 6/26/25 3:23 PM, Casey Connolly wrote:
> 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>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sc7280.dtsi: prevent garbage on serial port
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
2 siblings, 0 replies; 4+ messages in thread
From: Luca Weiss @ 2025-06-27 14:51 UTC (permalink / raw)
To: Casey Connolly, Bjorn Andersson, Conor Dooley, Konrad Dybcio,
Krzysztof Kozlowski, Rob Herring, cros-qcom-dts-watchers
Cc: Stephan Gerhold, devicetree, linux-arm-msm
Hi Casey,
On Thu Jun 26, 2025 at 3:23 PM CEST, Casey Connolly wrote:
> 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.
Update the subject to remove ".dtsi"?
arm64: dts: qcom: sc7280: prevent garbage on serial port
Regards
Luca
>
> 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";
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sc7280.dtsi: prevent garbage on serial port
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
2 siblings, 0 replies; 4+ messages in thread
From: Stephan Gerhold @ 2025-06-30 7:09 UTC (permalink / raw)
To: Casey Connolly
Cc: Bjorn Andersson, Conor Dooley, Konrad Dybcio, Krzysztof Kozlowski,
Rob Herring, cros-qcom-dts-watchers, devicetree, linux-arm-msm
On Thu, Jun 26, 2025 at 03:23:30PM +0200, Casey Connolly wrote:
> 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;
I'd add bias-disable here to have consistent state applied to both pins
and not just the RX one.
Thanks,
Stephan
> };
>
> 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 [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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).