[PATCH v3 0/3] Apple DWI backlight driver

From: Nick Chan
Date: Mon Dec 09 2024 - 02:59:40 EST


Apple SoCs come with a 2-wire interface named DWI. On some iPhones, iPads
and iPod touches the backlight controller is connected via this interface.
This series adds a backlight driver for backlight controllers connected
this way.

Changes since v2:
- Add missing includes in driver
- Fix file path in MAINTAINERS

v2: https://lore.kernel.org/asahi/20241207130433.30351-1-towinchenmi@xxxxxxxxx/T

Changes since v1:
- Fixed dt-bindings $id.
- Make power-domains an optional property in dt-bindings.
- Added missing error checking after devm_ioremap_resource() in
dwi_bl_probe().

v1: https://lore.kernel.org/asahi/20241206172735.4310-1-towinchenmi@xxxxxxxxx/T

Nick Chan
---
Nick Chan (3):
dt-bindings: leds: backlight: apple,dwi-bl: Add bindings for Apple DWI
backlight
backlight: dwi_bl: Add Apple DWI backlight driver
MAINTAINERS: Add entries for Apple DWI backlight controller

.../bindings/leds/backlight/apple,dwi-bl.yaml | 54 ++++++++
MAINTAINERS | 2 +
drivers/video/backlight/Kconfig | 12 ++
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/dwi_bl.c | 126 ++++++++++++++++++
5 files changed, 195 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml
create mode 100644 drivers/video/backlight/dwi_bl.c


base-commit: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4
--
2.47.1