1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/light/amstaos,tsl2563.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: AMS TAOS TSL2563 ambient light sensor 8 9maintainers: 10 - Sebastian Reichel <sre@kernel.org> 11 12description: | 13 Ambient light sensor with an i2c interface. 14 15properties: 16 compatible: 17 enum: 18 - amstaos,tsl2560 19 - amstaos,tsl2561 20 - amstaos,tsl2562 21 - amstaos,tsl2563 22 23 reg: 24 maxItems: 1 25 26 amstaos,cover-comp-gain: 27 description: Multiplier for gain compensation 28 $ref: /schemas/types.yaml#/definitions/uint32 29 enum: [1, 16] 30 31required: 32 - compatible 33 - reg 34 35examples: 36 - | 37 i2c { 38 39 #address-cells = <1>; 40 #size-cells = <0>; 41 42 light-sensor@29 { 43 compatible = "amstaos,tsl2563"; 44 reg = <0x29>; 45 amstaos,cover-comp-gain = <16>; 46 }; 47 }; 48... 49