Path: blob/master/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/proximity/vishay,vcnl3020.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Integrated Proximity Sensor With Infrared Emitter78maintainers:9- Ivan Mikhaylov <i.mikhaylov@yadro.com>1011description: |12The VCNL3020 is a fully integrated proximity sensor. Fully integrated means13that the infrared emitter is included in the package. It has 16-bit14resolution. It includes a signal processing IC and features standard I2C15communication interface. It features an interrupt function.1617Specifications about the devices can be found at:18https://www.vishay.com/docs/84150/vcnl3020.pdf1920properties:21compatible:22enum:23- vishay,vcnl30202425reg:26maxItems: 12728interrupts:29maxItems: 13031vdd-supply:32description: Regulator that provides power to the sensor3334vddio-supply:35description: Regulator that provides power to the bus3637vishay,led-current-microamp:38description:39The driver current for the LED used in proximity sensing.40enum: [0, 10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000,41100000, 110000, 120000, 130000, 140000, 150000, 160000, 170000,42180000, 190000, 200000]43default: 200004445required:46- compatible47- reg4849additionalProperties: false5051examples:52- |53i2c {5455#address-cells = <1>;56#size-cells = <0>;5758proximity@13 {59compatible = "vishay,vcnl3020";60reg = <0x13>;61vishay,led-current-microamp = <200000>;62};63};646566