devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] leds: Add Broadchip BCT3024 LED driver
@ 2023-07-27 16:05 Matus Gajdos
  2023-07-27 16:05 ` [PATCH 1/3] dt-bindings: Add vendor prefix for Broadchip Technology Group Co., Ltd Matus Gajdos
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Matus Gajdos @ 2023-07-27 16:05 UTC (permalink / raw)
  To: Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-leds, devicetree, linux-kernel, Matus Gajdos

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-28  7:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27 16:05 [PATCH 0/3] leds: Add Broadchip BCT3024 LED driver Matus Gajdos
2023-07-27 16:05 ` [PATCH 1/3] dt-bindings: Add vendor prefix for Broadchip Technology Group Co., Ltd Matus Gajdos
2023-07-28  7:29   ` Krzysztof Kozlowski
2023-07-27 16:05 ` [PATCH 2/3] dt-bindings: leds: Add binding for Broadchip BCT3024 LED driver Matus Gajdos
2023-07-28  7:31   ` Krzysztof Kozlowski
2023-07-27 16:05 ` [PATCH 3/3] leds: Add " Matus Gajdos
2023-07-28  4:20   ` kernel test robot
2023-07-28  7:41   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).