amstaos,tsl2563.yaml (944B)
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 35additionalProperties: false 36 37examples: 38 - | 39 i2c { 40 41 #address-cells = <1>; 42 #size-cells = <0>; 43 44 light-sensor@29 { 45 compatible = "amstaos,tsl2563"; 46 reg = <0x29>; 47 amstaos,cover-comp-gain = <16>; 48 }; 49 }; 50...