]> git.baikalelectronics.ru Git - uboot.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)
commit4a2af9314615d4593303f9819195b3992fbcf9d1
tree81883147c1581124c4e2b0129e79512aeb6b771d
parent91f3037091854bccecf8e75bd273d02f130afc6c
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