[PATCH v2 0/6] backlight: aw99706: Add Awinic AW99703 support
From: Luka Panio
Date: Fri Dec 04 2026 - 19:51:30 EST
The Awinic AW99703 is a 3-channel WLED driver with an integrated boost
converter and 11-bit brightness control over I2C, used for the panel
backlight of the Nexphone (QCM6490).
As suggested on v1, this version adds the AW99703 to the existing aw99706
driver instead of adding a new one. The two chips share the programming
model but have different register maps, so the driver is first converted
to per-chip data. Following the binding review, the AW99703 binding uses
the standard led-sources and led-max-microamp properties, and the
AW99706 binding gains led-max-microamp as well, with the vendor
awinic,iled-max-microamp property deprecated but still read.
Patch 3 is a fix for the existing driver: the chip ID was read before
HWEN was asserted.
Andreas, your Kobo Clara 2e series [1] adds a separate aw99703 driver
and binding for the same chip. Hopefully we can settle on 1 driver,
please test this driver and let me know if it works for you, or you
have any other ideas.
[1] https://lore.kernel.org/all/20261202-bl-aw99703-upstr-v2-0-cc41570c0404@xxxxxxxxxxxx/
Changes in v2:
- Add AW99703 support to the aw99706 driver instead of a new driver
- Drop the ramp, transition and mapping properties; use led-sources and
led-max-microamp
- Add led-max-microamp to the AW99706 binding, deprecate
awinic,iled-max-microamp and keep reading it as a fallback
- Read the brightness properties into u32 variables
- Assert HWEN before reading the chip ID and drop it again on probe failure
- Add optional vin-supply and label
Luka Panio (6):
dt-bindings: leds: backlight: aw99706: Use standard led-max-microamp
dt-bindings: leds: backlight: Add Awinic AW99703 backlight
backlight: aw99706: Enable the chip before reading its ID
backlight: aw99706: Introduce per-chip data
backlight: aw99706: Support the led-max-microamp property
backlight: aw99706: Add AW99703 support
.../leds/backlight/awinic,aw99703.yaml | 118 +++++
.../leds/backlight/awinic,aw99706.yaml | 10 +-
MAINTAINERS | 2 +
drivers/video/backlight/Kconfig | 6 +-
drivers/video/backlight/aw99706.c | 434 ++++++++++++++----
5 files changed, 488 insertions(+), 82 deletions(-)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/awinic,aw99703.yaml
base-commit: 29beb21c21ada7207692b2d69fc58dcd15dab6e9
--
2.55.0