linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 00/10] backlight: Add TI LMU backlight driver
@ 2018-03-30 17:24 Sebastian Reichel
  2018-03-30 17:24 ` [PATCHv4 01/10] mfd: ti-lmu: constify mfd_cell tables Sebastian Reichel
                   ` (9 more replies)
  0 siblings, 10 replies; 30+ messages in thread
From: Sebastian Reichel @ 2018-03-30 17:24 UTC (permalink / raw)
  To: Sebastian Reichel, Milo Kim, Lee Jones, Daniel Thompson,
	Rob Herring, Tony Lindgren
  Cc: Jingoo Han, Mark Rutland, linux-kernel, linux-fbdev, devicetree,
	linux-omap, Sebastian Reichel

Hi,

This adds backlight support for TI LMU devices. It was tested with
an lm3532 on Motorola Droid 4, which uses one channel for display
backlight and one channel for keyboard backlight.

Changes since PATCHv3:
 * Complete overhaul to satisfy Rob's remarks regarding to the binding
 * Implement LED subsystem support for keyboard backlights
 * Add lots of cleanup patches for the TI LMU MFD driver

Changes since PATCHv2:
 * Drop all binding parts, that were NAK'd by Rob.

Changes since PATCHv1:
 * split dt-binding documentation in its own patch
 * move include/linux/mfd/ti-lmu-backlight.h to drivers/video/backlight/ti-lmu-backlight-data.h
 * replace LMU_BL_REG() with a normal struct
 * add "const" keyword to lots of internal structures
 * improve error handling
 * use atomic pwm api

-- Sebastian

Sebastian Reichel (10):
  mfd: ti-lmu: constify mfd_cell tables
  mfd: ti-lmu: switch to gpiod
  mfd: ti-lmu: use managed resource for everything
  mfd: ti-lmu: drop of_compatible for backlight driver
  mfd: ti-lmu: use of_device_get_match_data() helper
  mfd: ti-lmu: add PWM support
  mfd: ti-lmu: register one backlight device per channel
  backlight: add TI LMU backlight driver
  dt-bindings: mfd: ti-lmu: update for backlight
  ARM: dts: omap4-droid4: update backlight led-controller

 Documentation/devicetree/bindings/mfd/ti-lmu.txt | 119 ++--
 arch/arm/boot/dts/omap4-droid4-xt894.dts         |  20 +-
 drivers/mfd/ti-lmu.c                             | 170 +++---
 drivers/video/backlight/Kconfig                  |   7 +
 drivers/video/backlight/Makefile                 |   3 +
 drivers/video/backlight/ti-lmu-backlight-core.c  | 666 +++++++++++++++++++++++
 drivers/video/backlight/ti-lmu-backlight-data.c  | 304 +++++++++++
 drivers/video/backlight/ti-lmu-backlight-data.h  |  95 ++++
 include/linux/mfd/ti-lmu.h                       |  10 +-
 9 files changed, 1257 insertions(+), 137 deletions(-)
 create mode 100644 drivers/video/backlight/ti-lmu-backlight-core.c
 create mode 100644 drivers/video/backlight/ti-lmu-backlight-data.c
 create mode 100644 drivers/video/backlight/ti-lmu-backlight-data.h

-- 
2.16.2

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

end of thread, other threads:[~2018-04-16 14:42 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-30 17:24 [PATCHv4 00/10] backlight: Add TI LMU backlight driver Sebastian Reichel
2018-03-30 17:24 ` [PATCHv4 01/10] mfd: ti-lmu: constify mfd_cell tables Sebastian Reichel
2018-04-16 14:20   ` Lee Jones
2018-03-30 17:24 ` [PATCHv4 02/10] mfd: ti-lmu: switch to gpiod Sebastian Reichel
2018-04-16 14:32   ` Lee Jones
2018-03-30 17:24 ` [PATCHv4 03/10] mfd: ti-lmu: use managed resource for everything Sebastian Reichel
2018-04-16 14:38   ` Lee Jones
2018-03-30 17:24 ` [PATCHv4 04/10] mfd: ti-lmu: drop of_compatible for backlight driver Sebastian Reichel
2018-04-16 14:40   ` Lee Jones
2018-03-30 17:24 ` [PATCHv4 05/10] mfd: ti-lmu: use of_device_get_match_data() helper Sebastian Reichel
2018-04-16 14:41   ` Lee Jones
2018-03-30 17:24 ` [PATCHv4 06/10] mfd: ti-lmu: add PWM support Sebastian Reichel
2018-04-03 10:48   ` Pavel Machek
2018-04-04 19:04   ` Dan Murphy
2018-04-09 15:46     ` Sebastian Reichel
2018-03-30 17:24 ` [PATCHv4 07/10] mfd: ti-lmu: register one backlight device per channel Sebastian Reichel
2018-04-16 14:42   ` Lee Jones
2018-03-30 17:24 ` [PATCHv4 08/10] backlight: add TI LMU backlight driver Sebastian Reichel
2018-04-03 10:49   ` Pavel Machek
2018-04-09 15:54     ` Sebastian Reichel
2018-04-10  6:38       ` Pavel Machek
2018-04-04 14:57   ` Daniel Thompson
2018-04-09 16:14     ` Sebastian Reichel
2018-04-04 18:30   ` Dan Murphy
2018-04-09 16:11     ` Sebastian Reichel
2018-03-30 17:24 ` [PATCHv4 09/10] dt-bindings: mfd: ti-lmu: update for backlight Sebastian Reichel
2018-04-09 21:06   ` Rob Herring
2018-04-09 21:24     ` Sebastian Reichel
2018-03-30 17:24 ` [PATCHv4 10/10] ARM: dts: omap4-droid4: update backlight led-controller Sebastian Reichel
2018-04-03 10:49   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).