Messages in this thread | | | From | Johan Hovold <> | Subject | [PATCH 0/4] mfd: add LM3533 lighting-power chip driver | Date | Fri, 20 Apr 2012 17:30:22 +0200 |
| |
These patches (against v3.4-rc3) add support for the National Semiconductor / Texas Instruments LM3533 lighting-power chip.
This multi-function device has four LEDs, two backlights and an ambient-light sensor.
The LEDs and backlights can be controlled directly, through PWM input, or by the on-chip ambient light sensor. Hardware-accelerated blinking is provided for the LEDs.
ALS control is done through defining five light zones and three sets of corresponding brightness target levels. The ALS driver presents a character device (/dev/lm3533-als) which can be used to retrieve the current light zone or to poll for zone changes.
Further details and specifications will soon be available from
http://www.ti.com/product/lm3533
This work has been done on behalf of National Semiconductor / Texas Instruments.
Thanks, Johan
Johan Hovold (4): mfd: add LM3533 lighting-power core driver misc: add LM3533 ambient light sensor driver leds: add LM3533 LED driver backlight: add LM3533 backlight driver
drivers/leds/Kconfig | 13 + drivers/leds/Makefile | 1 + drivers/leds/leds-lm3533.c | 713 +++++++++++++++++++++++++++++++++ drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile | 3 + drivers/mfd/lm3533-core.c | 738 +++++++++++++++++++++++++++++++++++ drivers/mfd/lm3533-ctrlbank.c | 134 +++++++ drivers/mfd/lm3533-i2c.c | 115 ++++++ drivers/misc/Kconfig | 13 + drivers/misc/Makefile | 1 + drivers/misc/lm3533-als.c | 662 +++++++++++++++++++++++++++++++ drivers/video/backlight/Kconfig | 12 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/lm3533_bl.c | 432 ++++++++++++++++++++ include/linux/mfd/lm3533.h | 106 +++++ 15 files changed, 2956 insertions(+), 0 deletions(-) create mode 100644 drivers/leds/leds-lm3533.c create mode 100644 drivers/mfd/lm3533-core.c create mode 100644 drivers/mfd/lm3533-ctrlbank.c create mode 100644 drivers/mfd/lm3533-i2c.c create mode 100644 drivers/misc/lm3533-als.c create mode 100644 drivers/video/backlight/lm3533_bl.c create mode 100644 include/linux/mfd/lm3533.h
-- 1.7.8.5
| |