Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dcm3605.c3 * CM3605 Ambient Light and Proximity Sensor
36 * struct cm3605 - CM3605 state
45 struct cm3605 { struct
58 struct cm3605 *cm3605 = iio_priv(indio_dev); in cm3605_prox_irq() argument
62 IIO_EV_TYPE_THRESH, cm3605->dir); in cm3605_prox_irq()
66 if (cm3605->dir == IIO_EV_DIR_RISING) in cm3605_prox_irq()
67 cm3605->dir = IIO_EV_DIR_FALLING; in cm3605_prox_irq()
69 cm3605->dir = IIO_EV_DIR_RISING; in cm3605_prox_irq()
74 static int cm3605_get_lux(struct cm3605 *cm3605) in cm3605_get_lux() argument
79 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()
[all …]
H A DKconfig182 config CM3605 config
183 tristate "Capella CM3605 ambient light and proximity sensor"
185 Say Y here if you want to build a driver for Capella CM3605
189 be called cm3605.
H A DMakefile22 obj-$(CONFIG_CM3605) += cm3605.o
/linux/Documentation/devicetree/bindings/iio/light/
H A Dcapella,cm3605.yaml4 $id: http://devicetree.org/schemas/iio/light/capella,cm3605.yaml#
8 Capella Microsystems CM3605 Ambient Light and Short Distance Proximity Sensor
15 The CM3605 is an entirely analog part. However, it requires quite a bit of
24 const: capella,cm3605
70 compatible = "capella,cm3605";
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8060-dragonboard.dts64 * Capella CM3605 light and proximity sensor mounted directly
67 cm3605 {
68 compatible = "capella,cm3605";
336 dragon_cm3605_gpios: cm3605-state {
400 * Capella Microsystems CM3605.
404 linux,default-trigger = "cm3605";
437 dragon_cm3605_mpps: cm3605-mpps-state {