1c194e238SGuido Günther# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2c194e238SGuido Günther%YAML 1.2 3c194e238SGuido Günther--- 4c194e238SGuido Günther$id: http://devicetree.org/schemas/iio/light/vishay,vcnl4000.yaml# 5c194e238SGuido Günther$schema: http://devicetree.org/meta-schemas/core.yaml# 6c194e238SGuido Günther 7c194e238SGuido Günthertitle: VISHAY VCNL4000 ambient light and proximity sensor 8c194e238SGuido Günther 9c194e238SGuido Günthermaintainers: 10c194e238SGuido Günther - Peter Meerwald <pmeerw@pmeerw.net> 11c194e238SGuido Günther 12c194e238SGuido Güntherdescription: | 13c194e238SGuido Günther Ambient light sensing with proximity detection over an i2c 14c194e238SGuido Günther interface. 15c194e238SGuido Günther 1613898606SGuido GüntherallOf: 1713898606SGuido Günther - $ref: ../common.yaml# 1813898606SGuido Günther 19c194e238SGuido Güntherproperties: 20c194e238SGuido Günther compatible: 21c194e238SGuido Günther enum: 22c194e238SGuido Günther - vishay,vcnl4000 23c194e238SGuido Günther - vishay,vcnl4010 24c194e238SGuido Günther - vishay,vcnl4020 25c194e238SGuido Günther - vishay,vcnl4040 26c194e238SGuido Günther - vishay,vcnl4200 27596fd016SKrzysztof Kozlowski 28596fd016SKrzysztof Kozlowski interrupts: 29596fd016SKrzysztof Kozlowski maxItems: 1 30596fd016SKrzysztof Kozlowski 31c194e238SGuido Günther reg: 32c194e238SGuido Günther maxItems: 1 33c194e238SGuido Günther 3413898606SGuido Günther proximity-near-level: true 3513898606SGuido Günther 36c194e238SGuido Güntherrequired: 37c194e238SGuido Günther - compatible 38c194e238SGuido Günther - reg 39c194e238SGuido Günther 40c194e238SGuido GüntheradditionalProperties: false 41c194e238SGuido Günther 42c194e238SGuido Güntherexamples: 43c194e238SGuido Günther - | 44c194e238SGuido Günther i2c { 45c194e238SGuido Günther #address-cells = <1>; 46c194e238SGuido Günther #size-cells = <0>; 47c194e238SGuido Günther 48c194e238SGuido Günther light-sensor@51 { 49c194e238SGuido Günther compatible = "vishay,vcnl4200"; 50c194e238SGuido Günther reg = <0x51>; 5113898606SGuido Günther proximity-near-level = <220>; 52c194e238SGuido Günther }; 53c194e238SGuido Günther }; 54c194e238SGuido Günther... 55