[PATCH v3 0/4] video: backlight: Backlight for Kobo Clara 2e

From: Andreas Kemnade

Date: Fri Dec 04 2026 - 16:47:45 EST


Add Backlight for Kobo Clara 2e. It has two backlights with deferent
color temperature. Label them to give userspace a hint what it is and
avoid referencing it by magic numbers. It requires shared
gpio support to be enabled for both backlights to show up,
so if these patches are independently merged, there will be
commits with only one backlight, but I do not consider that as
a regression harming bisecting.

Signed-off-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>
---
Changes in v3:
- remove common.yaml due to not implemented properties
- remove unused struct members
- keep enable in sync gpio/regulator state
- ensure regulator gets disabled on remove
- track register initialisation state to ensure
backlight is only turned on after being properly initialized
- Link to v2: https://patch.msgid.link/20261202-bl-aw99703-upstr-v2-0-cc41570c0404@xxxxxxxxxxxx

Changes in v2:
- fix number of zeros in binding and code
- remove fading setting (maybe add bit later with a proper sysfs control)
- remove runtime pm and set regulator/pin directly
- use generic suspend from backlight class
- add some more error checking
- fix gpio error handling in probe
- use named intializers
- remove unused includes
- Link to v1: https://patch.msgid.link/20261130-bl-aw99703-upstr-v1-0-986a15505ad7@xxxxxxxxxxxx

---
Andreas Kemnade (4):
dt-bindings: leds: backlight: Add Awinic AW99703 backlight
video: backlight: Add Awinic AW99703
ARM: dts: imx: Add backlight for Kobo Clara 2e
arm: mach-imx: enable shared gpios

.../bindings/leds/backlight/awinic,aw99703.yaml | 94 +++++
.../dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi | 34 +-
arch/arm/mach-imx/Kconfig | 1 +
drivers/video/backlight/Kconfig | 10 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/aw99703.c | 467 +++++++++++++++++++++
6 files changed, 605 insertions(+), 2 deletions(-)
---
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
base-tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
change-id: 20261130-bl-aw99703-upstr-163cfacab9cb

Best regards,
--
Andreas Kemnade <andreas@xxxxxxxxxxxx>