On Wed, 19 Aug 2020, Linus Walleij wrote: > The Kinetic KTD253 backlight driver is controlled with a > single GPIO line, but still supports a range of brightness > settings by sending fast pulses on the line. > > This is based off the source code release for the Samsung > GT-S7710 mobile phone. > > Cc: Sam Ravnborg <[email protected]> > Reviewed-by: Daniel Thompson <[email protected]> > Signed-off-by: Linus Walleij <[email protected]> > --- > ChangeLog v2->v3: > - Collect Daniel's review tag. > ChangeLog v1->v2: > - Expose the 32 actual hardware levels of brightness directly > instead of using an interpolated "brightness" table. > - Use the new backlight_get_brightness() helper. > - Call backlight_update_status() in probe instead of calling > local functions to sync brightness. > - Sort includes alphabetically. > - Name the GPIO line "enable" and grab that in accordance > with the change to the DT bindings. > --- > MAINTAINERS | 6 + > drivers/video/backlight/Kconfig | 8 + > drivers/video/backlight/Makefile | 1 + > drivers/video/backlight/ktd253-backlight.c | 198 +++++++++++++++++++++ > 4 files changed, 213 insertions(+) > create mode 100644 drivers/video/backlight/ktd253-backlight.c
Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
