mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mfd: rohm-bd71828: enable wakeup via power button
@ 2026-02-06  9:37 Andreas Kemnade
  2026-02-09  7:10 ` Matti Vaittinen
  2026-03-05 18:06 ` (subset) " Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Kemnade @ 2026-02-06  9:37 UTC (permalink / raw)
  To: mazziesaccount, lee, linux-kernel; +Cc: Andreas Kemnade

It is normally expected to get out of deeper power saving states by
pressing the power button, so enable wakeup for it.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 drivers/mfd/rohm-bd71828.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/rohm-bd71828.c b/drivers/mfd/rohm-bd71828.c
index 84a64c3b9c9f..a608b833027e 100644
--- a/drivers/mfd/rohm-bd71828.c
+++ b/drivers/mfd/rohm-bd71828.c
@@ -23,6 +23,7 @@ static struct gpio_keys_button button = {
 	.code = KEY_POWER,
 	.gpio = -1,
 	.type = EV_KEY,
+	.wakeup = 1,
 };
 
 static const struct gpio_keys_platform_data bd71828_powerkey_data = {
-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-05 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-06  9:37 [PATCH] mfd: rohm-bd71828: enable wakeup via power button Andreas Kemnade
2026-02-09  7:10 ` Matti Vaittinen
2026-03-05 18:06 ` (subset) " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®