Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260460

Re: [PATCH RESEND 00/16] Support TI LMU devices

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH RESEND 00/16] Support TI LMU devices
Date 2015-11-02 10:00 +0100
Message-ID <qqj86-3aX-11@gated-at.bofh.it> (permalink)
References <qqfQR-1lO-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 02 Nov 2015, Milo Kim wrote:

> TI LMU(Lighting Management Unit) driver supports lighting devices below.
> 
>          Enable pin  Backlights  HWMON  LEDs   Regulators
>          ----------  ----------  -----  ----  ------------
> LM3532       o           o         x     x        x
> LM3631       o           o         x     x    5 regulators
> LM3632       o           o         x     x    3 regulators
> LM3633       o           o         o     o        x
> LM3695       o           o         x     x        x
> LM3697       o           o         o     x        x
> 
> This patch-set consists of several parts below.
> 
>   DT bindings           : Binding information for each module
>   TI LMU MFD            : Device registration, HW enable pin control and
>                           I2C register access
>   TI LMU backlight      : Common driver for TI LMU backlight devices
>   Each backlight driver : Chip dependent code
>   HWMON                 : LMU hardware fault monitoring driver
>   LM3633 LED            : LED subsystem and dimming pattern generation
>                           supported
>   LM363X regulator      : LM3631 and LM3632 regulator driver for the
>                           display bias
> 
> Git location:
>   Please refer to the location below. 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 LMU HWMON binding
>     information
>   Documentation: dt-bindings: leds: add LM3633 LED binding information
>   Documentation: dt-bindings: regulator: add LM363x regulator binding
>     information
>   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 LM3632 driver
>   backlight: ti-lmu-backlight: add LM3633 driver
>   backlight: ti-lmu-backlight: add LM3695 driver
>   backlight: ti-lmu-backlight: add LM3697 driver
>   hwmon: add TI LMU hardware fault monitoring driver
>   leds: add LM3633 driver
>   regulator: add LM363X driver
> 
>  Documentation/ABI/testing/sysfs-class-led-lm3633   |  60 ++
>  .../devicetree/bindings/hwmon/ti-lmu-hwmon.txt     |  12 +
>  .../devicetree/bindings/leds/leds-lm3633.txt       |  28 +
>  Documentation/devicetree/bindings/mfd/ti-lmu.txt   | 282 ++++++++
>  .../bindings/regulator/lm363x-regulator.txt        |  28 +
>  .../bindings/video/backlight/ti-lmu-backlight.txt  |  67 ++
>  drivers/hwmon/Kconfig                              |  10 +
>  drivers/hwmon/Makefile                             |   1 +
>  drivers/hwmon/ti-lmu-hwmon.c                       | 393 +++++++++++
>  drivers/leds/Kconfig                               |  10 +
>  drivers/leds/Makefile                              |   1 +
>  drivers/leds/leds-lm3633.c                         | 749 +++++++++++++++++++++
>  drivers/mfd/Kconfig                                |  12 +
>  drivers/mfd/Makefile                               |   1 +
>  drivers/mfd/ti-lmu.c                               | 324 +++++++++
>  drivers/regulator/Kconfig                          |   9 +
>  drivers/regulator/Makefile                         |   1 +
>  drivers/regulator/lm363x-regulator.c               | 349 ++++++++++
>  drivers/video/backlight/Kconfig                    |  62 ++
>  drivers/video/backlight/Makefile                   |   7 +
>  drivers/video/backlight/lm3532_bl.c                | 183 +++++
>  drivers/video/backlight/lm3631_bl.c                | 129 ++++
>  drivers/video/backlight/lm3632_bl.c                | 125 ++++
>  drivers/video/backlight/lm3633_bl.c                | 210 ++++++
>  drivers/video/backlight/lm3695_bl.c                |  91 +++
>  drivers/video/backlight/lm3697_bl.c                | 187 +++++
>  drivers/video/backlight/ti-lmu-backlight.c         | 429 ++++++++++++
>  drivers/video/backlight/ti-lmu-backlight.h         | 152 +++++

How different are all of these drivers?

Can you create one driver that supports them all instead?

>  include/linux/mfd/ti-lmu-register.h                | 277 ++++++++
>  include/linux/mfd/ti-lmu.h                         |  81 +++
>  30 files changed, 4270 insertions(+)
>  create mode 100644 Documentation/ABI/testing/sysfs-class-led-lm3633
>  create mode 100644 Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt
>  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/lm363x-regulator.txt
>  create mode 100644 Documentation/devicetree/bindings/video/backlight/ti-lmu-backlight.txt
>  create mode 100644 drivers/hwmon/ti-lmu-hwmon.c
>  create mode 100644 drivers/leds/leds-lm3633.c
>  create mode 100644 drivers/mfd/ti-lmu.c
>  create mode 100644 drivers/regulator/lm363x-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/lm3632_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-register.h
>  create mode 100644 include/linux/mfd/ti-lmu.h
> 

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RESEND 00/16] Support TI LMU devices Milo Kim <milo.kim@ti.com> - 2015-11-02 06:30 +0100
  [PATCH RESEND 02/16] Documentation: dt-bindings: backlight: add TI LMU backlight binding information Milo Kim <milo.kim@ti.com> - 2015-11-02 06:30 +0100
    Re: [PATCH RESEND 02/16] Documentation: dt-bindings: backlight: add  TI LMU backlight binding information Rob Herring <robh@kernel.org> - 2015-11-02 16:10 +0100
      Re: [PATCH RESEND 02/16] Documentation: dt-bindings: backlight: add  TI LMU backlight binding information "Kim, Milo" <milo.kim@ti.com> - 2015-11-03 08:20 +0100
        Re: [PATCH RESEND 02/16] Documentation: dt-bindings: backlight: add  TI LMU backlight binding information Rob Herring <robh@kernel.org> - 2015-11-03 16:40 +0100
  [PATCH RESEND 06/16] mfd: add TI LMU driver Milo Kim <milo.kim@ti.com> - 2015-11-02 06:30 +0100
  [PATCH RESEND 13/16] backlight: ti-lmu-backlight: add LM3697 driver Milo Kim <milo.kim@ti.com> - 2015-11-02 06:30 +0100
  [PATCH RESEND 03/16] Documentation: dt-bindings: hwmon: add TI LMU HWMON binding information Milo Kim <milo.kim@ti.com> - 2015-11-02 06:30 +0100
    Re: [PATCH RESEND 03/16] Documentation: dt-bindings: hwmon: add TI  LMU HWMON binding information Rob Herring <robh@kernel.org> - 2015-11-06 03:00 +0100
      Re: [PATCH RESEND 03/16] Documentation: dt-bindings: hwmon: add TI  LMU HWMON binding information "Kim, Milo" <milo.kim@ti.com> - 2015-11-06 05:00 +0100
  Re: [PATCH RESEND 00/16] Support TI LMU devices Lee Jones <lee.jones@linaro.org> - 2015-11-02 10:00 +0100
    Re: [PATCH RESEND 00/16] Support TI LMU devices "Kim, Milo" <milo.kim@ti.com> - 2015-11-03 08:00 +0100
      Re: [PATCH RESEND 00/16] Support TI LMU devices Lee Jones <lee.jones@linaro.org> - 2015-11-03 09:50 +0100
        Re: [PATCH RESEND 00/16] Support TI LMU devices "Kim, Milo" <milo.kim@ti.com> - 2015-11-03 10:10 +0100
  Re: [PATCH RESEND 00/16] Support TI LMU devices Lee Jones <lee.jones@linaro.org> - 2015-11-02 10:10 +0100
    Re: [PATCH RESEND 00/16] Support TI LMU devices "Kim, Milo" <milo.kim@ti.com> - 2015-11-03 08:10 +0100
      Re: [PATCH RESEND 00/16] Support TI LMU devices Lee Jones <lee.jones@linaro.org> - 2015-11-03 09:50 +0100

csiph-web