[U-Boot] [PATCH v6 0/4] Exynos5: Add GPIO numbering feature

Przemyslaw Marczak p.marczak at samsung.com
Mon Apr 14 11:31:19 CEST 2014


Hello Akshay,
I tried to test your patches but build breaks for trats2 and trats 
configs. You didn't change some old gpio code in those boards files.
Please fix this.

On 04/12/2014 11:43 AM, Akshay Saraswat wrote:
> From: Akshay Saraswat <akshay.s at samsung.com>
>
> Changes in V2:
> 	- Enabled CMD_GPIO as suggested by Simon Glass
> 	  and supported same for EXYNOS5.
> Changes in V3:
> 	- New patch added to rename S5P GPIO definitions
> 	  to S5P_GPIO.
> 	- GPIO Table added to calculate the base address
> 	  of input gpio bank.
> Changes in V4:
> 	- To have consistent 0..n-1 GPIO numbering the banks
> 	  are divided into different parts where ever they
> 	  have holes in them.
> 	- Function and table to support gpio command moved
> 	  to s5p-gpio driver.
> 	- Rebased on latest u-boot-samsung tree.
> Changes in V5:
> 	- Rebased on latest u-boot-samsung tree.
> 	- Removed Exynos5 specific code in gpio driver api to
> 	  get bank.
> 	- Added #define HAVE_GENERIC_GPIO in config file
> 	  to remove conditinal CPU check in gpio driver.
> Changes in V6:
> 	- Isolated config changes in a new patch.
> 	- Updated patches with corresponding changes for Exynos 5420.
>
> Rajeshwari Shinde (4):
>    S5P: Rename GPIO definitions
>    EXYNOS5: Add gpio pin numbering feature
>    EXYNOS5: GPIO: Support GPIO Command for EXYNOS5
>    Config: Exynos5: Enable Generic GPIO and CMD configs
>
>   arch/arm/cpu/armv7/exynos/pinmux.c       | 355 ++++++--------
>   arch/arm/include/asm/arch-exynos/cpu.h   |  17 +-
>   arch/arm/include/asm/arch-exynos/gpio.h  | 796 ++++++++++++++++++++++++++++++-
>   arch/arm/include/asm/arch-s5pc1xx/gpio.h |  26 +-
>   board/samsung/goni/goni.c                |   4 +-
>   board/samsung/smdk5250/exynos5-dt.c      |  20 +-
>   board/samsung/smdk5250/smdk5250.c        |  19 +-
>   board/samsung/smdk5420/smdk5420.c        |  15 +-
>   board/samsung/smdkc100/smdkc100.c        |   2 +-
>   board/samsung/smdkv310/smdkv310.c        |  10 +-
>   board/samsung/trats/trats.c              |   6 +-
>   board/samsung/universal_c210/universal.c |  34 +-
>   drivers/gpio/s5p_gpio.c                  | 169 ++++++-
>   include/configs/exynos5-dt.h             |   3 +
>   14 files changed, 1157 insertions(+), 319 deletions(-)
>

Thanks
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com


More information about the U-Boot mailing list