Hi,

This series cleans up the gpio config definitions. Unused ones are removed,
and new ones are added for i2c, mmc, emac and gmac. Also fixed uart1 name
for sun5i.

Changes since v1:

* Renamed macros to SUNXI_GPXNN_FUNCTION (ex: SUNXI_GPA0_EMAC), where NN
  identifies the start of the function group. Macros for UARTs were left
  as-is, as one of them is not consecutive. Also pull-ups are only enabled
  on the RX pin, leaving RX/TX in the name helps reading the code.

* Fixed sun5i UART1 name.

* Fixed a compile error introduced in v1.


Cheers
ChenYu

Chen-Yu Tsai (6):
  ARM: sunxi: Add gpio pull-up/down and cleanup pin function definitions
  i2c: sunxi: Use sunxi gpio pin function macros
  net: sunxi_emac: Use sunxi gpio pin function macros
  net: sunxi_gmac: Use sunxi gpio pin function macros
  mmc: sunxi: Use sunxi gpio functions to configure pins
  ARM: sunxi: fix sun5i uart1 pin definition name

 arch/arm/cpu/armv7/sunxi/board.c       |  4 +--
 arch/arm/include/asm/arch-sunxi/gpio.h | 52 +++++++++++--------------------
 drivers/i2c/sunxi_i2c.c                |  4 +--
 drivers/mmc/sunxi_mmc.c                | 56 ++++++++++++++++------------------
 drivers/net/sunxi_emac.c               |  2 +-
 drivers/net/sunxi_gmac.c               |  2 +-
 6 files changed, 49 insertions(+), 71 deletions(-)

-- 
1.9.0

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to