Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/light/st,vl6180.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: STMicro VL6180 ALS, range and proximity sensor
0008 
0009 maintainers:
0010   - Manivannan Sadhasivam <manivannanece23@gmail.com>
0011   - Peter Meerwald-Stadler <pmeerw@pmeerw.net>
0012 
0013 description: |
0014   Proximity sensing module incorporating time of flight sensor
0015   Datasheet at https://www.st.com/resource/en/datasheet/vl6180x.pdf
0016 
0017 properties:
0018   compatible:
0019     const: st,vl6180
0020 
0021   reg:
0022     maxItems: 1
0023 
0024   interrupts:
0025     maxItems: 1
0026 
0027 additionalProperties: false
0028 
0029 required:
0030   - compatible
0031   - reg
0032 
0033 examples:
0034   - |
0035     #include <dt-bindings/interrupt-controller/irq.h>
0036     i2c {
0037         #address-cells = <1>;
0038         #size-cells = <0>;
0039 
0040         proximity@29 {
0041             compatible = "st,vl6180";
0042             reg = <0x29>;
0043         };
0044     };
0045 ...