Path: blob/master/Documentation/devicetree/bindings/iio/light/maxim,max44009.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/maxim,max44009.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: MAX44009 Ambient Light Sensor78maintainers:9- Robert Eshleman <bobbyeshleman@gmail.com>1011properties:12compatible:13const: maxim,max440091415reg:16maxItems: 117description: Default address is 0x4a1819interrupts:20maxItems: 121description: Should be configured with type IRQ_TYPE_EDGE_FALLING2223additionalProperties: false2425required:26- compatible27- reg2829examples:30- |31#include <dt-bindings/interrupt-controller/irq.h>32i2c {33#address-cells = <1>;34#size-cells = <0>;3536light-sensor@4a {37compatible = "maxim,max44009";38reg = <0x4a>;3940interrupt-parent = <&gpio1>;41interrupts = <17 IRQ_TYPE_EDGE_FALLING>;42};43};44...454647