Skip to content

Exynos5: Add GPIO numbering feature

Przemyslaw Marczak u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest3 of 4 patches 0 repliesNew

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4EXYNOS5: Add gpio pin numbering feature+0 -01 reply
2/4S5P: Rename GPIO definitions+0 -00 replies
3/4EXYNOS5: GPIO: Support GPIO Command for EXYNOS5+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

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

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.

Quoted 33 lines · Akshay Saraswat

From: Akshay Saraswat <[email protected]>

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

Quoted 16 lines
  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

Signature · 4 lines
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com