49 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/capella,cm36651.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Capella CM36651 I2C Proximity and Color Light sensor8 9maintainers:10 - Beomho Seo <beomho.seo@samsung.com>11 12properties:13 compatible:14 const: capella,cm3665115 16 reg:17 maxItems: 118 19 interrupts:20 maxItems: 121 22 vled-supply:23 description: |24 Supply for the IR_LED which is part of the cm36651 for proximity detection.25 26additionalProperties: false27 28required:29 - compatible30 - reg31 - interrupts32 - vled-supply33 34examples:35 - |36 i2c {37 #address-cells = <1>;38 #size-cells = <0>;39 40 light-sensor@18 {41 compatible = "capella,cm36651";42 reg = <0x18>;43 interrupt-parent = <&gpx0>;44 interrupts = <2 0>;45 vled-supply = <&ps_als_reg>;46 };47 };48...49