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 allOf: 29 - $ref: /schemas/types.yaml#/definitions/uint32 30 - enum: [1, 16] 31 32required: 33 - compatible 34 - reg 35 36examples: 37 - | 38 i2c { 39 40 #address-cells = <1>; 41 #size-cells = <0>; 42 43 light-sensor@29 { 44 compatible = "amstaos,tsl2563"; 45 reg = <0x29>; 46 amstaos,cover-comp-gain = <16>; 47 }; 48 }; 49... 50