Path: blob/master/Documentation/devicetree/bindings/iio/light/sharp,gp2ap020a00f.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/sharp,gp2ap020a00f.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Sharp GP2AP020A00F I2C Proximity/ALS sensor78maintainers:9- Kyungmin Park <kyungmin.park@samsung.com>1011description: |12The proximity detector sensor requires power supply for its built-in led.1314properties:15compatible:16const: sharp,gp2ap020a00f1718reg:19maxItems: 12021interrupts:22maxItems: 12324vled-supply: true2526additionalProperties: false2728required:29- compatible30- reg31- interrupts32- vled-supply3334examples:35- |36i2c {37#address-cells = <1>;38#size-cells = <0>;3940light-sensor@39 {41compatible = "sharp,gp2ap020a00f";42reg = <0x39>;43interrupts = <2 0>;44vled-supply = <&als_reg>;45};46};47...484950