brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · fbd3a2e Raw
65 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/proximity/vishay,vcnl3020.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Integrated Proximity Sensor With Infrared Emitter8 9maintainers:10  - Ivan Mikhaylov <i.mikhaylov@yadro.com>11 12description: |13  The VCNL3020 is a fully integrated proximity sensor. Fully integrated means14  that the infrared emitter is included in the package. It has 16-bit15  resolution. It includes a signal processing IC and features standard I2C16  communication interface. It features an interrupt function.17 18  Specifications about the devices can be found at:19  https://www.vishay.com/docs/84150/vcnl3020.pdf20 21properties:22  compatible:23    enum:24      - vishay,vcnl302025 26  reg:27    maxItems: 128 29  interrupts:30    maxItems: 131 32  vdd-supply:33    description: Regulator that provides power to the sensor34 35  vddio-supply:36    description: Regulator that provides power to the bus37 38  vishay,led-current-microamp:39    description:40      The driver current for the LED used in proximity sensing.41    enum: [0, 10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000,42           100000, 110000, 120000, 130000, 140000, 150000, 160000, 170000,43           180000, 190000, 200000]44    default: 2000045 46required:47  - compatible48  - reg49 50additionalProperties: false51 52examples:53  - |54    i2c {55 56        #address-cells = <1>;57        #size-cells = <0>;58 59        proximity@13 {60              compatible = "vishay,vcnl3020";61              reg = <0x13>;62              vishay,led-current-microamp = <200000>;63        };64    };65