[PATCH v3 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-09-11 Thread Milo Kim
device tree bindings from maintainers' comments. (https://lkml.org/lkml/2013/7/31/226) (https://lkml.org/lkml/2013/8/14/569) Milo Kim (4): mfd: add LP3943 MFD driver gpio: add LP3943 I2C GPIO expander driver pwm: add LP3943 PWM driver Documentation: add LP3943 DT bindings and document

[PATCH v3 1/4] mfd: add LP3943 MFD driver

2013-09-11 Thread Milo Kim
related, so parsing the device tree is implemented in the PWM driver. Cc: Lee Jones lee.jo...@linaro.org Cc: Linus Walleij linus.wall...@linaro.org Cc: Samuel Ortiz sa...@linux.intel.com Cc: Thierry Reding thierry.red...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- * Patch v3 Now

[PATCH v3 2/4] gpio: add LP3943 I2C GPIO expander driver

2013-09-11 Thread Milo Kim
for atomic bit operation APIs, but only LSB 16bits are used because LP3943 has 16 outputs. Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Milo Kim milo@ti.com --- * Patch v3 Use inline function instead of macro(), to_lp3943_gpio(). Add 'lp3943_gpio_set_mode()' and use

[PATCH v3 3/4] pwm: add LP3943 PWM driver

2013-09-11 Thread Milo Kim
Reding thierry.red...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- * Patch v3 Manual polarity not supported any more. Add encapsulation functions for accessing internal data structure. Use pwm_set_chip_data() and pwm_get_chip_data(). And other code fixes based on Thierry's feedback

[PATCH 4/4] Documentation: add LP3943 DT bindings and document

2013-09-11 Thread Milo Kim
Signed-off-by: Milo Kim milo@ti.com --- Documentation/00-INDEX |2 + .../devicetree/bindings/gpio/gpio-lp3943.txt | 37 Documentation/devicetree/bindings/mfd/lp3943.txt | 33 +++ .../devicetree/bindings/pwm/pwm-lp3943.txt

[PATCH v3 4/4] Documentation: add LP3943 DT bindings and document

2013-09-11 Thread Milo Kim
Signed-off-by: Milo Kim milo@ti.com --- Documentation/00-INDEX |2 + .../devicetree/bindings/gpio/gpio-lp3943.txt | 37 Documentation/devicetree/bindings/mfd/lp3943.txt | 33 +++ .../devicetree/bindings/pwm/pwm-lp3943.txt

Re: [PATCH 4/4] Documentation: add LP3943 DT bindings and document

2013-09-11 Thread Milo Kim
Hi Everyone, Please ignore this mail. Version information, 'v3' is missing in the subject. Fixed mail has just sent. Please find '[PATCH v3 4/4]' in your mailbox. Sorry for the inconvenience. Best regards, Milo On 09/12/2013 10:34 AM, Milo Kim wrote: Bindings for LP3943 MFD, GPIO and PWM

Re: [PATCH 00/10] leds: lp5521,5523: restore device attributes for running LED patterns

2013-11-07 Thread Milo Kim
Sep 17 00:00:00 2001 From: Milo Kim milo@ti.com Date: Fri, 8 Nov 2013 13:43:33 +0900 Subject: [PATCH] leds: lp5523: Fix multiple engine usage bug and remove duplicated mutex Fix multiple engine usage bug: Whenever the engine is loaded by the user-application, the operation mode is reset

Re: [PATCH v3 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-09-15 Thread Milo Kim
Hi Lee, On 09/15/2013 08:17 PM, Thierry Reding wrote: On Thu, Sep 12, 2013 at 04:28:09PM +0100, Lee Jones wrote: * Documentation From Thierry's suggestion, detailed driver description was moved to 'Documentation/lp3943.txt'. Really? Why here? Do we really want 1000's of driver docs in

[PATCH v2] leds: lp5521/5523: Remove duplicate mutex

2013-12-02 Thread Milo Kim
...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5521.c | 12 drivers/leds/leds-lp5523.c | 12 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds/leds-lp5521.c index 26f89ac..2ec34cf 100644

Re: [PATCH 2/3] leds: lp5521/5523: Remove duplicate mutex

2013-12-02 Thread Milo Kim
Hi Bryan, On 12/03/2013 04:40 AM, Bryan Wu wrote: On Wed, Nov 20, 2013 at 10:14 PM, Milo Kim milo@ti.com wrote: It can be a problem when a pattern is loaded via the firmware interface. LP55xx common driver has already locked the mutex in 'lp55xx_firmware_loaded()'. So it should be deleted

Re: [PATCH 00/10] leds: lp5521,5523: restore device attributes for running LED patterns

2013-11-19 Thread Milo Kim
Hi Bryan, On 11/20/2013 04:20 AM, Bryan Wu wrote: On Tue, Nov 19, 2013 at 2:35 AM, Pali Rohárpali.ro...@gmail.com wrote: Hello, now I tested that patch on top of 3.12-rc5 with this led example: # Clearing LED-state to be sure echo disabled

[PATCH 1/3] leds: lp5521/5523: Fix multiple engine usage bug

2013-11-20 Thread Milo Kim
should be reset when the driver is unloaded and on initializing the LP5523 driver. So, new functions are used for this handling - lp5521/5523_stop_all_engines(). Cc: Pali Rohár pali.ro...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5521.c | 18

Re: [PATCH v3 3/4] pwm: add LP3943 PWM driver

2013-12-03 Thread Milo Kim
Hi Thierry, On 12/03/2013 07:24 PM, Thierry Reding wrote: On Thu, Sep 12, 2013 at 10:33:50AM +0900, Milo Kim wrote: This is the other of the LP3943 MFD driver. LP3943 can be used as a PWM generator, up to 2 channels. * Two PWM generators supported * Supported PWM operations request, free

Re: [PATCH v4 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-12-03 Thread Milo Kim
Hello Guys, Could you check this patchset? Driver documentation was moved from 'Documentation' to 'drivers/mfd/lp3943.c'. Thanks, Milo On 09/25/2013 01:22 PM, Milo Kim wrote: LP3943 is an integrated device capable of driving 16 output channels. It can be used for GPIO expander and PWM

[PATCH v5 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-12-05 Thread Milo Kim
for the PWM driver and the DT documentation Milo Kim (4): mfd: add LP3943 MFD driver gpio: add LP3943 I2C GPIO expander driver pwm: add LP3943 PWM driver Documentation: add LP3943 DT bindings and document .../devicetree/bindings/gpio/gpio-lp3943.txt | 37 +++ Documentation/devicetree

[PATCH v5 1/4] mfd: add LP3943 MFD driver

2013-12-05 Thread Milo Kim
related, so parsing the device tree is implemented in the PWM driver. Signed-off-by: Milo Kim milo@ti.com Acked-by: Lee Jones lee.jo...@linaro.org --- * Patch v5 Same as v4 * Patch v4 Driver description was moved from the documentation in patch v3. * Patch v3 Now, output pin number

[PATCH v5 2/4] gpio: add LP3943 I2C GPIO expander driver

2013-12-05 Thread Milo Kim
for atomic bit operation APIs, but only LSB 16bits are used because LP3943 has 16 outputs. Signed-off-by: Milo Kim milo@ti.com Reviewed-by: Linus Walleij linus.wall...@linaro.org --- * Patch v5 and v4 No update, same as v3 * Patch v3 Use inline function instead of macro(), to_lp3943_gpio

[PATCH v5 3/4] pwm: add LP3943 PWM driver

2013-12-05 Thread Milo Kim
-by: Milo Kim milo@ti.com Acked-by: Thierry Reding thierry.red...@gmail.com --- * Patch v5 Add Thierry's acknowledgement. * Patch v4 No update, same as v3. * Patch v3 Manual polarity not supported any more. Add encapsulation functions for accessing internal data structure. Use

[PATCH v5 4/4] Documentation: add LP3943 DT bindings and document

2013-12-05 Thread Milo Kim
Bindings for LP3943 MFD, GPIO and PWM controller are added. Cc: devicet...@vger.kernel.org Cc: Lee Jones lee.jo...@linaro.org Cc: Linus Walleij linus.wall...@linaro.org Cc: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Milo Kim milo@ti.com Acked-by: Thierry Reding thierry.red...@gmail.com

[PATCH RESEND v5 4/4] Documentation: add LP3943 DT bindings and document

2013-12-05 Thread Milo Kim
Bindings for LP3943 MFD, GPIO and PWM controller are added. Cc: devicet...@vger.kernel.org Cc: Lee Jones lee.jo...@linaro.org Cc: Linus Walleij linus.wall...@linaro.org Cc: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Milo Kim milo@ti.com Acked-by: Thierry Reding thierry.red...@gmail.com

[PATCH RESEND v5 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-12-05 Thread Milo Kim
for the PWM driver and the DT documentation Milo Kim (4): mfd: add LP3943 MFD driver gpio: add LP3943 I2C GPIO expander driver pwm: add LP3943 PWM driver Documentation: add LP3943 DT bindings and document .../devicetree/bindings/gpio/gpio-lp3943.txt | 37 +++ Documentation/devicetree

[PATCH RESEND v5 1/4] mfd: add LP3943 MFD driver

2013-12-05 Thread Milo Kim
related, so parsing the device tree is implemented in the PWM driver. Signed-off-by: Milo Kim milo@ti.com Acked-by: Lee Jones lee.jo...@linaro.org --- * Patch v5 Same as v4 * Patch v4 Driver description was moved from the documentation in patch v3. * Patch v3 Now, output pin number

[PATCH RESEND v5 3/4] pwm: add LP3943 PWM driver

2013-12-05 Thread Milo Kim
-by: Milo Kim milo@ti.com Acked-by: Thierry Reding thierry.red...@gmail.com --- * Patch v5 Add Thierry's acknowledgement. * Patch v4 No update, same as v3. * Patch v3 Manual polarity not supported any more. Add encapsulation functions for accessing internal data structure. Use

[PATCH RESEND v5 2/4] gpio: add LP3943 I2C GPIO expander driver

2013-12-05 Thread Milo Kim
for atomic bit operation APIs, but only LSB 16bits are used because LP3943 has 16 outputs. Signed-off-by: Milo Kim milo@ti.com Reviewed-by: Linus Walleij linus.wall...@linaro.org --- * Patch v5 and v4 No update, same as v3 * Patch v3 Use inline function instead of macro(), to_lp3943_gpio

Re: [PATCH v5 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-12-05 Thread Milo Kim
Hello guys, My apologies for too messy messages. Would you please refer to the patch-set with 'PATCH RESEND v5'? Thanks. Milo On 12/06/2013 11:08 AM, Milo Kim wrote: LP3943 is an integrated device capable of driving 16 output channels. It can be used for GPIO expander and PWM generators

[PATCH 00/10] Support TI Light Management Unit devices

2014-02-13 Thread Milo Kim
: Chip dependent code LM3633 LED: LED subsystem, pattern generation LM3631 regulator : Regulator drivers for the display bias Device tree documentation is also included. Milo Kim (10): mfd: Add TI LMU driver backlight: Add TI LMU backlight common driver backlight: ti-lmu

[PATCH 03/10] backlight: ti-lmu-backlight: Add LM3532 driver

2014-02-13 Thread Milo Kim
Jones lee.jo...@linaro.org Signed-off-by: Milo Kim milo@ti.com --- drivers/video/backlight/Kconfig |9 ++ drivers/video/backlight/Makefile|1 + drivers/video/backlight/lm3532_bl.c | 240 +++ 3 files changed, 250 insertions(+) create mode 100644

[PATCH 02/10] backlight: Add TI LMU backlight common driver

2014-02-13 Thread Milo Kim
- Backlight subsystem control - PWM brightness control - Shared device tree node Cc: Jingoo Han jg1@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Milo Kim milo@ti.com --- drivers/video/backlight/Kconfig|7 + drivers

[PATCH 01/10] mfd: Add TI LMU driver

2014-02-13 Thread Milo Kim
has 6 indicator LEDs. Programmable pattern is supported. Regulator - LM3631 has 5 regulators for the display bias. Cc: Samuel Ortiz sa...@linux.intel.com Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Milo Kim milo@ti.com --- drivers/mfd/Kconfig | 12 + drivers

[PATCH 08/10] leds: Add LM3633 driver

2014-02-13 Thread Milo Kim
LM3633 LED driver supports generic LED functions and pattern generation. Pattern is generated by using LMU effect driver APIs. Sysfs documentation is added. Cc: Bryan Wu coolo...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- Documentation/leds/leds-lm3633.txt | 38 +++ drivers/leds

[PATCH 06/10] backlight: ti-lmu-backlight: Add LM3695 driver

2014-02-13 Thread Milo Kim
-by: Milo Kim milo@ti.com --- drivers/video/backlight/Kconfig |8 ++ drivers/video/backlight/Makefile|1 + drivers/video/backlight/lm3695_bl.c | 143 +++ 3 files changed, 152 insertions(+) create mode 100644 drivers/video/backlight/lm3695_bl.c diff

[PATCH 05/10] backlight: ti-lmu-backlight: Add LM3633 driver

2014-02-13 Thread Milo Kim
Jones lee.jo...@linaro.org Signed-off-by: Milo Kim milo@ti.com --- drivers/video/backlight/Kconfig |9 ++ drivers/video/backlight/Makefile|1 + drivers/video/backlight/lm3633_bl.c | 244 +++ 3 files changed, 254 insertions(+) create mode 100644

[PATCH 07/10] backlight: ti-lmu-backlight: Add LM3697 driver

2014-02-13 Thread Milo Kim
Jones lee.jo...@linaro.org Signed-off-by: Milo Kim milo@ti.com --- drivers/video/backlight/Kconfig |9 ++ drivers/video/backlight/Makefile|1 + drivers/video/backlight/lm3697_bl.c | 224 +++ 3 files changed, 234 insertions(+) create mode 100644

[PATCH 04/10] backlight: ti-lmu-backlight: Add LM3631 driver

2014-02-13 Thread Milo Kim
Jones lee.jo...@linaro.org Signed-off-by: Milo Kim milo@ti.com --- drivers/video/backlight/Kconfig |9 ++ drivers/video/backlight/Makefile|1 + drivers/video/backlight/lm3631_bl.c | 186 +++ 3 files changed, 196 insertions(+) create mode 100644

[PATCH 09/10] regulator: Add LM3631 driver

2014-02-13 Thread Milo Kim
LM3631 regulator driver has 5 regulators. One boost output and four LDOs are used for the display module. Boost voltage is configurable but always on. Supported operations for LDOs are enabled/disabled and voltage change. Cc: Mark Brown broo...@kernel.org Signed-off-by: Milo Kim milo@ti.com

[PATCH 10/10] Documentation: Add device tree bindings for TI LMU devices

2014-02-13 Thread Milo Kim
-by: Milo Kim milo@ti.com --- .../devicetree/bindings/leds/leds-lm3633.txt | 39 + Documentation/devicetree/bindings/mfd/ti-lmu.txt | 182 .../bindings/regulator/lm3631-regulator.txt| 49 ++ .../bindings/video/backlight/ti-lmu-backlight.txt | 127

Re: [PATCH 00/10] Support TI Light Management Unit devices

2014-02-16 Thread Milo Kim
Hi Lee, On 02/14/2014 07:14 PM, Lee Jones wrote: Milo Kim (10): mfd: Add TI LMU driver backlight: Add TI LMU backlight common driver backlight: ti-lmu-backlight: Add LM3532 driver backlight: ti-lmu-backlight: Add LM3631 driver backlight: ti-lmu-backlight: Add LM3633 driver

Re: [PATCH 10/10] Documentation: Add device tree bindings for TI LMU devices

2014-02-16 Thread Milo Kim
Hi Mark, On 02/15/2014 05:50 AM, Mark Brown wrote: On Fri, Feb 14, 2014 at 03:32:44PM +0900, Milo Kim wrote: Bindings for TI LMU, backlight, LM3631 regulator and LM3633 LED are added. Ah, sorry - I didn't notice that there were several different binding documents in the patch. @@ -0,0

Re: [PATCH 10/10] Documentation: Add device tree bindings for TI LMU devices

2014-02-16 Thread Milo Kim
Hello Mark, Thanks for your detailed comments. I've fixed the structure and description. I'd like to have your feedback before submitting new patch-set. From 33faeeed69fa064cd476b252c5a7326a541e12b3 Mon Sep 17 00:00:00 2001 From: Milo Kim milo@ti.com Date: Mon, 17 Feb 2014 14:32:39 +0900

Re: [PATCH 01/10] mfd: Add TI LMU driver

2014-02-17 Thread Milo Kim
Hi Lee, On 02/17/2014 06:57 PM, Lee Jones wrote: +static const struct resource lm3633_effect_resources[] = { + { + .name = LM3633_EFFECT_BL0_RAMPUP, + .flags = IORESOURCE_REG, + .start = LM3633_EFFECT_REGISTER(BL0_RAMPUP), + }, + { +

Re: [PATCH 01/10] mfd: Add TI LMU driver

2014-02-18 Thread Milo Kim
Hi Lee, On 02/18/2014 05:21 PM, Lee Jones wrote: + pdata-en_gpio = of_get_named_gpio(node, ti,enable-gpio, 0); There is a global DT property for this already. I've not found it yet, but I agree it looks like general property. So I'll replace ti,enable-gpio with ti,lmu-en-gpio. Just

Re: [PATCH 0/6] backlight updates for 3.12-rc1

2013-09-04 Thread Milo Kim
Hi Jingoo, On 09/05/2013 11:39 AM, Jingoo Han wrote: Hi Andrew, This is the backlight updates for 3.12-rc1. Please add these patches to mm-tree. Do you have a plan to create a git repository for the backlight subsystem? It would be much better to maintain it and pull request. And

Re: [PATCH v3 4/4] Documentation: add LP3943 DT bindings and document

2013-09-22 Thread Milo Kim
Hi Lee, On 09/13/2013 12:24 AM, Lee Jones wrote: On Thu, 12 Sep 2013, Milo Kim wrote: ... new file mode 100644 index 000..576ebd0 --- /dev/null +++ b/Documentation/lp3943.txt @@ -0,0 +1,62 @@ +TI/National Semiconductor LP3943 MFD driver

[PATCH v4 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-09-24 Thread Milo Kim
description from the documentation to the MFD driver file. Milo Kim (4): mfd: add LP3943 MFD driver gpio: add LP3943 I2C GPIO expander driver pwm: add LP3943 PWM driver Documentation: add LP3943 DT bindings and document .../devicetree/bindings/gpio/gpio-lp3943.txt | 37 +++ Documentation

[PATCH v4 1/4] mfd: add LP3943 MFD driver

2013-09-24 Thread Milo Kim
related, so parsing the device tree is implemented in the PWM driver. Signed-off-by: Milo Kim milo@ti.com Acked-by: Lee Jones lee.jo...@linaro.org --- * Patch v4 Driver description was moved from the documentation in patch v3. * Patch v3 Now, output pin number is exactly matched

[PATCH v4 3/4] pwm: add LP3943 PWM driver

2013-09-24 Thread Milo Kim
Reding thierry.red...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- * Patch v4 No update, same as v3. * Patch v3 Manual polarity not supported any more. Add encapsulation functions for accessing internal data structure. Use pwm_set_chip_data() and pwm_get_chip_data(). And other

[PATCH v4 2/4] gpio: add LP3943 I2C GPIO expander driver

2013-09-24 Thread Milo Kim
for atomic bit operation APIs, but only LSB 16bits are used because LP3943 has 16 outputs. Signed-off-by: Milo Kim milo@ti.com Reviewed-by: Linus Walleij linus.wall...@linaro.org --- * Patch v4 No update, same as v3 * Patch v3 Use inline function instead of macro(), to_lp3943_gpio

[PATCH v4 4/4] Documentation: add LP3943 DT bindings and document

2013-09-24 Thread Milo Kim
Bindings for LP3943 MFD, GPIO and PWM controller are added. Cc: devicet...@vger.kernel.org Cc: Lee Jones lee.jo...@linaro.org Cc: Linus Walleij linus.wall...@linaro.org Cc: Samuel Ortiz sa...@linux.intel.com Cc: Thierry Reding thierry.red...@gmail.com Signed-off-by: Milo Kim milo@ti.com

Re: [PATCH 06/16] mfd: lp3943: Make mfd_cell array const

2014-05-13 Thread Milo Kim
On 05/13/2014 07:58 PM, Krzysztof Kozlowski wrote: mfd_add_devices() expects array of struct mfd_cell to be const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Milo Kim milo@ti.com Acked-by: Milo Kim milo@ti.com Thanks! -- To unsubscribe from this list: send

[PATCH 00/10] leds: lp5521,5523: restore device attributes for running LED patterns

2013-08-08 Thread Milo Kim
below This branch is based on 'for-next' of linux-leds. https://github.com/milokim/lp55xx.git resolve-missing-sysfs Milo Kim (10): leds: lp55xx: add common data structure for program leds: lp55xx: add common macros for device attributes leds: lp5521: restore legacy device attributes leds

[PATCH 06/10] leds: lp5523: LED MUX configuration on initializing

2013-08-08 Thread Milo Kim
, lp5523_post_init_device(). This is a conflict after git commit 632418bf65503405df3f9a6a1616f5a95f91db85 (leds-lp5523: clean up lp5523_configure()). So it should be fixed. Cc: Pali Rohár pali.ro...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5523.c | 70

[PATCH 09/10] Documentation: leds-lp5521,lp5523: update device attribute information

2013-08-08 Thread Milo Kim
Now, all legacy application interfaces are restored. Each driver documentation is updated. Cc: Pali Rohár pali.ro...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- Documentation/leds/leds-lp5521.txt | 20 +++- Documentation/leds/leds-lp5523.txt | 21

[PATCH 10/10] leds: lp5562: use LP55xx common macros for device attributes

2013-08-08 Thread Milo Kim
Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5562.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/leds/leds-lp5562.c b/drivers/leds/leds-lp5562.c index a2c7398..2585cfd 100644 --- a/drivers/leds/leds-lp5562.c +++ b/drivers/leds/leds-lp5562

[PATCH 02/10] leds: lp55xx: add common macros for device attributes

2013-08-08 Thread Milo Kim
, so use these macros for adding device attributes in LP5521 and LP5523 drivers. Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp55xx-common.h | 47 + 1 file changed, 47 insertions(+) diff --git a/drivers/leds/leds-lp55xx-common.h b/drivers

[PATCH 08/10] leds: lp5523: remove unnecessary writing commands

2013-08-08 Thread Milo Kim
needless to clear whole area. Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5523.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c index 9b8be6f6..fe3bcbb 100644 --- a/drivers/leds/leds

[PATCH 07/10] leds: lp5523: restore legacy device attributes

2013-08-08 Thread Milo Kim
, we can use the application without re-compiling sources. Reported-by: Pali Rohár pali.ro...@gmail.com Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5523.c | 227 +++- 1 file changed, 223 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 04/10] leds: lp5521: remove unnecessary writing commands

2013-08-08 Thread Milo Kim
needless to clear whole area. Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5521.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds/leds-lp5521.c index c00f922..0518835 100644 --- a/drivers/leds/leds

[PATCH 05/10] leds: lp5523: make separate API for loading engine

2013-08-08 Thread Milo Kim
' and select program page number. This is used for programming a LED pattern at a time. So load_engine() is replaced with new API, load_engine_and_select_page() in lp5523_firmware_loaded(). Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5523.c | 14 ++ 1 file changed, 10

[PATCH 03/10] leds: lp5521: restore legacy device attributes

2013-08-08 Thread Milo Kim
: engineN_mode and _load were created for custom user-application. 'led_pattern' is an exception. I added this attribute not for custom application but for simple test. Now it is used only in LP5562 driver, not LP5521. Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp5521.c | 104

[PATCH 01/10] leds: lp55xx: add common data structure for program

2013-08-08 Thread Milo Kim
is used for showing/storing current output LED selection. This is only for LP5523/55231. Signed-off-by: Milo Kim milo@ti.com --- drivers/leds/leds-lp55xx-common.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/leds/leds-lp55xx-common.h b/drivers/leds/leds

Re: [PATCH 09/13] video/backlight: LP8788 needs PWM

2014-04-24 Thread Milo Kim
driver based on feedback. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Peter Griffin peter.grif...@linaro.org Thanks! Acked-by: Milo Kim milo@ti.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 12/13] video/backlight: LP855X needs PWM

2014-04-24 Thread Milo Kim
On 04/24/2014 09:28 PM, Peter Griffin wrote: From: Arnd Bergmann a...@arndb.de The LP855X driver cannot be successfully built if we don't enable the PWM subsystem. This patch makes that dependency explicit in Kconfig and prevents broken randconfig builds. Thanks! Acked-by: Milo Kim milo

[PATCH] backlight: lp855x: use private data for regulator control

2015-06-30 Thread Milo Kim
...@chromium.org Cc: Jingoo Han jingooh...@gmail.com Cc: Lee Jones lee.jo...@linaro.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- .../devicetree/bindings/video/backlight/lp855x.txt | 2 -- drivers/video/backlight/lp855x_bl.c

[PATCH v3] backlight: lp855x: use private data for regulator control

2015-07-20 Thread Milo Kim
: Keeps optional property 'name-supply' in LP855x DT binding. Cc: Sean Paul seanp...@chromium.org Cc: Jingoo Han jingooh...@gmail.com Cc: Lee Jones lee.jo...@linaro.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/video/backlight/lp855x_bl.c | 23

[PATCH 06/16] mfd: add TI LMU driver

2015-11-01 Thread Milo Kim
lm-sens...@lm-sensors.org Cc: linux-l...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/mfd/Kconfig | 12 ++ drivers/mfd/Makefile| 1 +

[PATCH 03/16] Documentation: dt-bindings: hwmon: add TI LMU HWMON binding information

2015-11-01 Thread Milo Kim
Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ti-l

[PATCH 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information

2015-11-01 Thread Milo Kim
LM3633 LED device is one of TI LMU device list. Cc: devicet...@vger.kernel.org Cc: Jacek Anaszewski <j.anaszew...@samsung.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: linux-kernel@vger.kernel.org Cc: linux-l...@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> -

[PATCH RESEND 11/16] backlight: ti-lmu-backlight: add LM3633 driver

2015-11-01 Thread Milo Kim
t; Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 ++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3633_bl.c | 210 3 files changed, 220 insertions(+) create m

[PATCH RESEND 15/16] leds: add LM3633 driver

2015-11-01 Thread Milo Kim
ernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- Documentation/ABI/testing/sysfs-class-led-lm3633 | 60 ++ drivers/leds/Kconfig | 10 + drivers/leds/Makefile| 1 + drivers/

[PATCH RESEND 10/16] backlight: ti-lmu-backlight: add LM3632 driver

2015-11-01 Thread Milo Kim
o.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 +++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3632_bl.c | 125 3 files changed, 135 insertio

[PATCH RESEND 12/16] backlight: ti-lmu-backlight: add LM3695 driver

2015-11-01 Thread Milo Kim
g Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 8 drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3695_bl.c | 91 + 3 files changed, 100 insertions(+) create mode 100644 drivers/video/bac

[PATCH RESEND 03/16] Documentation: dt-bindings: hwmon: add TI LMU HWMON binding information

2015-11-01 Thread Milo Kim
Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ti-l

[PATCH RESEND 06/16] mfd: add TI LMU driver

2015-11-01 Thread Milo Kim
lm-sens...@lm-sensors.org Cc: linux-l...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/mfd/Kconfig | 12 ++ drivers/mfd/Makefile| 1 +

[PATCH RESEND 13/16] backlight: ti-lmu-backlight: add LM3697 driver

2015-11-01 Thread Milo Kim
t; Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 ++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3697_bl.c | 187 3 files changed, 197 insertions(+) create m

[PATCH RESEND 16/16] regulator: add LM363X driver

2015-11-01 Thread Milo Kim
of LM3632 can be controlled by external pins. Those are described in the device tree bindings. Cc: Mark Brown <broo...@kernel.org> Cc: Lee Jones <lee.jo...@linaro.org> Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers

[PATCH RESEND 14/16] hwmon: add TI LMU hardware fault monitoring driver

2015-11-01 Thread Milo Kim
handles this event. Cc: Guenter Roeck <li...@roeck-us.net> Cc: Jean Delvare <jdelv...@suse.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: devicet...@vger.kernel.org Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --

[PATCH RESEND 01/16] Documentation: dt-bindings: mfd: add TI LMU device binding information

2015-11-01 Thread Milo Kim
This patch describes overall binding for TI LMU MFD devices. Cc: devicet...@vger.kernel.org Cc: Lee Jones <lee.jo...@linaro.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- Documentation/devicetree/bindings/mfd/ti-lmu.txt | 282 +++

[PATCH 09/16] backlight: ti-lmu-backlight: add LM3631 driver

2015-11-01 Thread Milo Kim
o.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 +++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3631_bl.c | 129 3 files changed, 139 insertio

[PATCH 01/16] Documentation: dt-bindings: mfd: add TI LMU device binding information

2015-11-01 Thread Milo Kim
This patch describes overall binding for TI LMU MFD devices. Cc: devicet...@vger.kernel.org Cc: Lee Jones <lee.jo...@linaro.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- Documentation/devicetree/bindings/mfd/ti-lmu.txt | 282 +++

[PATCH 07/16] backlight: add TI LMU backlight common driver

2015-11-01 Thread Milo Kim
gmail.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig| 9 + drivers/video/backlight/Makefile | 1 + drivers/video/b

[PATCH 14/16] hwmon: add TI LMU hardware fault monitoring driver

2015-11-01 Thread Milo Kim
handles this event. Cc: Guenter Roeck <li...@roeck-us.net> Cc: Jean Delvare <jdelv...@suse.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: devicet...@vger.kernel.org Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --

[PATCH 08/16] backlight: ti-lmu-backlight: add LM3532 driver

2015-11-01 Thread Milo Kim
o.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 ++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3532_bl.c | 183 3 files changed, 193 insertio

[PATCH 10/16] backlight: ti-lmu-backlight: add LM3632 driver

2015-11-01 Thread Milo Kim
o.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 +++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3632_bl.c | 125 3 files changed, 135 insertio

[PATCH 11/16] backlight: ti-lmu-backlight: add LM3633 driver

2015-11-01 Thread Milo Kim
t; Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 ++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3633_bl.c | 210 3 files changed, 220 insertions(+) create m

[PATCH RESEND 07/16] backlight: add TI LMU backlight common driver

2015-11-01 Thread Milo Kim
gmail.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig| 9 + drivers/video/backlight/Makefile | 1 + drivers/video/b

[PATCH RESEND 02/16] Documentation: dt-bindings: backlight: add TI LMU backlight binding information

2015-11-01 Thread Milo Kim
LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697 use common dt-bindings for describing device. Cc: devicet...@vger.kernel.org Cc: Jingoo Han <jingooh...@gmail.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com>

[PATCH 15/16] leds: add LM3633 driver

2015-11-01 Thread Milo Kim
ernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- Documentation/ABI/testing/sysfs-class-led-lm3633 | 60 ++ drivers/leds/Kconfig | 10 + drivers/leds/Makefile| 1 + drivers/

[PATCH 13/16] backlight: ti-lmu-backlight: add LM3697 driver

2015-11-01 Thread Milo Kim
t; Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 ++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3697_bl.c | 187 3 files changed, 197 insertions(+) create m

[PATCH 02/16] Documentation: dt-bindings: backlight: add TI LMU backlight binding information

2015-11-01 Thread Milo Kim
LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697 use common dt-bindings for describing device. Cc: devicet...@vger.kernel.org Cc: Jingoo Han <jingooh...@gmail.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com>

[PATCH 05/16] Documentation: dt-bindings: regulator: add LM363x regulator binding information

2015-11-01 Thread Milo Kim
This binding supports LM3631 and LM3632 regulator configuration. Cc: devicet...@vger.kernel.org Cc: Lee Jones <lee.jo...@linaro.org> Cc: Mark Brown <broo...@kernel.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- .../bindings/regulator/lm

[PATCH 12/16] backlight: ti-lmu-backlight: add LM3695 driver

2015-11-01 Thread Milo Kim
g Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 8 drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3695_bl.c | 91 + 3 files changed, 100 insertions(+) create mode 100644 drivers/video/bac

[PATCH 16/16] regulator: add LM363X driver

2015-11-01 Thread Milo Kim
of LM3632 can be controlled by external pins. Those are described in the device tree bindings. Cc: Mark Brown <broo...@kernel.org> Cc: Lee Jones <lee.jo...@linaro.org> Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers

[PATCH RESEND 00/16] Support TI LMU devices

2015-11-01 Thread Milo Kim
. Branch name is 'ti-lmu'. git clone -b ti-lmu https://github.com/milokim/linux.git Milo Kim (16): Documentation: dt-bindings: mfd: add TI LMU device binding information Documentation: dt-bindings: backlight: add TI LMU backlight binding information Documentation: dt-bindings: hwmon: add TI

[PATCH 00/16] Support TI LMU devices

2015-11-01 Thread Milo Kim
. Branch name is 'ti-lmu'. git clone -b ti-lmu https://github.com/milokim/linux.git Milo Kim (16): Documentation: dt-bindings: mfd: add TI LMU device binding information Documentation: dt-bindings: backlight: add TI LMU backlight binding information Documentation: dt-bindings: hwmon: add TI

[PATCH RESEND 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information

2015-11-01 Thread Milo Kim
LM3633 LED device is one of TI LMU device list. Cc: devicet...@vger.kernel.org Cc: Jacek Anaszewski <j.anaszew...@samsung.com> Cc: Lee Jones <lee.jo...@linaro.org> Cc: linux-kernel@vger.kernel.org Cc: linux-l...@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> -

[PATCH RESEND 05/16] Documentation: dt-bindings: regulator: add LM363x regulator binding information

2015-11-01 Thread Milo Kim
This binding supports LM3631 and LM3632 regulator configuration. Cc: devicet...@vger.kernel.org Cc: Lee Jones <lee.jo...@linaro.org> Cc: Mark Brown <broo...@kernel.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- .../bindings/regulator/lm

[PATCH RESEND 09/16] backlight: ti-lmu-backlight: add LM3631 driver

2015-11-01 Thread Milo Kim
o.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 +++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3631_bl.c | 129 3 files changed, 139 insertio

[PATCH RESEND 08/16] backlight: ti-lmu-backlight: add LM3532 driver

2015-11-01 Thread Milo Kim
o.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/video/backlight/Kconfig | 9 ++ drivers/video/backlight/Makefile| 1 + drivers/video/backlight/lm3532_bl.c | 183 3 files changed, 193 insertio

[PATCH v2] backlight: lp855x: use private data for regulator control

2015-07-10 Thread Milo Kim
optional property 'name-supply' in LP855x DT binding. Cc: Sean Paul seanp...@chromium.org Cc: Jingoo Han jingooh...@gmail.com Cc: Lee Jones lee.jo...@linaro.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/video/backlight/lp855x_bl.c | 20

  1   2   3   4   5   6   7   >