1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/light/ti,opt3001.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments OPT3001 Ambient Light Sensor
10 - Andreas Dannenberg <dannenberg@ti.com>
13 The device supports interrupt-driven and interrupt-less operation, depending
14 on whether an interrupt property has been populated into the DT.
25 description: Should be configured with type IRQ_TYPE_EDGE_FALLING
27 additionalProperties: false
35 #include <dt-bindings/interrupt-controller/irq.h>
41 compatible = "ti,opt3001";
43 interrupt-parent = <&gpio1>;
44 interrupts = <28 IRQ_TYPE_EDGE_FALLING>;