Re: [PATCH] mfd: rohm-bd71828: enable wakeup via power button

From: Matti Vaittinen

Date: Mon Feb 09 2026 - 02:10:33 EST


On 06/02/2026 11:37, Andreas Kemnade wrote:
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@xxxxxxxxxxxx>

Acked-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>

Thanks Andreas!

---
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 = {


--
---
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~