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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.25.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux