]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: lager: support GPIO switches
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 13 May 2013 07:04:31 +0000 (16:04 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 7 Jun 2013 05:26:31 +0000 (14:26 +0900)
commitfd1702d3f8b948614f3822c456c54369a63a9399
treeb3e5d47adf37a0cfe5d4f53e37ced6f19634c096
parent55f70958bb1294860f30e8655ac505127830ec71
ARM: shmobile: lager: support GPIO switches

The lager board has pins 1 - 4 of SW2 wired up to GPIO pins.
This patch allows access to those pins as KEYS 1 - 4 using
gpio-keys.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-lager.c