]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: dts: OMAP3: beagle: enable user button via gpio_keys, enable wakeup
authorKevin Hilman <khilman@linaro.org>
Fri, 31 May 2013 16:27:05 +0000 (09:27 -0700)
committerBenoit Cousson <benoit.cousson@linaro.org>
Tue, 18 Jun 2013 23:53:45 +0000 (18:53 -0500)
commitd641c3d5870db37709f9536054122255f007058c
treefe9db73323c0353bb227140211b027b73732a226
parentb859c1ef92fca08a3079d9ff81e0e0bf7980c855
ARM: dts: OMAP3: beagle: enable user button via gpio_keys, enable wakeup

Using the gpio-keys bindings, configure the user button on Beagle
boards.  Since the user button is enabled as a wakeup source, also
ensure the GPIO pin is mux'd correctly and has IO ring wakeups enabled,
so it can also wakeup from off mode.

Special thanks to Florian Vaussard for suggesting the preprocessor
feature.

Cc: Florian Vaussard <florian.vaussard@epfl.ch>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/boot/dts/omap3-beagle-xm.dts
arch/arm/boot/dts/omap3-beagle.dts