Re: [PATCH v7 5/5] backlight: add led-backlight driver

From: Jean-Jacques Hiblot
Date: Fri Oct 04 2019 - 11:49:40 EST


Hi Lee,

On 04/10/2019 16:39, Lee Jones wrote:
On Wed, 18 Sep 2019, Jean-Jacques Hiblot wrote:

From: Tomi Valkeinen <tomi.valkeinen@xxxxxx>

This patch adds a led-backlight driver (led_bl), which is similar to
pwm_bl except the driver uses a LED class driver to adjust the
brightness in the HW. Multiple LEDs can be used for a single backlight.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxx>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@xxxxxx>
Acked-by: Pavel Machek <pavel@xxxxxx>
Reviewed-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
---
drivers/video/backlight/Kconfig | 7 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/led_bl.c | 260 +++++++++++++++++++++++++++++++
3 files changed, 268 insertions(+)
create mode 100644 drivers/video/backlight/led_bl.c
Applied, thanks.

It will break the build because it relies on functions not yet in the LED core (devm_led_get() for v7 or devm_of_led_get() for v8)

JJ