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

* Re: [PATCH] mfd: rohm-bd71828: enable wakeup via power button
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Matti Vaittinen @ 2026-02-09  7:10 UTC (permalink / raw)
  To: Andreas Kemnade, lee, linux-kernel

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@kemnade.info>

Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>

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! ~~

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

* Re: (subset) [PATCH] mfd: rohm-bd71828: enable wakeup via power button
  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 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2026-03-05 18:06 UTC (permalink / raw)
  To: mazziesaccount, lee, linux-kernel, Andreas Kemnade

On Fri, 06 Feb 2026 10:37:57 +0100, 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.
> 
> 

Applied, thanks!

[1/1] mfd: rohm-bd71828: enable wakeup via power button
      commit: c3142c7585e943c12894651f6dc2816dff99991f

--
Lee Jones [李琼斯]


^ 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®