From: Magnus Damm Date: Wed, 7 Oct 2009 09:00:06 +0000 (+0000) Subject: sh: enable sleep state LEDs on Ecovec24 X-Git-Tag: v2.6.32-rc4~20^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f78bab30707e043bc16c5b11ebff794c123f68c1;p=platform%2Fkernel%2Flinux-stable.git sh: enable sleep state LEDs on Ecovec24 Extend the ecovec24 board code to enable Power Management LEDs showing the current sh7724 sleep state. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index bbc7859..3b1ceb4 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -512,6 +512,11 @@ static void __init sh_eth_init(void) #define IODRIVEA 0xA405018A static int __init arch_setup(void) { + /* enable STATUS0, STATUS2 and PDSTATUS */ + gpio_request(GPIO_FN_STATUS0, NULL); + gpio_request(GPIO_FN_STATUS2, NULL); + gpio_request(GPIO_FN_PDSTATUS, NULL); + /* enable SCIFA0 */ gpio_request(GPIO_FN_SCIF0_TXD, NULL); gpio_request(GPIO_FN_SCIF0_RXD, NULL);