1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/light/n 4 $id: http://devicetree.org/schemas/iio/light/noa1305.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: ON Semiconductor NOA1305 Ambient Light 7 title: ON Semiconductor NOA1305 Ambient Light Sensor 8 8 9 maintainers: 9 maintainers: 10 - Martyn Welch <martyn.welch@collabora.com> 10 - Martyn Welch <martyn.welch@collabora.com> 11 11 12 description: | 12 description: | 13 Ambient sensing with an i2c interface. 13 Ambient sensing with an i2c interface. 14 14 15 https://www.onsemi.com/pub/Collateral/NOA130 15 https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 enum: 19 enum: 20 - onnn,noa1305 20 - onnn,noa1305 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 vin-supply: 25 vin-supply: 26 description: Regulator that provides power 26 description: Regulator that provides power to the sensor 27 27 28 required: 28 required: 29 - compatible 29 - compatible 30 - reg 30 - reg 31 31 32 additionalProperties: false 32 additionalProperties: false 33 33 34 examples: 34 examples: 35 - | 35 - | 36 i2c { 36 i2c { 37 37 38 #address-cells = <1>; 38 #address-cells = <1>; 39 #size-cells = <0>; 39 #size-cells = <0>; 40 40 41 light@39 { 41 light@39 { 42 compatible = "onnn,noa1305"; 42 compatible = "onnn,noa1305"; 43 reg = <0x39>; 43 reg = <0x39>; 44 }; 44 }; 45 }; 45 }; 46 ... 46 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.