Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1277160
| From | Ingi Kim <ingi2.kim@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v6 0/2] Add RT5033 Flash LED driver |
| Date | 2015-11-25 11:30 +0100 |
| Message-ID | <qyFuO-4Xh-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This is a sixth version of the patch set to support RT5033 Flash Led. It is based on RFC [1] from Jacek's patch set. Changes since v6: - Make functions to convert from LED config data to register value - Add variables to save LED config data in rt5033_led struct - Rename some functions suitably - Change to set register of flash brightness / timeout when it was changed. Changes since v5: - Rebase on Jacek's devel branch git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git - Remove work queue from driver. - Change brightness_set_sync ops to brightness_set_blocking ops. - Remove "iout_torch_max" and "iout_flash_max" values in rt5033_led struct. - Add missed case for distinguishing between setting brightness. for iout_joint case and for individual LEDs. - Add missed mutex_lock. - Remove guard to check dev->of_node. - Change type of value to const __be32 to get return value of of_find_property. Changes since v4: - Use of_node_put() when DT parse miss - Move struct(rt5033_led) from include/linux/mfd/rt5033.h to local driver/leds/leds-rt5033.c - Remove MODULE_DEVICE_TABLE - Add interface to handle two LEDs. Changes since v3: - Use mutex and work queue - Split brightness set func (sync / async) - Add flash API (flash_brightness_set) - Move struct(rt5033_led_config_data) to local area - Code clean Changes since v2: - Split MFC code from rt5033 flash led patch - Fix typo error - Change naming of mfd register back again - Fix compile error Original cover letter: This patch supports flash led of RT5033 PMIC. [1] https://lkml.org/lkml/2015/8/20/426 Ingi Kim (2): leds: rt5033: Add DT binding for RT5033 leds: rt5033: Add RT5033 Flash led device driver .../devicetree/bindings/leds/leds-rt5033.txt | 46 ++ drivers/leds/Kconfig | 8 + drivers/leds/Makefile | 1 + drivers/leds/leds-rt5033.c | 541 +++++++++++++++++++++ include/linux/mfd/rt5033-private.h | 51 ++ 5 files changed, 647 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-rt5033.txt create mode 100644 drivers/leds/leds-rt5033.c -- 2.0.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v6 0/2] Add RT5033 Flash LED driver Ingi Kim <ingi2.kim@samsung.com> - 2015-11-25 11:30 +0100
[PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Ingi Kim <ingi2.kim@samsung.com> - 2015-11-25 11:30 +0100
Re: [PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-11-25 16:20 +0100
Re: [PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Ingi Kim <ingi2.kim@samsung.com> - 2015-11-26 09:10 +0100
Re: [PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Lee Jones <lee.jones@linaro.org> - 2015-11-26 10:20 +0100
Re: [PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-11-26 10:50 +0100
Re: [PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Ingi Kim <ingi2.kim@samsung.com> - 2015-11-30 03:40 +0100
Re: [PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-11-30 12:00 +0100
Re: [PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Lee Jones <lee.jones@linaro.org> - 2015-11-26 10:20 +0100
Re: [PATCH v6 2/2] leds: rt5033: Add RT5033 Flash led device driver Ingi Kim <ingi2.kim@samsung.com> - 2015-11-30 03:40 +0100
[PATCH v6 1/2] leds: rt5033: Add DT binding for RT5033 Ingi Kim <ingi2.kim@samsung.com> - 2015-11-25 11:30 +0100
csiph-web