]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: atmel_pio4: give a full configuration when muxing pins
authorLudovic Desroches <ludovic.desroches@microchip.com>
Tue, 24 Apr 2018 07:16:01 +0000 (10:16 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:36 +0000 (09:07 -0400)
commit8ee54672df3d569e3e916b5fa270fab62df36cc4
tree81883147c1581124c4e2b0129e79512aeb6b771d
parent9ab66d0d207451a834a7995a45c018a6395fc160
gpio: atmel_pio4: give a full configuration when muxing pins

When a pin is muxed to a peripheral or as a GPIO, the only
configuration that can be set is the pullup. It is too restrictive
so this patch allows to give a full configuration.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
arch/arm/mach-at91/include/mach/atmel_pio4.h
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c
board/atmel/sama5d2_xplained/sama5d2_xplained.c
drivers/gpio/atmel_pio4.c