Analog Devices MAX77857 Buck-Boost Converter

Schema identifier ($id): "http://devicetree.org/schemas/regulator/adi,max77857.yaml#"

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

Maintainers (maintainers): "Ibrahim Tilki <Ibrahim.Tilki@analog.com>", "Okan Sahin <Okan.Sahin@analog.com>"

Analog Devices MAX77857 Buck-Boost Converter

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,max77831", "adi,max77857", "adi,max77859", "adi,max77859a"

reg — required here #

I2C address of the device

Array item rules (items) #

Item 1

Allowed values (enum): 102, 103, 110, 111

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

adi,switch-frequency-hz — not listed as required here #

Switching frequency of the Buck-Boost converter in Hz.

Array item rules (items) #

Item 1

Allowed values (enum): 1200000, 1500000, 1800000, 2100000

adi,rtop-ohms — not listed as required here #

Top feedback resistor value in ohms for external feedback.

Minimum value (minimum): 150000

Maximum value (maximum): 330000

adi,rbot-ohms — not listed as required here #

Bottom feedback resistor value in ohms for external feedback.

Property dependencies (dependencies) #

adi,rtop-ohms — applies when this property is present #

Also requires: "adi,rbot-ohms"

adi,rbot-ohms — applies when this property is present #

Also requires: "adi,rtop-ohms"

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

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "adi,max77831"

When the condition matches (then) #

Properties and child nodes (properties)

adi,switch-frequency-hz — not listed as required here

Array item rules (items)

Allowed values (enum): 1200000, 1500000, 1800000

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

    regulator@66 {
        reg = <0x66>;
        compatible = "adi,max77857";
        interrupt-parent = <&gpio>;
        interrupts = <26 IRQ_TYPE_EDGE_FALLING>;

        adi,rtop-ohms = <312000>;
        adi,rbot-ohms = <12000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2022 Analog Devices Inc.

Edit this page