Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1322651
| From | Stefan Wahren <stefan.wahren@i2se.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3] leds: add SN3218 LED driver |
| Date | 2016-01-31 14:10 +0100 |
| Message-ID | <qWZLI-3qB-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This patch series implements support for the Si-En SN3218 18 Channel LED Driver connected through I2C. The SN3218 doesn't support reading so the LED states are cached in a regmap. The driver has been tested on a Raspberry Pi B. Changes since RFC: * using regmap instead of direct I2C * add new function to init single LED * add module name to Kconfig help * replace of_get_property() with of_property_read_string() * remove lock, leds_state and name from priv structure * drop sn3218 LED name prefix * don't use led_info and led_platform_data * abort probing if no SN3218 is connected or DT invalid * fix some style and text issues * fix license * move i2c_device_id and of_device_id at the end of file * use devm_* calls * use device function as node name in DT binding Stefan Wahren (3): of: Add vendor prefix for Si-En Technology DT: add binding for SN3218 LED driver leds: add SN3218 LED driver .../devicetree/bindings/leds/leds-sn3218.txt | 42 +++ .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/leds/Kconfig | 12 + drivers/leds/Makefile | 1 + drivers/leds/leds-sn3218.c | 297 ++++++++++++++++++++ 5 files changed, 353 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-sn3218.txt create mode 100644 drivers/leds/leds-sn3218.c -- 1.7.9.5
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 0/3] leds: add SN3218 LED driver Stefan Wahren <stefan.wahren@i2se.com> - 2016-01-31 14:10 +0100
csiph-web