mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
iio: light: as73211: New driver
Support for AMS AS73211 JENCOLOR(R) Digital XYZ Sensor. This driver has no built-in trigger. In order for making triggered measurements, an external (software) trigger driver like iio-trig-hrtimer or iio-trig-sysfs is required. The sensor supports single and continuous measurement modes. The latter is not used by design as this would require tight timing synchronization between hardware and driver without much benefit. Datasheet: https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf Signed-off-by: Christian Eggers <ceggers@arri.de> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
96e55c38bb
commit
403e5586b5
@@ -943,6 +943,13 @@ S: Supported
|
||||
F: arch/arm64/boot/dts/amd/amd-seattle-xgbe*.dtsi
|
||||
F: drivers/net/ethernet/amd/xgbe/
|
||||
|
||||
AMS AS73211 DRIVER
|
||||
M: Christian Eggers <ceggers@arri.de>
|
||||
L: linux-iio@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/iio/light/ams,as73211.yaml
|
||||
F: drivers/iio/light/as73211.c
|
||||
|
||||
ANALOG DEVICES INC AD5686 DRIVER
|
||||
M: Michael Hennerich <Michael.Hennerich@analog.com>
|
||||
L: linux-pm@vger.kernel.org
|
||||
|
||||
@@ -86,6 +86,21 @@ config APDS9960
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called apds9960
|
||||
|
||||
config AS73211
|
||||
tristate "AMS AS73211 XYZ color sensor"
|
||||
depends on I2C
|
||||
select IIO_BUFFER
|
||||
select IIO_TRIGGERED_BUFFER
|
||||
help
|
||||
If you say yes here you get support for the AMS AS73211
|
||||
JENCOLOR(R) Digital XYZ Sensor.
|
||||
|
||||
For triggered measurements, you will need an additional trigger driver
|
||||
like IIO_HRTIMER_TRIGGER or IIO_SYSFS_TRIGGER.
|
||||
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called as73211.
|
||||
|
||||
config BH1750
|
||||
tristate "ROHM BH1750 ambient light sensor"
|
||||
depends on I2C
|
||||
|
||||
@@ -11,6 +11,7 @@ obj-$(CONFIG_AL3010) += al3010.o
|
||||
obj-$(CONFIG_AL3320A) += al3320a.o
|
||||
obj-$(CONFIG_APDS9300) += apds9300.o
|
||||
obj-$(CONFIG_APDS9960) += apds9960.o
|
||||
obj-$(CONFIG_AS73211) += as73211.o
|
||||
obj-$(CONFIG_BH1750) += bh1750.o
|
||||
obj-$(CONFIG_BH1780) += bh1780.o
|
||||
obj-$(CONFIG_CM32181) += cm32181.o
|
||||
|
||||
801
drivers/iio/light/as73211.c
Normal file
801
drivers/iio/light/as73211.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user