All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] leds: Add driver for NCP5623 3-channel I2C LED driver
@ 2016-09-16 11:34 ` Florian Vaussard
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Vaussard @ 2016-09-16 11:34 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA, Richard Purdie, Jacek Anaszewski
  Cc: Rob Herring, Mark Rutland, Pavel Machek,
	linux-leds-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Florian Vaussard

Hello,

This series add a new driver for On Semiconductor NCP5623, a 3-channel I2C
LED driver. It is used in our design to drive a RGB LED.

The first patch introduces the device tree binding, while the second patch
adds the driver itself.

Best regards,
Florian

---
v2 -> v3:
- Rebased on latest leds/for-next
- Minor fixes to the binding documentation
- Removed ncp5623_set_pwm() by inlining it directly inside the caller
- Removed ncp5623_destroy_devices() as we are already using devm_ flavours
- Got rid of the 'active' state variable by using 'led_no' instead
- Some other cosmetic fixes
v1 -> v2:
- Adapted the DT binding (led-max-microamp for each LED node)
- Removed underscores from node names in the example
- Use brightness_set_blocking to avoid workqueue
- Introduced LED_to_CMD macro to avoid switch statement
- Various other fixes

Florian Vaussard (2):
  leds: ncp5623: Add device tree binding documentation
  leds: Add driver for NCP5623 3-channel I2C LED driver

 .../devicetree/bindings/leds/leds-ncp5623.txt      |  60 ++++++
 drivers/leds/Kconfig                               |  11 +
 drivers/leds/Makefile                              |   1 +
 drivers/leds/leds-ncp5623.c                        | 234 +++++++++++++++++++++
 4 files changed, 306 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-ncp5623.txt
 create mode 100644 drivers/leds/leds-ncp5623.c

-- 
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-09-30 21:00 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-16 11:34 [PATCH v3 0/2] leds: Add driver for NCP5623 3-channel I2C LED driver Florian Vaussard
2016-09-16 11:34 ` Florian Vaussard
2016-09-16 11:34 ` [PATCH v3 1/2] leds: ncp5623: Add device tree binding documentation Florian Vaussard
     [not found]   ` <1474025672-5040-2-git-send-email-florian.vaussard-EWQkb/GNqlFyDzI6CaY1VQ@public.gmane.org>
2016-09-23 17:29     ` Rob Herring
2016-09-23 17:29       ` Rob Herring
2016-09-24 11:58     ` Pavel Machek
2016-09-24 11:58       ` Pavel Machek
2016-09-24 19:06       ` Jacek Anaszewski
2016-09-28 10:04         ` Florian Vaussard
2016-09-28 10:02       ` Florian Vaussard
2016-09-28 10:02         ` Florian Vaussard
2016-09-28 10:58         ` Pavel Machek
     [not found] ` <1474025672-5040-1-git-send-email-florian.vaussard-EWQkb/GNqlFyDzI6CaY1VQ@public.gmane.org>
2016-09-16 11:34   ` [PATCH v3 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver Florian Vaussard
2016-09-16 11:34     ` Florian Vaussard
     [not found]     ` <1474025672-5040-3-git-send-email-florian.vaussard-EWQkb/GNqlFyDzI6CaY1VQ@public.gmane.org>
2016-09-18 18:20       ` Jacek Anaszewski
2016-09-18 18:20         ` Jacek Anaszewski
     [not found]         ` <d6dfc1aa-941d-fdbb-5fda-74c85b571bc5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-09-24 12:00           ` Pavel Machek
2016-09-24 12:00             ` Pavel Machek
2016-09-24 18:45             ` Jacek Anaszewski
2016-09-29 16:18           ` Florian Vaussard
2016-09-29 16:18             ` Florian Vaussard
     [not found]             ` <4990cd83-ae67-aec4-ae8b-4d0db3cbc9fe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-09-29 17:13               ` Florian Vaussard
2016-09-29 17:13                 ` Florian Vaussard
2016-09-30 21:00             ` Jacek Anaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.