提交 e0554d90 编写于 作者: S Shinya Kuribayashi 提交者: Simon Horman

ARM: shmobile: lager: mark GPIO keys as wake-up sources

Enable wakeup for the GPIO keys on the Lager board.
Signed-off-by: NShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 7d91c469
...@@ -121,7 +121,7 @@ static const struct gpio_led_platform_data lager_leds_pdata __initconst = { ...@@ -121,7 +121,7 @@ static const struct gpio_led_platform_data lager_leds_pdata __initconst = {
/* GPIO KEY */ /* GPIO KEY */
#define GPIO_KEY(c, g, d, ...) \ #define GPIO_KEY(c, g, d, ...) \
{ .code = c, .gpio = g, .desc = d, .active_low = 1, \ { .code = c, .gpio = g, .desc = d, .active_low = 1, \
.debounce_interval = 20 } .wakeup = 1, .debounce_interval = 20 }
static struct gpio_keys_button gpio_buttons[] = { static struct gpio_keys_button gpio_buttons[] = {
GPIO_KEY(KEY_4, RCAR_GP_PIN(1, 28), "SW2-pin4"), GPIO_KEY(KEY_4, RCAR_GP_PIN(1, 28), "SW2-pin4"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册