Skip to content

Commit

Permalink
ARM: mach-shmobile: kzm9g: correct screen direction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Rafael J. Wysocki committed May 12, 2012
1 parent bd8639b commit 601df61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/mach-shmobile/board-kzm9g.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 601df61

Please sign in to comment.