Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: light: vcnl4000: add regulators

These sensors can accept 2 supplies - one for the sensor and one for IR
LED [1]. Add supply properties for the sensor - 2 for the sensors and
one external, for their open drain interrupt line, to ensure the sensor
is powered on before proceeding with setup.

[1] https://www.vishay.com/docs/84274/vcnl4040.pdf

Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Erikas Bitovtas <xerikasxx@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Erikas Bitovtas and committed by
Jonathan Cameron
d6747525 0dc1147b

+14
+14
Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml
··· 33 33 interrupts: 34 34 maxItems: 1 35 35 36 + vdd-supply: 37 + description: Regulator providing power to the "VDD" pin. 38 + 39 + vio-supply: 40 + description: Regulator providing power for pull-up of the I/O lines. 41 + Does not connect to the sensor directly, but is needed for the 42 + correct operation of the I2C and interrupt lines. 43 + 44 + vled-supply: 45 + description: Regulator providing power to the IR anode pin. 46 + 36 47 reg: 37 48 maxItems: 1 38 49 ··· 65 54 compatible = "vishay,vcnl4200"; 66 55 reg = <0x51>; 67 56 proximity-near-level = <220>; 57 + vdd-supply = <&reg_vdd>; 58 + vio-supply = <&reg_vio>; 59 + vled-supply = <&reg_vled>; 68 60 }; 69 61 }; 70 62 ...