Re: [PATCH 2/2] leds: lp8864: Register a backlight device
| Newsgroups | org.kernel.vger.linux-leds,org.freedesktop.lists.dri-devel |
|---|---|
| Message-ID | <[email protected]> |
> From: Alexander Sverdlin <[email protected]> > > The LP8864/LP8866 is a display-cluster LED backlight driver. Expose a > standard backlight class interface in addition to the LED class device, > so it can be used by display/panel stacks that expect a backlight. > > Use the new devm_led_backlight_register() helper, which spawns a > led-backlight device driven by our LED and tied to the I2C device > lifetime. This keeps the driver a plain LED driver, requires no > device-tree changes and remains backwards compatible with existing DTs. > It is a no-op when the led-backlight support is not enabled. > > Signed-off-by: Alexander Sverdlin <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2