MAX44009 Ambient Light Sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/light/maxim,max44009.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Robert Eshleman <bobbyeshleman@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max44009"

reg — required here #

Maximum number of items (maxItems): 1

Default address is 0x4a

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Should be configured with type IRQ_TYPE_EDGE_FALLING

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    light-sensor@4a {
        compatible = "maxim,max44009";
        reg = <0x4a>;

        interrupt-parent = <&gpio1>;
        interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page