Skip to content

at91: remove legacy GPIO API (part 1)

Andreas Bießmann u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4at91: add new gpio pin definitionsarch/arm/include/asm/arch-at91/gpio.h drivers/gpio/at91_gpio.c+24 -41 reply
1/4at91: add new gpio pin definitions+0 -00 replies
2/4at91: redefine legacy GPIO PIN_BASEarch/arm/include/asm/arch-at91/gpio.h+1 -10 replies
2/4at91: redefine legacy GPIO PIN_BASE+0 -00 replies
3/4at91: nand: switch atmel_nand to generic GPIO APIboard/BuS/vl_ma2sc/vl_ma2sc.c board/egnite/ethernut5/ethernut5.c board/esd/meesc/meesc.c +15 more+43 -372 replies
3/4at91: nand: switch atmel_nand to generic GPIO API+0 -00 replies
4/4at91: switch coloured LED to gpio APIarch/arm/cpu/arm926ejs/at91/led.c board/ronetix/pm9261/led.c board/ronetix/pm9263/led.c +3 more+26 -280 replies
4/4at91: switch coloured LED to gpio API+0 -00 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchBo ShenJens Scharsig (BuS Elektronik)Scott Wood
1/4T-b
1/4T-b
2/4
2/4
3/4A-b T-b A-b
3/4A-b T-b A-b
4/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] at91: remove legacy GPIO API (part 1)

This series adds new macros to name a GPIO, it uses again a single number (as the legacy at91_pio api does).
It converts the at91-nand and the at91-led stuff to use these new GPIO numbers. But it is not the whole thing at once, I have another RFC to add new portmux API which is more close to the hardware, it will work with a port number plus mask. This will be sent soon, but too late for 2014.01.

This series however had an RFC in the MW and will therefore end up in the 2014.01 release.

For all waiting on this change, I hopefully merge it next week and send another PR to Albert.

Andreas Bie?mann (4):
at91: add new gpio pin definitions
at91: redefine legacy GPIO PIN_BASE
at91: nand: switch atmel_nand to generic GPIO API
at91: switch coloured LED to gpio API

 arch/arm/cpu/arm926ejs/at91/led.c     |   16 +++++++---------
 arch/arm/include/asm/arch-at91/gpio.h |   26 ++++++++++++++++++++++++--
 board/BuS/vl_ma2sc/vl_ma2sc.c         |    5 +++--
 board/egnite/ethernut5/ethernut5.c    |    3 ++-
 board/esd/meesc/meesc.c               |    5 +++--
 board/esd/otc570/otc570.c             |    5 +++--
 board/eukrea/cpu9260/cpu9260.c        |    5 +++--
 board/ronetix/pm9261/led.c            |   14 +++++++-------
 board/ronetix/pm9261/pm9261.c         |    5 +++--
 board/ronetix/pm9263/led.c            |   10 +++++-----
 board/ronetix/pm9263/pm9263.c         |    5 +++--
 board/ronetix/pm9g45/pm9g45.c         |    5 +++--
 drivers/gpio/at91_gpio.c              |    4 +---
 drivers/mtd/nand/atmel_nand.c         |    8 +++-----
 include/configs/at91sam9n12ek.h       |    4 ++--
 include/configs/cpu9260.h             |    4 ++--
 include/configs/ethernut5.h           |    2 +-
 include/configs/meesc.h               |    4 ++--
 include/configs/otc570.h              |    4 ++--
 include/configs/pm9261.h              |   10 +++++-----
 include/configs/pm9263.h              |    8 ++++----
 include/configs/pm9g45.h              |    8 ++++----
 include/configs/vl_ma2sc.h            |    4 ++--
 23 files changed, 94 insertions(+), 70 deletions(-)
Signature · 1 line
1.7.10.4