[U-Boot] [PATCH] gpio: at91: Fix pullup/pulldown configuration on PIO3

Andreas Bießmann andreas at biessmann.org
Sun May 29 00:15:05 CEST 2016


On 04.05.16 23:05, Marek Vasut wrote:
> On systems with PIO3 (SAMA5D3/D4/..), the pullup and pulldown configuration
> is mutualy exclusive. This patch assures that the opposite pull resistor gets
> disabled before the requested pull resistor is enabled. This changes behavior
> of at91_set_pio_pulldown() such that the pullup is only disabled if pulldown
> is to be enabled. This changes behavior of at91_set_pio_pullup() such that
> the pulldown is only disabled if pullup is to be enabled.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Andreas Bießmann <andreas.devel at googlemail.com>
> Cc: Josh Wu <josh.wu at atmel.com>
> Cc: Simon Glass <sjg at chromium.org>

Reviewed-by: Andreas Bießmann <andreas at biessmann.org>


More information about the U-Boot mailing list