Path: blob/master/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/light/vishay,vcnl4000.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: VISHAY VCNL4000 ambient light and proximity sensor78maintainers:9- Peter Meerwald <pmeerw@pmeerw.net>1011description: |12Ambient light sensing with proximity detection over an i2c13interface.1415allOf:16- $ref: ../common.yaml#1718properties:19compatible:20enum:21- vishay,vcnl400022- vishay,vcnl401023- vishay,vcnl402024- vishay,vcnl404025- vishay,vcnl42002627interrupts:28maxItems: 12930reg:31maxItems: 13233proximity-near-level: true3435required:36- compatible37- reg3839additionalProperties: false4041examples:42- |43i2c {44#address-cells = <1>;45#size-cells = <0>;4647light-sensor@51 {48compatible = "vishay,vcnl4200";49reg = <0x51>;50proximity-near-level = <220>;51};52};53...545556