Skip to content

Commit

Permalink
iio: light: Add support for TXC PA12 als and proximity sensor
Browse files Browse the repository at this point in the history
Add support for TXC PA12203001 als and proximity sensor.
Support for raw illuminance and proximity readings.

Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Adriana Reus authored and Jonathan Cameron committed Jul 20, 2015
1 parent 94a9b7b commit 8ab6abf
Show file tree
Hide file tree
Showing 3 changed files with 495 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/iio/light/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,17 @@ config OPT3001
If built as a dynamically linked module, it will be called
opt3001.

config PA12203001
tristate "TXC PA12203001 light and proximity sensor"
depends on I2C
select REGMAP_I2C
help
If you say yes here you get support for the TXC PA12203001
ambient light and proximity sensor.

This driver can also be built as a module. If so, the module
will be called pa12203001.

config STK3310
tristate "STK3310 ALS and proximity sensor"
depends on I2C
Expand Down
1 change: 1 addition & 0 deletions drivers/iio/light/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ obj-$(CONFIG_JSA1212) += jsa1212.o
obj-$(CONFIG_SENSORS_LM3533) += lm3533-als.o
obj-$(CONFIG_LTR501) += ltr501.o
obj-$(CONFIG_OPT3001) += opt3001.o
obj-$(CONFIG_PA12203001) += pa12203001.o
obj-$(CONFIG_RPR0521) += rpr0521.o
obj-$(CONFIG_SENSORS_TSL2563) += tsl2563.o
obj-$(CONFIG_STK3310) += stk3310.o
Expand Down
Loading

0 comments on commit 8ab6abf

Please sign in to comment.