zephyr/drivers/sensor
Emil Dahl Juhl 1a3dd63dde drivers: sensor: ti: opt3001: add trigger support
The ti,opt3001 ambient light sensor is capable of asserting its interrupt
gpio upon conversion completion. The interrupt gpio can then be used to
trigger a reading of the conversion result automatically.
Due to this, it makes sense for the driver to implement the sensor trigger
functionality.

Add a devicetree property, int-gpios, to the ti,opt3001 bindings to allow
describing the gpio used for getting interrupts from the ti,opt3001.

Implement the sensor trigger functionality with options for using the
global worker thread or letting the ti,opt3001 create its own thread for
servicing the interrupts.
In both cases, when an interrupt is received the driver will read a new
measurement from the chip and clear the interrupt. The sample is then ready
to be read by the user of the sensor.

When manually triggering a sample_fetch, the trigger handler is not
invoked.

Signed-off-by: Emil Dahl Juhl <emdj@bang-olufsen.dk>
2025-04-07 15:18:21 +02:00
..
a01nyub
adi drivers: sensors: adxl367: fix clang compilation error 2025-03-19 20:25:20 +01:00
amd_sb_tsi
amg88xx
ams drivers: sensor: ams/tsl2591: Don't check return code of initial reset 2025-02-05 21:00:36 +01:00
aosong drivers: sensor: dht: Fix sensor read issue on esp32_devkitc_wrover 2024-12-23 09:16:06 +01:00
apds9253 apds9253: Add measurement rate set attribute 2025-03-07 19:47:51 +01:00
apds9306
apds9960
asahi_kasei drivers: sensor: ak09918c use RTIO 2025-03-07 19:43:22 +01:00
bosch drivers: sensors: bma4xx: add I2C_RTIO Kconfig for I2C 2025-04-04 18:17:41 +02:00
current_amp drivers: sensor: current_amp: add calibration option 2025-04-03 15:26:36 -07:00
ene_tach_kb1200
ens160
espressif
everlight drivers: sensor: add everlight light sensor 2025-04-01 22:12:13 +02:00
explorir_m drivers: sensor: explorir_m: add calibration 2025-03-14 17:54:39 +01:00
f75303
fcx_mldx5
grow_r502a sensor: grow_r502a: fix: untrusted array index read 2025-01-30 07:20:29 +01:00
hc_sr04
honeywell
hp206c
infineon
ist8310
ite drivers/sensor/ite/tach_ite_it8xxx2: run clang format 2025-03-21 09:53:22 +01:00
jedec
liteon drivers: sensor: liteon: Move to vendor subdirectory 2025-04-01 22:12:01 +02:00
lm35
lm75
lm77
maxim drivers: sensor: maxim,ds3231: avoid compilation error 2025-02-05 01:16:03 +01:00
meas drivers: sensor: meas: ms5837 supporting 02 and 30 variants via dt 2025-04-04 21:16:20 +02:00
melexis drivers: sensor: mlx90394: added driver 2025-01-21 09:12:41 +01:00
memsic drivers: sensor: Add sensor clock API support 2025-01-15 19:03:13 +01:00
mhz19b
microchip
nct75
nordic drivers: sensor: fix "Celsius" spelling 2025-02-19 18:51:13 +01:00
ntc_thermistor
nuvoton
nxp modules: hal_nxp: Move hal_nxp glue layer to zephyr repo 2025-03-26 16:26:34 +01:00
pixart sensor: pat9136: Add cooldown timer 2025-04-02 05:29:23 +02:00
pms7003
qdec_sam
renesas drivers: sensor: hs400x: Soft reset HS400x during initialization 2025-03-13 07:22:36 +01:00
rohm
rpi_pico_temp
s11059
sbs_gauge
seeed
sensirion drivers: sensor: scd4x: fix int overflow on val2 for temp and hum 2025-02-21 04:39:42 +01:00
silabs drivers: sensor: si7060: fix: insecure data handling caught by coverity 2025-02-26 07:40:00 +01:00
st sensor: lsm6dsv16x: sensor GBIAS initialization 2025-04-01 11:59:31 +02:00
sx9500
tdk drivers: sensor: icp201xx: Add icp201xx support 2025-04-07 15:17:44 +02:00
th02
ti drivers: sensor: ti: opt3001: add trigger support 2025-04-07 15:18:21 +02:00
tsic_xx6 drivers: sensor: fix "Celsius" spelling 2025-02-19 18:51:13 +01:00
veaa_x_3
vishay drivers: sensor: add vishay veml6031 ambient light sensor 2025-03-14 14:40:12 +01:00
voltage_divider sensors: reconfig adc for channel 2025-01-14 22:55:07 +01:00
wsen drivers: sensor: wsen_pads_2511020213301: add sensor driver 2025-02-06 07:45:13 +01:00
xbr818 sensor: xbr818: struct sensor... to DEVICE_API 2025-02-14 08:45:13 +01:00
CMakeLists.txt drivers: sensor: add everlight light sensor 2025-04-01 22:12:13 +02:00
default_rtio_sensor.c drivers: sensor: Add sensor clock API support 2025-01-15 19:03:13 +01:00
Kconfig drivers: sensor: add everlight light sensor 2025-04-01 22:12:13 +02:00
Kconfig.sensor_clock drivers: sensor: Add sensor clock API support 2025-01-15 19:03:13 +01:00
Kconfig.trigger_template drivers: sensor: kconfig: Explicitly add default trigger mode as none 2025-02-04 09:17:48 +01:00
sensor_clock_external.c drivers: sensor: Add sensor clock API support 2025-01-15 19:03:13 +01:00
sensor_clock_sys.c drivers: sensor: Add sensor clock API support 2025-01-15 19:03:13 +01:00
sensor_decoders_init.c
sensor_handlers.c
sensor_shell_stream.c
sensor_shell.c drivers: sensor: shell: fix logically deadcode issue 2025-03-07 20:22:10 +01:00
sensor_shell.h
shell_battery.c