All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] Support TI Light Management Unit devices
@ 2014-02-14  6:30 ` Milo Kim
  0 siblings, 0 replies; 5+ messages in thread
From: Milo Kim @ 2014-02-14  6:30 UTC (permalink / raw)
  To: Lee Jones, Jingoo Han, Bryan Wu, Mark Brown
  Cc: linux-kernel, devicetree, Samuel Ortiz, Milo Kim

TI LMU (Lighting Management Unit) driver supports lighting devices such like
LM3532, LM3631, LM3633, LM3695 and LM3697.

         Enable pin  Backlights  PWM control  Light effects  Others
         ----------  ----------  -----------  -------------  ------
LM3532       Yes         Yes         Yes      ramp up/down
LM3631       Yes         Yes         Yes      slope          5 regulators
LM3633       Yes         Yes         Yes      ramp up/down   LEDs
                                              /pattern
LM3695       Yes         Yes         No
LM3697       Yes         Yes         Yes      ramp up/down

This patch-set consists of several parts below.

  TI LMU                : HW enable pin control. I2C register access
  TI LMU effect         : Light effect support for backlight and LED
  TI LMU backlight      : Backlight subsystem, PWM, control bank assignment
  Each backlight driver : 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-backlight: Add LM3532 driver
  backlight: ti-lmu-backlight: Add LM3631 driver
  backlight: ti-lmu-backlight: Add LM3633 driver
  backlight: ti-lmu-backlight: Add LM3695 driver
  backlight: ti-lmu-backlight: Add LM3697 driver
  leds: Add LM3633 driver
  regulator: Add LM3631 driver
  Documentation: Add device tree bindings for TI LMU devices

 .../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 ++++
 Documentation/leds/leds-lm3633.txt                 |   38 ++
 drivers/leds/Kconfig                               |   10 +
 drivers/leds/Makefile                              |    1 +
 drivers/leds/leds-lm3633.c                         |  661 ++++++++++++++++++++
 drivers/mfd/Kconfig                                |   12 +
 drivers/mfd/Makefile                               |    1 +
 drivers/mfd/ti-lmu-effect.c                        |  328 ++++++++++
 drivers/mfd/ti-lmu.c                               |  464 ++++++++++++++
 drivers/regulator/Kconfig                          |    8 +
 drivers/regulator/Makefile                         |    1 +
 drivers/regulator/lm3631-regulator.c               |  285 +++++++++
 drivers/video/backlight/Kconfig                    |   51 ++
 drivers/video/backlight/Makefile                   |    6 +
 drivers/video/backlight/lm3532_bl.c                |  240 +++++++
 drivers/video/backlight/lm3631_bl.c                |  186 ++++++
 drivers/video/backlight/lm3633_bl.c                |  244 ++++++++
 drivers/video/backlight/lm3695_bl.c                |  143 +++++
 drivers/video/backlight/lm3697_bl.c                |  224 +++++++
 drivers/video/backlight/ti-lmu-backlight.c         |  369 +++++++++++
 drivers/video/backlight/ti-lmu-backlight.h         |   78 +++
 include/linux/mfd/ti-lmu-effect.h                  |  109 ++++
 include/linux/mfd/ti-lmu-register.h                |  269 ++++++++
 include/linux/mfd/ti-lmu.h                         |  150 +++++
 27 files changed, 4275 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3633.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/ti-lmu.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/lm3631-regulator.txt
 create mode 100644 Documentation/devicetree/bindings/video/backlight/ti-lmu-backlight.txt
 create mode 100644 Documentation/leds/leds-lm3633.txt
 create mode 100644 drivers/leds/leds-lm3633.c
 create mode 100644 drivers/mfd/ti-lmu-effect.c
 create mode 100644 drivers/mfd/ti-lmu.c
 create mode 100644 drivers/regulator/lm3631-regulator.c
 create mode 100644 drivers/video/backlight/lm3532_bl.c
 create mode 100644 drivers/video/backlight/lm3631_bl.c
 create mode 100644 drivers/video/backlight/lm3633_bl.c
 create mode 100644 drivers/video/backlight/lm3695_bl.c
 create mode 100644 drivers/video/backlight/lm3697_bl.c
 create mode 100644 drivers/video/backlight/ti-lmu-backlight.c
 create mode 100644 drivers/video/backlight/ti-lmu-backlight.h
 create mode 100644 include/linux/mfd/ti-lmu-effect.h
 create mode 100644 include/linux/mfd/ti-lmu-register.h
 create mode 100644 include/linux/mfd/ti-lmu.h

-- 
1.7.9.5


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

* [PATCH 00/10] Support TI Light Management Unit devices
@ 2014-02-14  6:30 ` Milo Kim
  0 siblings, 0 replies; 5+ messages in thread
From: Milo Kim @ 2014-02-14  6:30 UTC (permalink / raw)
  To: Lee Jones, Jingoo Han, Bryan Wu, Mark Brown
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz, Milo Kim

TI LMU (Lighting Management Unit) driver supports lighting devices such like
LM3532, LM3631, LM3633, LM3695 and LM3697.

         Enable pin  Backlights  PWM control  Light effects  Others
         ----------  ----------  -----------  -------------  ------
LM3532       Yes         Yes         Yes      ramp up/down
LM3631       Yes         Yes         Yes      slope          5 regulators
LM3633       Yes         Yes         Yes      ramp up/down   LEDs
                                              /pattern
LM3695       Yes         Yes         No
LM3697       Yes         Yes         Yes      ramp up/down

This patch-set consists of several parts below.

  TI LMU                : HW enable pin control. I2C register access
  TI LMU effect         : Light effect support for backlight and LED
  TI LMU backlight      : Backlight subsystem, PWM, control bank assignment
  Each backlight driver : 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-backlight: Add LM3532 driver
  backlight: ti-lmu-backlight: Add LM3631 driver
  backlight: ti-lmu-backlight: Add LM3633 driver
  backlight: ti-lmu-backlight: Add LM3695 driver
  backlight: ti-lmu-backlight: Add LM3697 driver
  leds: Add LM3633 driver
  regulator: Add LM3631 driver
  Documentation: Add device tree bindings for TI LMU devices

 .../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 ++++
 Documentation/leds/leds-lm3633.txt                 |   38 ++
 drivers/leds/Kconfig                               |   10 +
 drivers/leds/Makefile                              |    1 +
 drivers/leds/leds-lm3633.c                         |  661 ++++++++++++++++++++
 drivers/mfd/Kconfig                                |   12 +
 drivers/mfd/Makefile                               |    1 +
 drivers/mfd/ti-lmu-effect.c                        |  328 ++++++++++
 drivers/mfd/ti-lmu.c                               |  464 ++++++++++++++
 drivers/regulator/Kconfig                          |    8 +
 drivers/regulator/Makefile                         |    1 +
 drivers/regulator/lm3631-regulator.c               |  285 +++++++++
 drivers/video/backlight/Kconfig                    |   51 ++
 drivers/video/backlight/Makefile                   |    6 +
 drivers/video/backlight/lm3532_bl.c                |  240 +++++++
 drivers/video/backlight/lm3631_bl.c                |  186 ++++++
 drivers/video/backlight/lm3633_bl.c                |  244 ++++++++
 drivers/video/backlight/lm3695_bl.c                |  143 +++++
 drivers/video/backlight/lm3697_bl.c                |  224 +++++++
 drivers/video/backlight/ti-lmu-backlight.c         |  369 +++++++++++
 drivers/video/backlight/ti-lmu-backlight.h         |   78 +++
 include/linux/mfd/ti-lmu-effect.h                  |  109 ++++
 include/linux/mfd/ti-lmu-register.h                |  269 ++++++++
 include/linux/mfd/ti-lmu.h                         |  150 +++++
 27 files changed, 4275 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3633.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/ti-lmu.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/lm3631-regulator.txt
 create mode 100644 Documentation/devicetree/bindings/video/backlight/ti-lmu-backlight.txt
 create mode 100644 Documentation/leds/leds-lm3633.txt
 create mode 100644 drivers/leds/leds-lm3633.c
 create mode 100644 drivers/mfd/ti-lmu-effect.c
 create mode 100644 drivers/mfd/ti-lmu.c
 create mode 100644 drivers/regulator/lm3631-regulator.c
 create mode 100644 drivers/video/backlight/lm3532_bl.c
 create mode 100644 drivers/video/backlight/lm3631_bl.c
 create mode 100644 drivers/video/backlight/lm3633_bl.c
 create mode 100644 drivers/video/backlight/lm3695_bl.c
 create mode 100644 drivers/video/backlight/lm3697_bl.c
 create mode 100644 drivers/video/backlight/ti-lmu-backlight.c
 create mode 100644 drivers/video/backlight/ti-lmu-backlight.h
 create mode 100644 include/linux/mfd/ti-lmu-effect.h
 create mode 100644 include/linux/mfd/ti-lmu-register.h
 create mode 100644 include/linux/mfd/ti-lmu.h

-- 
1.7.9.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] 5+ messages in thread

* Re: [PATCH 00/10] Support TI Light Management Unit devices
  2014-02-14  6:30 ` Milo Kim
  (?)
@ 2014-02-14 10:14 ` Lee Jones
  2014-02-16 23:51     ` Milo Kim
  -1 siblings, 1 reply; 5+ messages in thread
From: Lee Jones @ 2014-02-14 10:14 UTC (permalink / raw)
  To: Milo Kim
  Cc: Jingoo Han, Bryan Wu, Mark Brown, linux-kernel, devicetree, Samuel Ortiz

> 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
>   backlight: ti-lmu-backlight: Add LM3695 driver
>   backlight: ti-lmu-backlight: Add LM3697 driver
>   leds: Add LM3633 driver
>   regulator: Add LM3631 driver
>   Documentation: Add device tree bindings for TI LMU devices

It makes it much easier to track if you send your patch set (shallow)
threaded i.e. all patches attached to [PATCH 0/x]. Having all of the
patches sent individually they will get split up and spread out all
over the reviewers INBOX, which becomes unwieldy very quickly.

Please see git send-email options:
  `--[no-]thread` and `--[no-]chain-reply-to`

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 00/10] Support TI Light Management Unit devices
  2014-02-14 10:14 ` Lee Jones
@ 2014-02-16 23:51     ` Milo Kim
  0 siblings, 0 replies; 5+ messages in thread
From: Milo Kim @ 2014-02-16 23:51 UTC (permalink / raw)
  To: Lee Jones
  Cc: Jingoo Han, Bryan Wu, Mark Brown, linux-kernel, devicetree, Samuel Ortiz

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
>>    backlight: ti-lmu-backlight: Add LM3695 driver
>>    backlight: ti-lmu-backlight: Add LM3697 driver
>>    leds: Add LM3633 driver
>>    regulator: Add LM3631 driver
>>    Documentation: Add device tree bindings for TI LMU devices
>
> It makes it much easier to track if you send your patch set (shallow)
> threaded i.e. all patches attached to [PATCH 0/x]. Having all of the
> patches sent individually they will get split up and spread out all
> over the reviewers INBOX, which becomes unwieldy very quickly.
>
> Please see git send-email options:
>    `--[no-]thread` and `--[no-]chain-reply-to`
>

Oh, sorry. I made a mistake.

I copied patch files from my working machine and sent them by using git 
send-email.

I should run
   git send-email --thread --no-chain-reply-to *.patch

but I did for each patch file, stupidly.
   git send-email --thread --no-chain-reply-to 0000-cover.patch
   git send-email --thread --no-chain-reply-to 
0001-mfd-Add-TI-LMU-driver.patch
..
   git send-email --thread --no-chain-reply-to 
0010-Documentation-Add-device-tree-bindings-for-TI-LMU-de.patch

I'm so embarrassed..

Thanks for your advice.

Best regards,
Milo

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

* Re: [PATCH 00/10] Support TI Light Management Unit devices
@ 2014-02-16 23:51     ` Milo Kim
  0 siblings, 0 replies; 5+ messages in thread
From: Milo Kim @ 2014-02-16 23:51 UTC (permalink / raw)
  To: Lee Jones
  Cc: Jingoo Han, Bryan Wu, Mark Brown,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Samuel Ortiz

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
>>    backlight: ti-lmu-backlight: Add LM3695 driver
>>    backlight: ti-lmu-backlight: Add LM3697 driver
>>    leds: Add LM3633 driver
>>    regulator: Add LM3631 driver
>>    Documentation: Add device tree bindings for TI LMU devices
>
> It makes it much easier to track if you send your patch set (shallow)
> threaded i.e. all patches attached to [PATCH 0/x]. Having all of the
> patches sent individually they will get split up and spread out all
> over the reviewers INBOX, which becomes unwieldy very quickly.
>
> Please see git send-email options:
>    `--[no-]thread` and `--[no-]chain-reply-to`
>

Oh, sorry. I made a mistake.

I copied patch files from my working machine and sent them by using git 
send-email.

I should run
   git send-email --thread --no-chain-reply-to *.patch

but I did for each patch file, stupidly.
   git send-email --thread --no-chain-reply-to 0000-cover.patch
   git send-email --thread --no-chain-reply-to 
0001-mfd-Add-TI-LMU-driver.patch
..
   git send-email --thread --no-chain-reply-to 
0010-Documentation-Add-device-tree-bindings-for-TI-LMU-de.patch

I'm so embarrassed..

Thanks for your advice.

Best regards,
Milo
--
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] 5+ messages in thread

end of thread, other threads:[~2014-02-16 23:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-14  6:30 [PATCH 00/10] Support TI Light Management Unit devices Milo Kim
2014-02-14  6:30 ` Milo Kim
2014-02-14 10:14 ` Lee Jones
2014-02-16 23:51   ` Milo Kim
2014-02-16 23:51     ` Milo Kim

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.