Skip to content

RFC leds: backlight: Register with class backlight

Guido Günther linux-leds lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1leds: backlight: register with class backlight toodrivers/leds/trigger/ledtrig-backlight.c+54 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/1] leds: backlight: Register with class backlight

When using current LCD drivers as ledtrig backlight they're not registered with the backlight device class. This has two problems: they're usually not found by userspace since these tools usually look in /sys/class/backlight and they can't be used as backlight phandles in device tree for e.g. LCD panels.

This is an RFC if this is worthwhile at all? A current problem is that changing the LED brightness does currently not notify the class backlight so they can get out of sync but i could look into that if the approach makes sense.

Guido Günther (1):
leds: backlight: register with class backlight too

 drivers/leds/trigger/ledtrig-backlight.c | 54 ++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
Signature · 1 line
2.23.0