Lines Matching +full:light +full:- +full:sensor
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/light/capella,cm3605.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Capella Microsystems CM3605 Ambient Light and Short Distance Proximity Sensor
11 - Linus Walleij <linus.walleij@linaro.org>
12 - Kevin Tsai <ktsai@capellamicro.com>
18 This ALS and proximity sensor was one of the very first deployed in mobile
26 aset-gpios:
35 Connected to the POUT (proximity sensor out) line. The edge
37 movements toward and away from the proximity sensor.
39 io-channels:
45 io-channel-names:
48 vdd-supply: true
50 capella,aset-resistance-ohms:
57 - compatible
58 - aset-gpios
59 - interrupts
60 - io-channels
61 - io-channel-names
66 - |
67 #include <dt-bindings/gpio/gpio.h>
68 #include <dt-bindings/interrupt-controller/irq.h>
69 light-sensor {
71 vdd-supply = <&foo_reg>;
72 aset-gpios = <&foo_gpio 1 GPIO_ACTIVE_LOW>;
73 capella,aset-resistance-ohms = <100000>;
75 io-channels = <&adc 0x01>;
76 io-channel-names = "aout";