summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_stm32x7.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-05-04 23:05:23 +0200
committerAndreas Bießmann <andreas@biessmann.org>2016-06-12 23:49:38 +0200
commit152ac5fabf05daf6b0ae28f04d540b1e005c3ea1 (patch)
tree8c50ec7961e700472dedea8fcc8ba926ac122ee3 /drivers/serial/serial_stm32x7.h
parent6b3943f1b04be60f147ee540fbd72c4c7ea89f80 (diff)
downloadu-boot-imx-152ac5fabf05daf6b0ae28f04d540b1e005c3ea1.zip
u-boot-imx-152ac5fabf05daf6b0ae28f04d540b1e005c3ea1.tar.gz
u-boot-imx-152ac5fabf05daf6b0ae28f04d540b1e005c3ea1.tar.bz2
gpio: at91: Fix pullup/pulldown configuration on PIO3
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@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Josh Wu <josh.wu@atmel.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
Diffstat (limited to 'drivers/serial/serial_stm32x7.h')
0 files changed, 0 insertions, 0 deletions