[U-Boot] [U-Boot,v3] gpio: atmel: Add the PIO4 driver support

Andreas Bießmann andreas.devel at googlemail.com
Mon Nov 30 22:28:18 CET 2015


Dear Wenyou Yang,

Wenyou Yang <wenyou.yang at atmel.com> writes:
>The PIO4 is introduced from SAMA5D2, as a new version
>for Atmel PIO controller.
>
>Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
>---
>
>Changes in v3:
> 1./ add return to atmel_pio4_set_pio_output() to avoid compilation
>     warning.
>
>Changes in v2:
> 1./ update the macro definitions according to the latest datasheet.
> 2./ change the return value to -ENODEV.
> 3./ add check to port_base, pin and return -ENODEV.
> 4./ change the return value for set/get_pio_output/input function.
>
> arch/arm/mach-at91/include/mach/atmel_pio4.h |   48 +++++
> drivers/gpio/Kconfig                         |   11 +
> drivers/gpio/Makefile                        |    1 +
> drivers/gpio/atmel_pio4.c                    |  296 ++++++++++++++++++++++++++
> 4 files changed, 356 insertions(+)
> create mode 100644 arch/arm/mach-at91/include/mach/atmel_pio4.h
> create mode 100644 drivers/gpio/atmel_pio4.c

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list