Searched full:cm3605 (Results 1 – 10 of 10) sorted by relevance
| /kernel/linux/linux-5.10/drivers/iio/light/ |
| D | cm3605.c | 3 * CM3605 Ambient Light and Proximity Sensor 35 * struct cm3605 - CM3605 state 44 struct cm3605 { struct 57 struct cm3605 *cm3605 = iio_priv(indio_dev); in cm3605_prox_irq() local 61 IIO_EV_TYPE_THRESH, cm3605->dir); in cm3605_prox_irq() 65 if (cm3605->dir == IIO_EV_DIR_RISING) in cm3605_prox_irq() 66 cm3605->dir = IIO_EV_DIR_FALLING; in cm3605_prox_irq() 68 cm3605->dir = IIO_EV_DIR_RISING; in cm3605_prox_irq() 73 static int cm3605_get_lux(struct cm3605 *cm3605) in cm3605_get_lux() argument 78 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux() [all …]
|
| D | Kconfig | 156 config CM3605 config 157 tristate "Capella CM3605 ambient light and proximity sensor" 160 Say Y here if you want to build a driver for Capella CM3605 164 be called cm3605.
|
| D | Makefile | 20 obj-$(CONFIG_CM3605) += cm3605.o
|
| /kernel/linux/linux-6.6/drivers/iio/light/ |
| D | cm3605.c | 3 * 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 …]
|
| D | Kconfig | 156 config CM3605 config 157 tristate "Capella CM3605 ambient light and proximity sensor" 159 Say Y here if you want to build a driver for Capella CM3605 163 be called cm3605.
|
| D | Makefile | 20 obj-$(CONFIG_CM3605) += cm3605.o
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/light/ |
| D | cm3605.txt | 1 Capella Microsystems CM3605 4 The CM3605 is an entirely analog part which however require quite a bit of 12 - compatible: must be: "capella,cm3605" 33 cm3605 { 34 compatible = "capella,cm3605";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/light/ |
| D | capella,cm3605.yaml | 4 $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";
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | qcom-apq8060-dragonboard.dts | 64 * Capella CM3605 light and proximity sensor mounted directly 67 cm3605 { 68 compatible = "capella,cm3605"; 332 dragon_cm3605_gpios: cm3605-state { 396 * Capella Microsystems CM3605. 400 linux,default-trigger = "cm3605"; 433 dragon_cm3605_mpps: cm3605-mpps-state {
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | qcom-apq8060-dragonboard.dts | 88 * Capella CM3605 light and proximity sensor mounted directly 91 cm3605 { 92 compatible = "capella,cm3605"; 352 dragon_cm3605_gpios: cm3605-gpios { 381 dragon_cm3605_mpps: cm3605-mpps { 428 * Capella Microsystems CM3605. 434 linux,default-trigger = "cm3605";
|