Searched full:cm3605 (Results 1 – 5 of 5) sorted by relevance
3 * CM3605 Ambient Light and Proximity Sensor36 * struct cm3605 - CM3605 state45 struct cm3605 { struct58 struct cm3605 *cm3605 = iio_priv(indio_dev); in cm3605_prox_irq() argument62 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() argument79 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()[all …]
182 config CM3605 config183 tristate "Capella CM3605 ambient light and proximity sensor"185 Say Y here if you want to build a driver for Capella CM3605189 be called cm3605.
22 obj-$(CONFIG_CM3605) += cm3605.o
4 $id: http://devicetree.org/schemas/iio/light/capella,cm3605.yaml#8 Capella Microsystems CM3605 Ambient Light and Short Distance Proximity Sensor15 The CM3605 is an entirely analog part. However, it requires quite a bit of24 const: capella,cm360570 compatible = "capella,cm3605";
64 * Capella CM3605 light and proximity sensor mounted directly67 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 {