All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] colibri-vf: Disable pull-up configuration in GPIO pin mux
@ 2016-02-24  8:33 Bhuvanchandra DV
  2016-03-02 13:48 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Bhuvanchandra DV @ 2016-02-24  8:33 UTC (permalink / raw)
  To: u-boot

During very early boot-ROM execution the pinmux
configuration isi in Hi-Z state. If pull-up is enabled
on GPIO pad's there will be a short period of toggle
from high to low on the IO when GPIO is set low during
boot. To avoid this glitch, disable pull-up configuration
in GPIO pinmux.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
---
 arch/arm/include/asm/arch-vf610/iomux-vf610.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/arch-vf610/iomux-vf610.h b/arch/arm/include/asm/arch-vf610/iomux-vf610.h
index 0e2bd53..a140be0 100644
--- a/arch/arm/include/asm/arch-vf610/iomux-vf610.h
+++ b/arch/arm/include/asm/arch-vf610/iomux-vf610.h
@@ -34,7 +34,7 @@
 				PAD_CTL_PUS_22K_UP | PAD_CTL_OBE_IBE_ENABLE)
 
 #define VF610_GPIO_PAD_CTRL	(PAD_CTL_SPEED_MED | PAD_CTL_DSE_50ohm | \
-				PAD_CTL_PUS_47K_UP | PAD_CTL_IBE_ENABLE)
+				PAD_CTL_IBE_ENABLE)
 
 #define VF610_DSPI_PAD_CTRL	(PAD_CTL_OBE_ENABLE | PAD_CTL_DSE_20ohm | \
 				PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_HIGH)
-- 
2.7.1

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

* [U-Boot] [PATCH] colibri-vf: Disable pull-up configuration in GPIO pin mux
  2016-02-24  8:33 [U-Boot] [PATCH] colibri-vf: Disable pull-up configuration in GPIO pin mux Bhuvanchandra DV
@ 2016-03-02 13:48 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2016-03-02 13:48 UTC (permalink / raw)
  To: u-boot

On 24/02/2016 09:33, Bhuvanchandra DV wrote:
> During very early boot-ROM execution the pinmux
> configuration isi in Hi-Z state. If pull-up is enabled
> on GPIO pad's there will be a short period of toggle
> from high to low on the IO when GPIO is set low during
> boot. To avoid this glitch, disable pull-up configuration
> in GPIO pinmux.
> 
> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
> ---
>  arch/arm/include/asm/arch-vf610/iomux-vf610.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/include/asm/arch-vf610/iomux-vf610.h b/arch/arm/include/asm/arch-vf610/iomux-vf610.h
> index 0e2bd53..a140be0 100644
> --- a/arch/arm/include/asm/arch-vf610/iomux-vf610.h
> +++ b/arch/arm/include/asm/arch-vf610/iomux-vf610.h
> @@ -34,7 +34,7 @@
>  				PAD_CTL_PUS_22K_UP | PAD_CTL_OBE_IBE_ENABLE)
>  
>  #define VF610_GPIO_PAD_CTRL	(PAD_CTL_SPEED_MED | PAD_CTL_DSE_50ohm | \
> -				PAD_CTL_PUS_47K_UP | PAD_CTL_IBE_ENABLE)
> +				PAD_CTL_IBE_ENABLE)
>  
>  #define VF610_DSPI_PAD_CTRL	(PAD_CTL_OBE_ENABLE | PAD_CTL_DSE_20ohm | \
>  				PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_HIGH)
> 

As fix, applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

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

end of thread, other threads:[~2016-03-02 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-24  8:33 [U-Boot] [PATCH] colibri-vf: Disable pull-up configuration in GPIO pin mux Bhuvanchandra DV
2016-03-02 13:48 ` Stefano Babic

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.