Home
last modified time | relevance | path

Searched full:opt3001 (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/iio/light/
Dopt3001.c3 * opt3001.c - Texas Instruments OPT3001 Light Sensor
73 struct opt3001 { struct
151 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale()
174 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret()
184 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode()
228 static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) in opt3001_get_lux()
351 static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) in opt3001_get_int_time()
359 static int opt3001_set_int_time(struct opt3001 *opt, int time) in opt3001_set_int_time()
394 struct opt3001 *opt = iio_priv(iio); in opt3001_read_raw()
425 struct opt3001 *opt = iio_priv(iio); in opt3001_write_raw()
[all …]
DKconfig474 config OPT3001 config
475 tristate "Texas Instruments OPT3001 Light Sensor"
479 OPT3001 Ambient Light Sensor.
482 opt3001.
DMakefile43 obj-$(CONFIG_OPT3001) += opt3001.o
/linux-6.12.1/Documentation/devicetree/bindings/iio/light/
Dti,opt3001.yaml4 $id: http://devicetree.org/schemas/iio/light/ti,opt3001.yaml#
7 title: Texas Instruments OPT3001 Ambient Light Sensor
18 const: ti,opt3001
41 compatible = "ti,opt3001";
/linux-6.12.1/arch/arm64/boot/dts/ti/
Dk3-am642-hummingboard-t.dts142 compatible = "ti,opt3001";