ROHM BD2606MVV LED controller

Schema identifier ($id): "http://devicetree.org/schemas/leds/rohm,bd2606mvv.yaml#"

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

Maintainers (maintainers): "Andreas Kemnade <andreas@kemnade.info>"

The BD2606 MVV is a programmable LED controller connected via I2C that can drive 6 separate lines. Each of them can be individually switched on and off, but the brightness setting is shared between pairs of them. Datasheet is available at https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/led_driver/bd2606mvv_1-e.pdf

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "rohm,bd2606mvv"

reg — not listed as required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO pin to enable/disable the device.

Properties matching a name pattern (patternProperties) #

^led@[0-5]$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Minimum value (minimum): 0

Maximum value (maximum): 5

Required in this object (required): "reg"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/leds/common.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    led-controller@66 {
        compatible = "rohm,bd2606mvv";
        reg = <0x66>;
        #address-cells = <1>;
        #size-cells = <0>;

        led@0 {
            reg = <0x0>;
            color = <LED_COLOR_ID_RED>;
            function = LED_FUNCTION_POWER;
        };

        led@2 {
            reg = <0x2>;
            color = <LED_COLOR_ID_WHITE>;
            function = LED_FUNCTION_STATUS;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page