Texas Instruments OMAP compatible OPP supply

Schema identifier ($id): "http://devicetree.org/schemas/opp/ti,omap-opp-supply.yaml#"

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

OMAP5, DRA7, and AM57 families of SoCs have Class 0 AVS eFuse registers, which contain OPP-specific voltage information tailored for the specific device. This binding provides the information needed to describe such a hardware values and relate them to program the primary regulator during an OPP transition. Also, some supplies may have an associated vbb-supply, an Adaptive Body Bias regulator, which must transition in a specific sequence w.r.t the vdd-supply and clk when making an OPP transition. By supplying two regulators to the device that will undergo OPP transitions, we can use the multi-regulator support implemented by the OPP core to describe both regulators the platform needs. The OPP core binding Documentation/devicetree/bindings/opp/opp-v2.yaml provides further information (refer to Example 4 Handling multiple regulators).

Maintainers (maintainers): "Nishanth Menon <nm@ti.com>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^opp-supply(@[0-9a-f]+)?$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Basic OPP supply controlling VDD and VBB

Exact value (const): "ti,omap-opp-supply"

Rule 2

OMAP5+ optimized voltages in efuse(Class 0) VDD along with VBB.

Exact value (const): "ti,omap5-opp-supply"

Rule 3

OMAP5+ optimized voltages in efuse(class0) VDD but no VBB

Exact value (const): "ti,omap5-core-opp-supply"

reg — not listed as required here #

Maximum number of items (maxItems): 1

ti,absolute-max-voltage-uv — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Absolute maximum voltage for the OPP supply in micro-volts.

Minimum value (minimum): 750000

Maximum value (maximum): 1500000

ti,efuse-settings — not listed as required here #

An array of u32 tuple items providing information about optimized efuse configuration.

Minimum number of items (minItems): 1

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix

Array item rules (items) #

Array item rules (items)

Item 1

Reference voltage in micro-volts (OPP Voltage)

Minimum value (minimum): 750000

Maximum value (maximum): 1500000

Multiple of (multipleOf): 10000

Item 2

efuse offset where the optimized voltage is located

Multiple of (multipleOf): 4

Maximum value (maximum): 256

Required in this object (required): "compatible", "ti,absolute-max-voltage-uv"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ti,omap-opp-supply"

When the condition matches (then) #

Required in this object (required): "reg", "ti,efuse-settings"

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

false

Not allowed by this rule.

Examples (examples) #

opp-supply {
    compatible = "ti,omap-opp-supply";
    ti,absolute-max-voltage-uv = <1375000>;
};
opp-supply@4a003b20 {
    compatible = "ti,omap5-opp-supply";
    reg = <0x4a003b20 0x8>;
    ti,efuse-settings =
        /* uV   offset */
        <1060000 0x0>,
        <1160000 0x4>,
        <1210000 0x8>;
    ti,absolute-max-voltage-uv = <1500000>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page