[PATCH v3] iio: add LM3533 ambient-light-sensor driver
Andrew Morton
akpm at linux-foundation.org
Tue May 15 19:27:05 UTC 2012
On Tue, 15 May 2012 18:46:36 +0200
Johan Hovold <jhovold at gmail.com> wrote:
> Add sub-driver for the ambient-light-sensor interface on National
> Semiconductor / TI LM3533 lighting power chips.
>
> The sensor interface can be used to control the LEDs and backlights of
> the chip through defining five light zones and three sets of
> corresponding brightness target levels.
>
> The driver provides raw and mean adc readings along with the current
> light zone through sysfs. A threshold event can be generated on zone
> changes.
>
> ...
>
> drivers/staging/iio/light/Kconfig | 16 +
> drivers/staging/iio/light/Makefile | 1 +
> drivers/staging/iio/light/lm3533-als.c | 726 ++++++++++++++++++++
Why is this aimed at drivers/staging/, rather than directly into
drivers/iio/?
More information about the devel
mailing list