mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
9c8ea1b29b
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 output-current values. 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. The ALS-control output values can be set per zone for the three current output channels. Signed-off-by: Johan Hovold <jhovold@gmail.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 lines
365 B
Makefile
15 lines
365 B
Makefile
#
|
|
# Makefile for the industrial I/O core.
|
|
#
|
|
|
|
obj-$(CONFIG_IIO) += industrialio.o
|
|
industrialio-y := industrialio-core.o industrialio-event.o inkern.o
|
|
industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
|
|
industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
|
|
|
|
obj-$(CONFIG_IIO_KFIFO_BUF) += kfifo_buf.o
|
|
|
|
obj-y += adc/
|
|
obj-y += amplifiers/
|
|
obj-y += light/
|