[U-Boot] [PATCH v3] nios2 : convert altera_pio to driver model

Chin Liang See clsee at altera.com
Wed Sep 30 03:18:08 CEST 2015


Hi Thomas,

On Sat, 2015-09-26 at 17:07 +0800, thomas at wytron.com.tw wrote:
> Convert altera_pio to driver model.
> 
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> ---
> v2
>   fix ranges of pio in dts
>   fix coding style as Marek suggested.
> 
> v3
>   change gpio_count device tree binding.
> 
>  arch/nios2/dts/3c120_devboard.dts          |  41 ++++
>  arch/nios2/include/asm/gpio.h              |  80 +-------
>  board/altera/nios2-generic/nios2-generic.c |   7 -
>  configs/nios2-generic_defconfig            |   2 +
>  drivers/gpio/Kconfig                       |   7 +
>  drivers/gpio/altera_pio.c                  | 316 +++++++----------------------
>  include/configs/nios2-generic.h            |  20 --
>  7 files changed, 127 insertions(+), 346 deletions(-)
> 

Acked-by: Chin Liang See <clsee at altera.com>

Thanks
Chin Liang



More information about the U-Boot mailing list