Skip to content

Apple DWI backlight driver

Nick Chan asahi dri-devel linux-arm-kernel linux-devicetree linux-fbdev linux-leds lkml 8 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 2 repliesApplied
  2. v5 posting 2/23 patches 2 repliesSuperseded
  3. v5 posting 1/23 patches 0 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v4 posting 2/23 patches0 repliesSuperseded
v4 posting 1/23 patches6 repliesSuperseded
v33 patches4 repliesSuperseded
v23 patches5 repliesSuperseded
v13 patches1 replySuperseded

Changes in v6 from the cover letter

- Remove default y from drivers/video/backlight/Kconfig

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: leds: backlight: apple,dwi-bl: Add Apple DWI backlightDocumentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml+57 -00 replies
2/3backlight: apple_dwi_bl: Add Apple DWI backlight driverdrivers/video/backlight/Kconfig drivers/video/backlight/Makefile drivers/video/backlight/apple_dwi_bl.c+135 -00 replies
3/3MAINTAINERS: Add entries for Apple DWI backlight controllerMAINTAINERS+2 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKrzysztof KozlowskiDaniel Thompson (RISCstar)Neal Gompa
SeriesR-b
1/3R-b R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/3] Apple DWI backlight driver

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 v5:
- Remove default y from drivers/video/backlight/Kconfig

v5: https://lore.kernel.org/asahi/[email protected]/T

Changes since v4:
- Change type to BACKLIGHT_PLATFORM since the driver does not directly interface with the backlight controller. The actual backlight controller can be directly controlled via i2c and is not the same on all hardware that supports the dwi interface.
- Rename file to apple_dwi_bl.c to better match config option.
- Rename driver to apple-dwi-bl to better match config option
- Indicate that the backlight scales linearly

v4: https://lore.kernel.org/asahi/[email protected]/T

Changes since v3:
- $ref to common.yaml in bindings
- (and then additionalProperties is changed to unevaluatedProperties)
- Use hex everywhere in bindings example
- Use sizeof(*dwi_bl) instead of the type of the struct when doing devm_kzalloc()
- Use devm_platform_get_and_ioremap_resource() in driver
- Fix sorting in drivers/video/backlight/Makefile
- In drivers/video/backlight/Kconfig, move config to right after BACKLIGHT_APPLE
- Explain this driver being completely different from apple_bl

v3: https://lore.kernel.org/asahi/[email protected]/T

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

v2: https://lore.kernel.org/asahi/[email protected]/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/[email protected]/T

Nick Chan

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

 .../bindings/leds/backlight/apple,dwi-bl.yaml |  57 ++++++++
 MAINTAINERS                                   |   2 +
 drivers/video/backlight/Kconfig               |  11 ++
 drivers/video/backlight/Makefile              |   1 +
 drivers/video/backlight/apple_dwi_bl.c        | 123 ++++++++++++++++++
 5 files changed, 194 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml
 create mode 100644 drivers/video/backlight/apple_dwi_bl.c

base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b

Signature · 1 line
2.48.1