All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: at91: sama7g5ek: enable pull-up for serial debug line
@ 2021-01-28  8:14 Eugen Hristev
  2021-02-11  7:28 ` Eugen.Hristev at microchip.com
  0 siblings, 1 reply; 2+ messages in thread
From: Eugen Hristev @ 2021-01-28  8:14 UTC (permalink / raw)
  To: u-boot

If the serial tx/rx are floating, it can happen that bogus characters
are detected on the line at boot time. This leads to U-boot accidentally
thinking someone pressed a key to stop autoboot, thus stopping booting process.
This can happen if the serial cable is not connected. There are hardware
pull-ups on the board connected to serial cable VBUS.
To solve this when the cable is not plugged, enable internal pull-ups as well
for the tx/rx lines.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/dts/sama7g5ek.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts
index ff9c9eb45c..3a4fdd38a5 100644
--- a/arch/arm/dts/sama7g5ek.dts
+++ b/arch/arm/dts/sama7g5ek.dts
@@ -122,7 +122,7 @@
 	pinctrl_flx3_default: flx3_default {
 		pinmux = <PIN_PD16__FLEXCOM3_IO0>,
 			 <PIN_PD17__FLEXCOM3_IO1>;
-		bias-disable;
+		bias-pull-up;
 	};
 
 	pinctrl_sdmmc0_cmd_data_default: sdmmc0_cmd_data_default {
-- 
2.25.1

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

* [PATCH] ARM: dts: at91: sama7g5ek: enable pull-up for serial debug line
  2021-01-28  8:14 [PATCH] ARM: dts: at91: sama7g5ek: enable pull-up for serial debug line Eugen Hristev
@ 2021-02-11  7:28 ` Eugen.Hristev at microchip.com
  0 siblings, 0 replies; 2+ messages in thread
From: Eugen.Hristev at microchip.com @ 2021-02-11  7:28 UTC (permalink / raw)
  To: u-boot

On 28.01.2021 10:14, Eugen Hristev wrote:
> If the serial tx/rx are floating, it can happen that bogus characters
> are detected on the line at boot time. This leads to U-boot accidentally
> thinking someone pressed a key to stop autoboot, thus stopping booting process.
> This can happen if the serial cable is not connected. There are hardware
> pull-ups on the board connected to serial cable VBUS.
> To solve this when the cable is not plugged, enable internal pull-ups as well
> for the tx/rx lines.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>   arch/arm/dts/sama7g5ek.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts
> index ff9c9eb45c..3a4fdd38a5 100644
> --- a/arch/arm/dts/sama7g5ek.dts
> +++ b/arch/arm/dts/sama7g5ek.dts
> @@ -122,7 +122,7 @@
>   	pinctrl_flx3_default: flx3_default {
>   		pinmux = <PIN_PD16__FLEXCOM3_IO0>,
>   			 <PIN_PD17__FLEXCOM3_IO1>;
> -		bias-disable;
> +		bias-pull-up;
>   	};
>   
>   	pinctrl_sdmmc0_cmd_data_default: sdmmc0_cmd_data_default {
> 

Applied to u-boot-atmel/master

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

end of thread, other threads:[~2021-02-11  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28  8:14 [PATCH] ARM: dts: at91: sama7g5ek: enable pull-up for serial debug line Eugen Hristev
2021-02-11  7:28 ` Eugen.Hristev at microchip.com

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.