From: Magnus Damm Date: Wed, 8 Oct 2008 11:42:01 +0000 (+0900) Subject: sh: Use sh7722 GPIO on Migo-R board X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=91b6f3c5252937f85e56c71215b37024827ae924;p=linux-beck.git sh: Use sh7722 GPIO on Migo-R board This patch enables the GPIO code on Migo-R and converts the code from register based pinmux configuration to GPIO based pin by pin setup. Fix whitespace damage while at it and add 2 LEDs and export them to user space. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index c6b21e82755e..4e37f5c02158 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig @@ -162,6 +162,7 @@ config SH_SH7785LCR_29BIT_PHYSMAPS config SH_MIGOR bool "Migo-R" depends on CPU_SUBTYPE_SH7722 + select GENERIC_GPIO help Select Migo-R if configuring for the SH7722 Migo-R platform by Renesas System Solutions Asia Pte. Ltd. diff --git a/arch/sh/boards/mach-migor/lcd_qvga.c b/arch/sh/boards/mach-migor/lcd_qvga.c index 735326c04497..c283cfc2a5c3 100644 --- a/arch/sh/boards/mach-migor/lcd_qvga.c +++ b/arch/sh/boards/mach-migor/lcd_qvga.c @@ -17,7 +17,9 @@ #include #include #include +#include #include