Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / light / avago,apds9960.yaml
blobf06e0fda56299a40154f9401d739522c8b06541d
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/light/avago,apds9960.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Avago APDS9960 gesture/RGB/ALS/proximity sensor
9 maintainers:
10   - Matt Ranostay <matt.ranostay@konsulko.com>
12 description: |
13   Datasheet at https://www.avagotech.com/docs/AV02-4191EN
15 properties:
16   compatible:
17     const: avago,apds9960
19   reg:
20     maxItems: 1
22   interrupts:
23     maxItems: 1
25 additionalProperties: false
27 required:
28   - compatible
29   - reg
31 examples:
32   - |
33     i2c {
34         #address-cells = <1>;
35         #size-cells = <0>;
37         light-sensor@39 {
38             compatible = "avago,apds9960";
39             reg = <0x39>;
40             interrupt-parent = <&gpio1>;
41             interrupts = <16 1>;
42         };
43     };
44 ...