Path: blob/master/Documentation/devicetree/bindings/iio/light/liteon,ltrf216a.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/liteon,ltrf216a.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: LTRF216A Ambient Light Sensor78maintainers:9- Shreeya Patel <shreeya.patel@collabora.com>1011description:12Ambient light sensing with an i2c interface.1314properties:15compatible:16enum:17- liteon,ltr30818- liteon,ltrf216a1920reg:21maxItems: 12223interrupts:24maxItems: 12526vdd-supply:27description: Regulator that provides power to the sensor.2829required:30- compatible31- reg3233additionalProperties: false3435examples:36- |37#include <dt-bindings/interrupt-controller/irq.h>3839i2c {40#address-cells = <1>;41#size-cells = <0>;4243light-sensor@53 {44compatible = "liteon,ltrf216a";45reg = <0x53>;46vdd-supply = <&vdd_regulator>;47interrupt-parent = <&gpio0>;48interrupts = <5 IRQ_TYPE_LEVEL_LOW>;49};50};515253