From: Andreas Kemnade <andreas@kemnade.info>
To: mazziesaccount@gmail.com, lee@kernel.org, linux-kernel@vger.kernel.org
Cc: Andreas Kemnade <andreas@kemnade.info>
Subject: [PATCH] mfd: rohm-bd71828: enable wakeup via power button
Date: Fri, 6 Feb 2026 10:37:57 +0100 [thread overview]
Message-ID: <20260206093757.573377-1-andreas@kemnade.info> (raw)
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
next reply other threads:[~2026-02-06 9:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-06 9:37 Andreas Kemnade [this message]
2026-02-09 7:10 ` Matti Vaittinen
2026-03-05 18:06 ` (subset) " Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260206093757.573377-1-andreas@kemnade.info \
--to=andreas@kemnade.info \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mazziesaccount@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®