From: Kuninori Morimoto Date: Mon, 23 Apr 2012 06:53:24 +0000 (-0700) Subject: ARM: mach-shmobile: kzm9g: correct screen direction X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=601df61657d4f762a99b155b695379fcc18f36e7;p=openwrt%2Fstaging%2Fblogic.git ARM: mach-shmobile: kzm9g: correct screen direction The correct screen direction of KZM9G board needs PORT226/SC settings. Signed-off-by: Kuninori Morimoto Tested-by: Simon Horman Acked-by: Magnus Damm Signed-off-by: Rafael J. Wysocki --- diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c index c846531fa48c..545d6337ea20 100644 --- a/arch/arm/mach-shmobile/board-kzm9g.c +++ b/arch/arm/mach-shmobile/board-kzm9g.c @@ -258,8 +258,10 @@ static void __init kzm_init(void) gpio_request(GPIO_FN_LCDDISP, NULL); gpio_request(GPIO_FN_LCDDCK, NULL); - gpio_request(GPIO_PORT222, NULL); + gpio_request(GPIO_PORT222, NULL); /* LCDCDON */ + gpio_request(GPIO_PORT226, NULL); /* SC */ gpio_direction_output(GPIO_PORT222, 1); + gpio_direction_output(GPIO_PORT226, 1); /* Touchscreen */ gpio_request(GPIO_PORT223, NULL); /* IRQ8 */