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,apds9300.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: Avago Gesture/RGB/ALS/Proximity sensors 8 9 maintainers: 10 - Subhajit Ghosh <subhajit.ghosh@tweaklogic.com> 11 12 description: | 13 Datasheet: https://www.avagotech.com/docs/AV02-1077EN 14 Datasheet: https://www.avagotech.com/docs/AV02-4191EN 15 Datasheet: https://www.avagotech.com/docs/AV02-4755EN 16 17 properties: 18 compatible: 19 enum: 20 - avago,apds9300 21 - avago,apds9306 22 - avago,apds9960 23 24 reg: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 vdd-supply: true 31 32 additionalProperties: false 33 34 required: 35 - compatible 36 - reg 37 38 examples: 39 - | 40 #include <dt-bindings/interrupt-controller/irq.h> 41 42 i2c { 43 #address-cells = <1>; 44 #size-cells = <0>; 45 46 light-sensor@39 { 47 compatible = "avago,apds9300"; 48 reg = <0x39>; 49 interrupt-parent = <&gpio2>; 50 interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 51 vdd-supply = <®ulator_3v3>; 52 }; 53 }; 54 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.