This patch series adds support for Kinetic KTD3137 backlight IC. It
supports linear brightness range from 0 to 2047.
While the chip supports PWM and MSB modes, they weren't included, since
MSB mode supports only 8-bit brightness range, and PWM is not enabled on
this board. I have checked other Xiaomi vendor kernels, and their
configuration appear to be the same as on my board. I'm not aware if any
device uses PWM mode with this chip.
This series was developed and tested on the Xiaomi Redmi Note 9 board.
Signed-off-by: Roman Vivchar <rva333@protonmail.com>
---
Roman Vivchar (2):
dt-bindings: leds: backlight: add Kinetic KTD3137
backlight: add ktd3137 support
.../bindings/leds/backlight/kinetic,ktd3137.yaml | 64 +++++
MAINTAINERS | 6 +
drivers/video/backlight/Kconfig | 11 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/ktd3137.c | 262 +++++++++++++++++++++
5 files changed, 344 insertions(+)
---
base-commit: 5e6de6a2b522f659defacb1551d0465ba6ce13cf
change-id: 20261102-6768-ktd3137-4ec95068fb6a
Best regards,
--
Roman Vivchar [off-list ref]