aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-04-23 02:53:24 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-05-12 16:34:17 -0400
commit601df61657d4f762a99b155b695379fcc18f36e7 (patch)
tree957d28c8e780bda8fe68e2cd3451c53037d6e72c /arch/arm
parentbd8639b3885d2ac33b7e13d83d7849372a85fd07 (diff)
ARM: mach-shmobile: kzm9g: correct screen direction
The correct screen direction of KZM9G board needs PORT226/SC settings. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Tested-by: Simon Horman <horms@verge.net.au> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-shmobile/board-kzm9g.c4
1 files changed, 3 insertions, 1 deletions
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)
258 gpio_request(GPIO_FN_LCDDISP, NULL); 258 gpio_request(GPIO_FN_LCDDISP, NULL);
259 gpio_request(GPIO_FN_LCDDCK, NULL); 259 gpio_request(GPIO_FN_LCDDCK, NULL);
260 260
261 gpio_request(GPIO_PORT222, NULL); 261 gpio_request(GPIO_PORT222, NULL); /* LCDCDON */
262 gpio_request(GPIO_PORT226, NULL); /* SC */
262 gpio_direction_output(GPIO_PORT222, 1); 263 gpio_direction_output(GPIO_PORT222, 1);
264 gpio_direction_output(GPIO_PORT226, 1);
263 265
264 /* Touchscreen */ 266 /* Touchscreen */
265 gpio_request(GPIO_PORT223, NULL); /* IRQ8 */ 267 gpio_request(GPIO_PORT223, NULL); /* IRQ8 */