[PATCH v3 0/6] leds: aw2013: Add AW2027 support
From: Paul Sajna
Date: Tue Oct 13 2026 - 01:40:38 EST
Refer to PATCH 3 for a full description of the similarities and
differences between AW2013 and AW2027.
Several pre-existing bugs were also caught by Sashiko Review
and fixed in this patch-series. The joys of LLM-inflicted bikeshedding.
This PATCH resulted out of discussions pertaining to
sdm660-mainline/linux, a close-to-mainline fork for Qualcomm Snapdragon 660
devices, specifically for the BlackBerry KEY2 Keyboard Backlight,
in the following GitHub PR: https://github.com/sdm660-mainline/linux/pull/218
Signed-off-by: Paul Sajna <sajattack@xxxxxxxxxxxxxxxx>
---
Changes in v3:
- Drop rename
- Capitalize commit subject
- Other requested commit rewording
- Extra tweaks to cleanup patches (preventing more unbalanced regulator
stuff)
- Whitespace fiddling for `checkpatch --strict`
- Link to v2: https://lore.kernel.org/r/20261005-aw2013-aw20xx-rename-v2-0-108ecbdf2775@xxxxxxxxxxxxxxxx
Changes in v2:
- Reduce renames to internal driver scope, to prevent breaking compat
- Address Sashiko Review Comments
- Split renames into a separate commit to make the actual changes easier
to identify
- Change from RFC to PATCH
- Link to v1: https://lore.kernel.org/r/20260907-aw2013-aw20xx-rename-v1-0-c9a7df12a701@xxxxxxxxxxxxxxxx
To: Lee Jones <lee@xxxxxxxxxx>
To: Pavel Machek <pavel@xxxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Nikita Travkin <nikitos.tr@xxxxxxxxx>
Cc: Nikita Travkin <nikita@xxxxxxx>
Cc: linux-leds@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
Paul Sajna (6):
dt-bindings: leds: aw2013: Add awinic,aw2027 compatible
leds: aw2013: Add AW2027 support
leds: aw2013: Use dev_err_probe
leds: aw2013: Move assignment of chip->num_leds
leds: aw2013: Prevent writes to unpowered chip
leds: aw2013: Move reset register write
.../devicetree/bindings/leds/leds-aw2013.yaml | 6 +-
drivers/leds/leds-aw2013.c | 207 ++++++++++++++++-----
2 files changed, 165 insertions(+), 48 deletions(-)
---
base-commit: 944a035ecca915ae947905dcfb03f2b9dc6d032c
change-id: 20260907-aw2013-aw20xx-rename-df233c5921c6
Best regards,
--
Paul Sajna <sajattack@xxxxxxxxxxxxxxxx>