[U-Boot] [PATCH v3] AT91: pio: Add PIO3 features

Hong Xu
2011-11-21T02:21:26Z

ping ...

BR,
Eric

On 11/16/2011 06:47 PM, Hong Xu wrote:
> This patch adds the support for new PIO controller introduced by some
> AT91 SoCs.
>
> New features include
> * More peripheral multiplexing
> * Pull-down, Schmitt trigger, Debouncer
> * More irq trigger mode (may be not interesting in U-Boot)
>
> Signed-off-by: Hong Xu <hong.xu@atmel.com>
> ---
> Change for v3
> * CONFIG_CPU_HAS_PIO3 -> ATMEL_CPU_HAS_PIO3
> PIO3 is a feature of CPU, not a configuration item
>
> arch/arm/include/asm/arch-at91/at91_pio.h | 48 ++++++++++-
> drivers/gpio/at91_gpio.c | 130 +++++++++++++++++++++++++++-
> 2 files changed, 171 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-at91/at91_pio.h
> b/arch/arm/include/asm/arch-at91/at91_pio.h
> index 416cabf..069368d 100644
> --- a/arch/arm/include/asm/arch-at91/at91_pio.h
> +++ b/arch/arm/include/asm/arch-at91/at91_pio.h
> @@ -4,6 +4,7 @@
> * Copyright (C) 2005 Ivan Kokshaysky
> * Copyright (C) SAN People …