Skip to contentSkip to conversation

sh: Use sh7723 GPIO on AP325RXA board

PATCH New Magnus Damm 1 participant 1 message Oct 8, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 5/9 sh: Use sh7723 GPIO on AP325RXA board

From: Magnus Damm <[email protected]>

This patch enables the GPIO code on AP325RXA and converts the code from register based pinmux configuration to GPIO based pin by pin setup. While at it 2 LEDs and one switch are added and exported to user space.

---

 arch/sh/boards/Kconfig          |    1 
 arch/sh/boards/board-ap325rxa.c |  100 ++++++++++++++++++++++++++++-----------
 2 files changed, 75 insertions(+), 26 deletions(-)
arch/sh/boards/Kconfig +1 -0
@@ -170,6 +170,7 @@ config SH_MIGOR
 config SH_AP325RXA
 	bool "AP-325RXA"
 	depends on CPU_SUBTYPE_SH7723
+	select GENERIC_GPIO
 	help
 	  Renesas "AP-325RXA" support.
 	  Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
arch/sh/boards/board-ap325rxa.c +74 -26

136 lines not on this page · raw message