Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1484908
| From | Florian Vaussard <florian.vaussard@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 0/2] leds: Add driver for NCP5623 3-channel I2C LED driver |
| Date | 2016-09-16 13:40 +0200 |
| Message-ID | <shZER-44g-17@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v3 0/2] leds: Add driver for NCP5623 3-channel I2C LED driver Florian Vaussard <florian.vaussard@gmail.com> - 2016-09-16 13:40 +0200
[PATCH v3 1/2] leds: ncp5623: Add device tree binding documentation Florian Vaussard <florian.vaussard@gmail.com> - 2016-09-16 13:40 +0200
[PATCH v3 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver Florian Vaussard <florian.vaussard@gmail.com> - 2016-09-16 13:40 +0200
Re: [PATCH v3 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver Jacek Anaszewski <jacek.anaszewski@gmail.com> - 2016-09-18 20:30 +0200
csiph-web