Skip to content

leds: Add Broadchip BCT3024 LED driver

Matus Gajdos linux-devicetree linux-leds lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: Add vendor prefix for Broadchip Technology Group Co., Ltd.Documentation/devicetree/bindings/vendor-prefixes.yaml+2 -01 reply
2/3dt-bindings: leds: Add binding for Broadchip BCT3024 LED driverDocumentation/devicetree/bindings/leds/broadchip,bct3024.yaml+89 -01 reply
3/3leds: Add Broadchip BCT3024 LED driverdrivers/leds/Kconfig drivers/leds/Makefile drivers/leds/leds-bct3024.c+574 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] leds: Add Broadchip BCT3024 LED driver

Hi,

I'm sending a series of patches to add support for the Broadchip BCT3024 LED driver. The first adds Broadchip to the DT vendor prefixes, the second is the DT bindings documentation and the third is the driver itself.

The Broadchip BCT3024 is an I2C LED driver with 24 independent channels, each with 256 brightness levels. It is targeted mainly for mobile phones and other hand-held devices.

As we use the chip in a device that needs to keep its power consumption to a minimum, I added support for the runtime PM to let the kernel disable the chip and its power supply when brightness is set to zero.

Any comments are welcome.

Matus Gajdos (3):
dt-bindings: Add vendor prefix for Broadchip Technology Group Co.,
Ltd.
dt-bindings: leds: Add binding for Broadchip BCT3024 LED driver
leds: Add Broadchip BCT3024 LED driver

 .../bindings/leds/broadchip,bct3024.yaml      |  89 +++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 drivers/leds/Kconfig                          |   9 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-bct3024.c                   | 564 ++++++++++++++++++
 5 files changed, 665 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/broadchip,bct3024.yaml
 create mode 100644 drivers/leds/leds-bct3024.c
Signature · 1 line
2.25.1