devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] leds: Add a driver for the BD2606MVV
@ 2023-04-19 11:18 Andreas Kemnade
  2023-04-19 11:18 ` [PATCH v6 1/2] dt-bindings: leds: Add ROHM BD2606MVV LED Andreas Kemnade
  2023-04-19 11:18 ` [PATCH v6 2/2] leds: bd2606mvv: Driver for the Rohm 6 Channel i2c LED driver Andreas Kemnade
  0 siblings, 2 replies; 7+ messages in thread
From: Andreas Kemnade @ 2023-04-19 11:18 UTC (permalink / raw)
  To: pavel, lee, robh+dt, krzysztof.kozlowski+dt, andreas, linux-leds,
	devicetree, linux-kernel, Matti Vaittinen

Add the binding description and the corresponding driver for
the BD2606.

Changes in V6:
- comments about dealing with shared brightness registers
- comment about building as a module

Changes in V5:
- remove "driver" from the binding subject line
- avoid presenting shared brightness to the userspace
  by allowing only on/off in such cases.

Changes in V4:
- minor tuning of description in bindings
 
Changes in V3:
- binding cleanup
- move active variable from long-living struct onto stack

Changes in V2:
- Add Datasheet link
- use fwnode api
- remove childnode count check, that will bail out
  anyways later.
- add enable-gpios to binding but not to driver due to lack of
  testing ability

Andreas Kemnade (2):
  dt-bindings: leds: Add ROHM BD2606MVV LED
  leds: bd2606mvv: Driver for the Rohm 6 Channel i2c LED driver

 .../bindings/leds/rohm,bd2606mvv.yaml         |  81 +++++++++
 drivers/leds/Kconfig                          |  14 ++
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-bd2606mvv.c                 | 160 ++++++++++++++++++
 4 files changed, 256 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml
 create mode 100644 drivers/leds/leds-bd2606mvv.c

-- 
2.39.2


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

end of thread, other threads:[~2023-04-27 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-19 11:18 [PATCH v6 0/2] leds: Add a driver for the BD2606MVV Andreas Kemnade
2023-04-19 11:18 ` [PATCH v6 1/2] dt-bindings: leds: Add ROHM BD2606MVV LED Andreas Kemnade
2023-04-24 13:16   ` Lee Jones
2023-04-19 11:18 ` [PATCH v6 2/2] leds: bd2606mvv: Driver for the Rohm 6 Channel i2c LED driver Andreas Kemnade
2023-04-24 13:17   ` Lee Jones
2023-04-24 19:06     ` Andreas Kemnade
2023-04-27 16:44       ` Lee Jones

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).