xref: /freebsd/sys/contrib/device-tree/Bindings/iio/light/capella,cm36651.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*5def4c47SEmmanuel Vadot%YAML 1.2
3*5def4c47SEmmanuel Vadot---
4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/light/capella,cm36651.yaml#
5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5def4c47SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle: Capella CM36651 I2C Proximity and Color Light sensor
8*5def4c47SEmmanuel Vadot
9*5def4c47SEmmanuel Vadotmaintainers:
10*5def4c47SEmmanuel Vadot  - Beomho Seo <beomho.seo@samsung.com>
11*5def4c47SEmmanuel Vadot
12*5def4c47SEmmanuel Vadotproperties:
13*5def4c47SEmmanuel Vadot  compatible:
14*5def4c47SEmmanuel Vadot    const: capella,cm36651
15*5def4c47SEmmanuel Vadot
16*5def4c47SEmmanuel Vadot  reg:
17*5def4c47SEmmanuel Vadot    maxItems: 1
18*5def4c47SEmmanuel Vadot
19*5def4c47SEmmanuel Vadot  interrupts:
20*5def4c47SEmmanuel Vadot    maxItems: 1
21*5def4c47SEmmanuel Vadot
22*5def4c47SEmmanuel Vadot  vled-supply:
23*5def4c47SEmmanuel Vadot    description: |
24*5def4c47SEmmanuel Vadot      Supply for the IR_LED which is part of the cm36651 for proximity detection.
25*5def4c47SEmmanuel Vadot
26*5def4c47SEmmanuel VadotadditionalProperties: false
27*5def4c47SEmmanuel Vadot
28*5def4c47SEmmanuel Vadotrequired:
29*5def4c47SEmmanuel Vadot  - compatible
30*5def4c47SEmmanuel Vadot  - reg
31*5def4c47SEmmanuel Vadot  - interrupts
32*5def4c47SEmmanuel Vadot  - vled-supply
33*5def4c47SEmmanuel Vadot
34*5def4c47SEmmanuel Vadotexamples:
35*5def4c47SEmmanuel Vadot  - |
36*5def4c47SEmmanuel Vadot    i2c {
37*5def4c47SEmmanuel Vadot        #address-cells = <1>;
38*5def4c47SEmmanuel Vadot        #size-cells = <0>;
39*5def4c47SEmmanuel Vadot
40*5def4c47SEmmanuel Vadot        light-sensor@18 {
41*5def4c47SEmmanuel Vadot            compatible = "capella,cm36651";
42*5def4c47SEmmanuel Vadot            reg = <0x18>;
43*5def4c47SEmmanuel Vadot            interrupt-parent = <&gpx0>;
44*5def4c47SEmmanuel Vadot            interrupts = <2 0>;
45*5def4c47SEmmanuel Vadot            vled-supply = <&ps_als_reg>;
46*5def4c47SEmmanuel Vadot        };
47*5def4c47SEmmanuel Vadot    };
48*5def4c47SEmmanuel Vadot...
49