46 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/light/st,vl6180.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: STMicro VL6180 ALS, range and proximity sensor8 9maintainers:10 - Manivannan Sadhasivam <manivannanece23@gmail.com>11 - Peter Meerwald-Stadler <pmeerw@pmeerw.net>12 13description: |14 Proximity sensing module incorporating time of flight sensor15 Datasheet at https://www.st.com/resource/en/datasheet/vl6180x.pdf16 17properties:18 compatible:19 const: st,vl618020 21 reg:22 maxItems: 123 24 interrupts:25 maxItems: 126 27additionalProperties: false28 29required:30 - compatible31 - reg32 33examples:34 - |35 #include <dt-bindings/interrupt-controller/irq.h>36 i2c {37 #address-cells = <1>;38 #size-cells = <0>;39 40 proximity@29 {41 compatible = "st,vl6180";42 reg = <0x29>;43 };44 };45...46