]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: mach-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>
Sat, 25 May 2013 04:52:00 +0000 (13:52 +0900)
commite63e98582e64f2531c4430defc96432c0cc590ad
tree81f23b66ac8f6ca2e5017932ef327bd59dd849e4
parent07e551c6f2169e7d34b17eb2693befaa0bc93718
ARM: mach-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