mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 02:01:29 +00:00
ac663db367
Enable operation of the TI OPT3001 light sensor without having an interrupt line available to connect the INT pin to. In this operation mode, we issue a conversion request and simply wait for the conversion time available as timeout value, determined from integration time configuration and the worst-case time given in the data sheet (sect. 6.5, table on p. 5): short integration time (100ms): 110ms + 3ms = 113ms long integration time (800ms): 880ms + 3ms = 883ms This change is transparent as behaviour defaults to using the interrupt method if an interrupt no. is configured via device tree. Interrupt-less operation mode is performed when no valid interrupt no. is given. Signed-off-by: Alexander Koch <mail@alexanderkoch.net> Signed-off-by: Michael Hornung <mhornung.linux@gmail.com> Tested-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
---|---|---|
.. | ||
acpi-als.c | ||
adjd_s311.c | ||
al3320a.c | ||
apds9300.c | ||
apds9960.c | ||
bh1750.c | ||
cm3232.c | ||
cm3323.c | ||
cm32181.c | ||
cm36651.c | ||
gp2ap020a00f.c | ||
hid-sensor-als.c | ||
hid-sensor-prox.c | ||
isl29125.c | ||
jsa1212.c | ||
Kconfig | ||
lm3533-als.c | ||
ltr501.c | ||
Makefile | ||
opt3001.c | ||
pa12203001.c | ||
rpr0521.c | ||
stk3310.c | ||
tcs3414.c | ||
tcs3472.c | ||
tsl2563.c | ||
tsl4531.c | ||
us5182d.c | ||
vcnl4000.c |