mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] backlight: ktd2801: enable BL_CORE_SUSPENDRESUME
@ 2026-03-28 20:42 Duje Mihanović
  2026-04-14 16:24 ` Daniel Thompson
  2026-04-30 13:35 ` (subset) " Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Duje Mihanović @ 2026-03-28 20:42 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, Helge Deller
  Cc: Karel Balej, dri-devel, linux-fbdev, phone-devel,
	~postmarketos/upstreaming, linux-kernel, Duje Mihanović,
	stable

From: Duje Mihanović <duje@dujemihanovic.xyz>

Boards using this backlight chip do not power the backlight off on
suspend. Enable BL_CORE_SUSPENDRESUME so the chip gets powered off by
the backlight core on suspend.

Tested on samsung,coreprimevelte.

Cc: stable@vger.kernel.org # v6.19
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
 drivers/video/backlight/ktd2801-backlight.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/backlight/ktd2801-backlight.c b/drivers/video/backlight/ktd2801-backlight.c
index 17eac1b3bce4..1b1307e03b20 100644
--- a/drivers/video/backlight/ktd2801-backlight.c
+++ b/drivers/video/backlight/ktd2801-backlight.c
@@ -53,6 +53,7 @@ static int ktd2801_update_status(struct backlight_device *bd)
 }
 
 static const struct backlight_ops ktd2801_backlight_ops = {
+	.options = BL_CORE_SUSPENDRESUME,
 	.update_status = ktd2801_update_status,
 };
 

---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260314-ktd2801-pm-fix-17e8715f8c37

Best regards,
--  
Duje Mihanović <duje@dujemihanovic.xyz>


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

* Re: [PATCH] backlight: ktd2801: enable BL_CORE_SUSPENDRESUME
  2026-03-28 20:42 [PATCH] backlight: ktd2801: enable BL_CORE_SUSPENDRESUME Duje Mihanović
@ 2026-04-14 16:24 ` Daniel Thompson
  2026-04-30 13:35 ` (subset) " Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Thompson @ 2026-04-14 16:24 UTC (permalink / raw)
  To: Duje Mihanović
  Cc: Lee Jones, Jingoo Han, Helge Deller, Karel Balej, dri-devel,
	linux-fbdev, phone-devel, ~postmarketos/upstreaming,
	linux-kernel, Duje Mihanović,
	stable

On Sat, Mar 28, 2026 at 09:42:16PM +0100, Duje Mihanović wrote:
> From: Duje Mihanović <duje@dujemihanovic.xyz>
>
> Boards using this backlight chip do not power the backlight off on
> suspend. Enable BL_CORE_SUSPENDRESUME so the chip gets powered off by
> the backlight core on suspend.
>
> Tested on samsung,coreprimevelte.
>
> Cc: stable@vger.kernel.org # v6.19
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>

Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>


Daniel.

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

* Re: (subset) [PATCH] backlight: ktd2801: enable BL_CORE_SUSPENDRESUME
  2026-03-28 20:42 [PATCH] backlight: ktd2801: enable BL_CORE_SUSPENDRESUME Duje Mihanović
  2026-04-14 16:24 ` Daniel Thompson
@ 2026-04-30 13:35 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2026-04-30 13:35 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, Helge Deller,
	Duje Mihanović
  Cc: Karel Balej, dri-devel, linux-fbdev, phone-devel,
	~postmarketos/upstreaming, linux-kernel, Duje Mihanović,
	stable

On Sat, 28 Mar 2026 21:42:16 +0100, Duje Mihanović wrote:
> Boards using this backlight chip do not power the backlight off on
> suspend. Enable BL_CORE_SUSPENDRESUME so the chip gets powered off by
> the backlight core on suspend.
> 
> Tested on samsung,coreprimevelte.
> 
> 
> [...]

Applied, thanks!

[1/1] backlight: ktd2801: enable BL_CORE_SUSPENDRESUME
      commit: f37f5a2ac9d3737617c08f0dc7270b42e9cad907

--
Lee Jones [李琼斯]


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

end of thread, other threads:[~2026-04-30 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-28 20:42 [PATCH] backlight: ktd2801: enable BL_CORE_SUSPENDRESUME Duje Mihanović
2026-04-14 16:24 ` Daniel Thompson
2026-04-30 13:35 ` (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®