# Opp bindings

---

# Allwinner H6 CPU OPP

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for Allwinner H6 CPU OPP.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;allwinner&#44;sun50i&#45;h6&#45;operating&#45;points&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">For some SoCs, the CPU frequency subset and voltage value of each
OPP varies based on the silicon variant in use. Allwinner Process
Voltage Scaling Tables define the voltage and frequency values based
on the speedbin blown in the efuse combination.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>opp&#45;v2&#45;base&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-opp/opp-v2-base.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;allwinner&#44;sun50i&#45;a100&#45;operating&#45;points&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;operating&#45;points&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;operating&#45;points&#34;</code></span>

<a id="dt-f6607d50f506f570ada3"></a>

### <code>nvmem&#45;cells</code> — required here

<div id="dt-6e22bea212c5f15c1ddb">
<p style="white-space: pre-wrap">A phandle pointing to a nvmem-cells node representing the efuse
register that has information about the speedbin that is used
to select the right frequency/voltage value pair. Please refer
to the nvmem-cells bindings in
Documentation/devicetree/bindings/nvmem/nvmem.yaml and also the
examples below.</p>
</div>

<a id="dt-4a53ed2162f8a79b7794"></a>

### <code>opp&#45;shared</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;nvmem&#45;cells&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-4edeaef4de2885cc55a5"></a>

### <code>&#94;opp&#45;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-148f055be333096d4ba0"><code>&#34;object&#34;</code></span>

<a id="dt-f7aec599c1e9cf0d2c31"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-63cdb6d22e5ea8229b78"></a>

**<code>opp&#45;hz</code> — required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-5c863292a044c09aad6c"></a>

**<code>clock&#45;latency&#45;ns</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-a1ccd2aefe116c018ad2"></a>

**<code>opp&#45;microvolt</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-67d716b300fa5eb72594"></a>

**<code>opp&#45;supported&#45;hw</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1174877cbb3461fae6e5"><code>1</code></span>

<div id="dt-48cba95c9cd9d3d29e86">
<p style="white-space: pre-wrap">A single 32 bit bitmap value, representing compatible HW, one bit per speed bin index.</p>
</div>

<a id="dt-1fae28b030be3d9a6138"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-7a6e6c99412e0f640d3c"></a>

**<code>&#94;opp&#45;microvolt&#45;speed&#91;0&#45;9&#93;&#36;</code> — name matches this regular expression**

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-1f9e9c9f6245339c3923"></a> <span id="dt-7ea7d65f5825048e7ce7"><code>&#34;opp&#45;hz&#34;</code></span>

<a id="dt-54b01a7abb6ea2db8563"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">cpu_opp_table: opp-table {
    compatible = "allwinner,sun50i-h6-operating-points";
    nvmem-cells = &lt;&amp;speedbin_efuse&gt;;
    opp-shared;

    opp-480000000 {
        clock-latency-ns = &lt;244144&gt;; /* 8 32k periods */
        opp-hz = /bits/ 64 &lt;480000000&gt;;

        opp-microvolt-speed0 = &lt;880000&gt;;
        opp-microvolt-speed1 = &lt;820000&gt;;
        opp-microvolt-speed2 = &lt;800000&gt;;
    };

    opp-1080000000 {
        clock-latency-ns = &lt;244144&gt;; /* 8 32k periods */
        opp-hz = /bits/ 64 &lt;1080000000&gt;;

        opp-microvolt-speed0 = &lt;1060000&gt;;
        opp-microvolt-speed1 = &lt;880000&gt;;
        opp-microvolt-speed2 = &lt;840000&gt;;
    };

    opp-1488000000 {
        clock-latency-ns = &lt;244144&gt;; /* 8 32k periods */
        opp-hz = /bits/ 64 &lt;1488000000&gt;;

        opp-microvolt-speed0 = &lt;1160000&gt;;
        opp-microvolt-speed1 = &lt;1000000&gt;;
        opp-microvolt-speed2 = &lt;960000&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">opp-table {
    compatible = "allwinner,sun50i-h616-operating-points";
    nvmem-cells = &lt;&amp;speedbin_efuse&gt;;
    opp-shared;

    opp-480000000 {
        clock-latency-ns = &lt;244144&gt;; /* 8 32k periods */
        opp-hz = /bits/ 64 &lt;480000000&gt;;

        opp-microvolt = &lt;900000&gt;;
        opp-supported-hw = &lt;0x1f&gt;;
    };

    opp-792000000 {
        clock-latency-ns = &lt;244144&gt;; /* 8 32k periods */
        opp-hz = /bits/ 64 &lt;792000000&gt;;

        opp-microvolt-speed1 = &lt;900000&gt;;
        opp-microvolt-speed4 = &lt;940000&gt;;
        opp-supported-hw = &lt;0x12&gt;;
    };

    opp-1512000000 {
        clock-latency-ns = &lt;244144&gt;; /* 8 32k periods */
        opp-hz = /bits/ 64 &lt;1512000000&gt;;

        opp-microvolt = &lt;1100000&gt;;
        opp-supported-hw = &lt;0x0a&gt;;
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0</span></p>

</details>

---

# TI CPU OPP (Operating Performance Points)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for TI CPU OPP (Operating Performance Points).

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;operating&#45;points&#45;v2&#45;ti&#45;cpu&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">TI SoCs, like those in the AM335x, AM437x, AM57xx, AM62x, and DRA7xx families, the CPU frequencies subset and the voltage value of each OPP vary based on the silicon variant used. The data sheet sections corresponding to "Operating Performance Points" describe the frequency and voltage values based on device type and speed bin information blown in corresponding eFuse bits as referred to by the Technical Reference Manual.
This document extends the operating-points-v2 binding by providing the hardware description for the scheme mentioned above.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Dhruva Gole &#60;d&#45;gole&#64;ti&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>opp&#45;v2&#45;base&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-opp/opp-v2-base.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;operating&#45;points&#45;v2&#45;ti&#45;cpu&#34;</code></span>

<a id="dt-be3cdfbb705349afdf20"></a>

### <code>syscon</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e9a926f7400630e8b664">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-94e0d14f31e0ec14b27a">
<p style="white-space: pre-wrap">points to syscon node representing the control module
register space of the SoC.</p>
</div>

<a id="dt-4a53ed2162f8a79b7794"></a>

### <code>opp&#45;shared</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-c25b7c296f9560c21c2a"></a>

### <code>&#94;opp&#40;&#45;&#63;&#91;0&#45;9&#93;&#43;&#41;&#42;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-310030f5e287f136f6bd"><code>&#34;object&#34;</code></span>

<a id="dt-b0bc9c738a0a5a61a02a"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-8676bf13e8f476d733de"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-de766a87022431eaf5a5"></a>

**<code>clock&#45;latency&#45;ns</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-84b3f9f6840a424804a8"></a>

**<code>opp&#45;hz</code> — required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-c0b5454081fffe96790c"></a>

**<code>opp&#45;microvolt</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-1e9fe3f5fa0fe4ddaa2d"></a>

**<code>opp&#45;supported&#45;hw</code> — required here**

<a id="dt-5607dc88b9b9f02bd0ff"></a>

**Array item rules (<code>items</code>)**

> <a id="dt-a40abbbe246f519305c8"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-498fa186481a0cecebdd"></a>
>
> **Item 1**
>
> > <div id="dt-61369f0c07b82086751f">
> > <p style="white-space: pre-wrap">The revision of the SoC the OPP is supported by. This can be easily obtained from the datasheet of the part being ordered/used. For example, it will be 0x01 for SR1.0</p>
> > </div>
>
> <a id="dt-9026e1501da43d16363c"></a>
>
> **Item 2**
>
> > <div id="dt-5e31f74ef638811bcd05">
> > <p style="white-space: pre-wrap">The eFuse bits that indicate the particular OPP is available. The device datasheet has a table talking about Device Speed Grades. This table is to be sorted with only the unique elements of the MAXIMUM OPERATING FREQUENCY starting from the first row which tells the lowest OPP, to the highest. The corresponding bits need to be set based on N elements of speed grade the device supports. So, if there are 3 possible unique MAXIMUM OPERATING FREQUENCY in the table, then BIT(0) | (1) | (2) will be set, which means the value shall be 0x7.</p>
> > </div>

<a id="dt-d1e75a999595b6a53496"></a>

**<code>opp&#45;suspend</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-3df996c79560e93b339f"></a>

**<code>turbo&#45;mode</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-c3225fe002b33b2b4b89"></a> <span id="dt-3c209259eee84c273e60"><code>&#34;opp&#45;hz&#34;</code></span>, <span id="dt-351e77a978737f046762"><code>&#34;opp&#45;supported&#45;hw&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;syscon&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">opp-table {
    compatible = "operating-points-v2-ti-cpu";
    syscon = &lt;&amp;scm_conf&gt;;

    opp-300000000 {
        opp-hz = /bits/ 64 &lt;300000000&gt;;
        opp-microvolt = &lt;1100000 1078000 1122000&gt;;
        opp-supported-hw = &lt;0x06 0x0020&gt;;
        opp-suspend;
    };

    opp-500000000 {
        opp-hz = /bits/ 64 &lt;500000000&gt;;
        opp-microvolt = &lt;1100000 1078000 1122000&gt;;
        opp-supported-hw = &lt;0x01 0xFFFF&gt;;
    };

    opp-600000000 {
        opp-hz = /bits/ 64 &lt;600000000&gt;;
        opp-microvolt = &lt;1100000 1078000 1122000&gt;;
        opp-supported-hw = &lt;0x06 0x0040&gt;;
    };

    opp-1000000000 {
        opp-hz = /bits/ 64 &lt;1000000000&gt;;
        opp-microvolt = &lt;1325000 1298500 1351500&gt;;
        opp-supported-hw = &lt;0x04 0x0200&gt;;
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>

---

# Generic OPP (Operating Performance Points) v1

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for Generic OPP (Operating Performance Points) v1.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;opp&#45;v1&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Viresh Kumar &#60;viresh&#46;kumar&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Devices work at voltage-current-frequency combinations and some implementations
have the liberty of choosing these. These combinations are called Operating
Performance Points aka OPPs. This document defines bindings for these OPPs
applicable across wide range of devices. For illustration purpose, this document
uses CPU as a device.</p>
<p style="white-space: pre-wrap">This binding only supports voltage-frequency pairs.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-a3c8d6bcd87de16bde6b"><code>true</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4229939c079a443fd69a"></a>

### <code>clock&#45;latency</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-69954436e1b15df0e8a4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-5b7e85985e043619a5e2">
<p style="white-space: pre-wrap">The latency in nanoseconds for clock changes. Use OPP tables for new designs instead.</p>
</div>

<a id="dt-4e3ae7535f4f1be47e86"></a>

### <code>voltage&#45;tolerance</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1e846bd8084daccdfe70">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-24c62bd9a4101710efbe"><code>10</code></span>

<div id="dt-10eabdff515c06fd9b5e">
<p style="white-space: pre-wrap">The voltage tolerance in percent. Use OPP tables for new designs instead.</p>
</div>

<a id="dt-898469751c1b436eafff"></a>

### <code>operating&#45;points</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2221267c0fa3748c5122">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d948f2945b497d9aa3c7>)</span>

<a id="dt-f078f96e25d1b5f9e6d7"></a>

#### Array item rules (<code>items</code>)

> <a id="dt-983720e5cb83d53a76ea"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-1564b46d0f86a984f793"></a>
>
> **Item 1**
>
> > <div id="dt-06453773f0362ce2c393">
> > <p style="white-space: pre-wrap">Frequency in kHz</p>
> > </div>
>
> <a id="dt-3e32ac788c6e811fc9a5"></a>
>
> **Item 2**
>
> > <div id="dt-4a6653ee17b1b687df6c">
> > <p style="white-space: pre-wrap">Voltage for OPP in uV</p>
> > </div>

<a id="dt-3d235861b18e278e9c09"></a>

## Property dependencies (<code>dependencies</code>)

<a id="dt-38af081605a43aebf370"></a>

### <code>clock&#45;latency</code> — applies when this property is present

Also requires: <span id="dt-494dd223964bc6fa72b0"><code>&#34;operating&#45;points&#34;</code></span>

<a id="dt-95ae7bd571ad666c9ded"></a>

### <code>voltage&#45;tolerance</code> — applies when this property is present

Also requires: <span id="dt-061b46ecbf31e0ba86a7"><code>&#34;operating&#45;points&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">cpus {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cpu@0 {
        compatible = "arm,cortex-a9";
        device_type = "cpu";
        reg = &lt;0&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        operating-points =
            /* kHz    uV */
            &lt;792000 1100000&gt;,
            &lt;396000 950000&gt;,
            &lt;198000 850000&gt;;
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>

---

# Generic OPP (Operating Performance Points) Common Properties

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for Generic OPP (Operating Performance Points) Common Properties.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;opp&#45;v2&#45;base&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Viresh Kumar &#60;viresh&#46;kumar&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Devices work at voltage-current-frequency combinations and some implementations
have the liberty of choosing these. These combinations are called Operating
Performance Points aka OPPs. This document defines bindings for these OPPs
applicable across wide range of devices. For illustration purpose, this document
uses CPU as a device.</p>
<p style="white-space: pre-wrap">This describes the OPPs belonging to a device.</p>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>false</code>

Not selected automatically by this rule.

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;opp&#45;table&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#63;&#36;&#34;</code></span>

<a id="dt-4a53ed2162f8a79b7794"></a>

### <code>opp&#45;shared</code> — not listed as required here

<div id="dt-a552fc17813ef5c7ad21">
<p style="white-space: pre-wrap">Indicates that device nodes using this OPP Table Node's phandle switch their DVFS state together, i.e. they share clock/voltage/current lines. Missing property means devices have independent clock/voltage/current lines, but they share OPP tables.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-3fa30a5736981ac441ea"><code>&#34;boolean&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-c25b7c296f9560c21c2a"></a>

### <code>&#94;opp&#40;&#45;&#63;&#91;0&#45;9&#93;&#43;&#41;&#42;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-310030f5e287f136f6bd"><code>&#34;object&#34;</code></span>

<div id="dt-a2cb6a9e68e08c1c5093">
<p style="white-space: pre-wrap">One or more OPP nodes describing voltage-current-frequency combinations. Their name isn't significant but their phandle can be used to reference an OPP. These are mandatory except for the case where the OPP table is present only to indicate dependency between devices using the opp-shared property.</p>
</div>

<a id="dt-8676bf13e8f476d733de"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-84b3f9f6840a424804a8"></a>

**<code>opp&#45;hz</code> — not listed as required here**

<div id="dt-8727c045ff1f556907f2">
<p style="white-space: pre-wrap">Frequency in Hz, expressed as a 64-bit big-endian integer. This is a required property for all device nodes, unless another "required" property to uniquely identify the OPP nodes exists. Devices like power domains must have another (implementation dependent) property.
Entries for multiple clocks shall be provided in the same field, as array of frequencies.  The OPP binding doesn't provide any provisions to relate the values to their clocks or the order in which the clocks need to be configured and that is left for the implementation specific binding.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-3551162f54de5a9218e3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c6f7a08830e87f49983a"><code>32</code></span>

<a id="dt-c0b5454081fffe96790c"></a>

**<code>opp&#45;microvolt</code> — not listed as required here**

<div id="dt-ff4a35591ccd7d3b2a98">
<p style="white-space: pre-wrap">Voltage for the OPP</p>
<p style="white-space: pre-wrap">A single regulator's voltage is specified with an array of size one or three.
Single entry is for target voltage and three entries are for &lt;target min max&gt;
voltages.</p>
<p style="white-space: pre-wrap">Entries for multiple regulators shall be provided in the same field separated
by angular brackets &lt;&gt;. The OPP binding doesn't provide any provisions to
relate the values to their power supplies or the order in which the supplies
need to be configured and that is left for the implementation specific
binding.</p>
<p style="white-space: pre-wrap">Entries for all regulators shall be of the same size, i.e. either all use a
single value or triplets.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-7348e9264b656947dc1b"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-307d2b964c24320ebb2e"><code>8</code></span>

<a id="dt-c4b2ffd596f3f8c67791"></a>

**Array item rules (<code>items</code>)**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-974e76743fa22bc76595"><code>1</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-07f99bdcc640b91996ed"><code>3</code></span>

<a id="dt-1429e1b530672bb8cd29"></a>

**<code>opp&#45;microamp</code> — not listed as required here**

<div id="dt-6d049cdde90cc89da372">
<p style="white-space: pre-wrap">The maximum current drawn by the device in microamperes considering
system specific parameters (such as transients, process, aging,
maximum operating temperature range etc.) as necessary. This may be
used to set the most efficient regulator operating mode.</p>
<p style="white-space: pre-wrap">Should only be set if opp-microvolt or opp-microvolt-&lt;name&gt; is set for
the OPP.</p>
<p style="white-space: pre-wrap">Entries for multiple regulators shall be provided in the same field
separated by angular brackets &lt;&gt;. If current values aren't required
for a regulator, then it shall be filled with 0. If current values
aren't required for any of the regulators, then this field is not
required. The OPP binding doesn't provide any provisions to relate the
values to their power supplies or the order in which the supplies need
to be configured and that is left for the implementation specific
binding.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1e57cb85d88f418d7eab"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8ca30d2a67f10bb13c47"><code>8</code></span>

<a id="dt-a7bd040e11bb0ceb7fd2"></a>

**<code>opp&#45;microwatt</code> — not listed as required here**

<div id="dt-a2e1b176cf28804f1fe9">
<p style="white-space: pre-wrap">The power for the OPP in micro-Watts.</p>
<p style="white-space: pre-wrap">Entries for multiple regulators shall be provided in the same field
separated by angular brackets &lt;&gt;. If power values aren't required
for a regulator, then it shall be filled with 0. If power values
aren't required for any of the regulators, then this field is not
required. The OPP binding doesn't provide any provisions to relate the
values to their power supplies or the order in which the supplies need
to be configured and that is left for the implementation specific
binding.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f6a17603645864d8209"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a924bc1bc7efc5f4fc72"><code>8</code></span>

<a id="dt-2b268095bf450d2ae848"></a>

**<code>opp&#45;level</code> — not listed as required here**

<div id="dt-8cfc1b3bdc34bbbe162b">
<p style="white-space: pre-wrap">A value representing the performance level of the device.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9a2b7cf7c029af265938">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-4ec9cd5d833d2ce62eb9"></a>

**<code>opp&#45;peak&#45;kBps</code> — not listed as required here**

<div id="dt-57ebf845f1d5024c80d6">
<p style="white-space: pre-wrap">Peak bandwidth in kilobytes per second, expressed as an array of 32-bit big-endian integers. Each element of the array represents the peak bandwidth value of each interconnect path. The number of elements should match the number of interconnect paths.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a5655e615c15d71b5291"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-59af8446650360ad1b90"><code>32</code></span>

<a id="dt-064ed5f4ff85319f2126"></a>

**<code>opp&#45;avg&#45;kBps</code> — not listed as required here**

<div id="dt-18be45459f4385e49204">
<p style="white-space: pre-wrap">Average bandwidth in kilobytes per second, expressed as an array of 32-bit big-endian integers. Each element of the array represents the average bandwidth value of each interconnect path. The number of elements should match the number of interconnect paths. This property is only meaningful in OPP tables where opp-peak-kBps is present.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-5d76beb98caa77eec572"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c808639c61e1c52139c2"><code>32</code></span>

<a id="dt-de766a87022431eaf5a5"></a>

**<code>clock&#45;latency&#45;ns</code> — not listed as required here**

<div id="dt-b1464c51800beb520533">
<p style="white-space: pre-wrap">Specifies the maximum possible transition latency (in nanoseconds) for switching to this OPP from any other OPP.</p>
</div>

<a id="dt-3df996c79560e93b339f"></a>

**<code>turbo&#45;mode</code> — not listed as required here**

<div id="dt-c20c644ec4da0bed7be1">
<p style="white-space: pre-wrap">Marks the OPP to be used only for turbo modes. Turbo mode is available on some platforms, where the device can run over its operating frequency for a short duration of time limited by the device's power, current and thermal limits.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-33b108dbc45773e953a7"><code>&#34;boolean&#34;</code></span>

<a id="dt-d1e75a999595b6a53496"></a>

**<code>opp&#45;suspend</code> — not listed as required here**

<div id="dt-27100abd953fd68c920b">
<p style="white-space: pre-wrap">Marks the OPP to be used during device suspend. If multiple OPPs in the table have this, the OPP with highest opp-hz will be used.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-f0c882b11e07a98db10a"><code>&#34;boolean&#34;</code></span>

<a id="dt-1e9fe3f5fa0fe4ddaa2d"></a>

**<code>opp&#45;supported&#45;hw</code> — not listed as required here**

<div id="dt-4dcf5ca43b7941f5eb94">
<p style="white-space: pre-wrap">This property allows a platform to enable only a subset of the OPPs
from the larger set present in the OPP table, based on the current
version of the hardware (already known to the operating system).</p>
<p style="white-space: pre-wrap">Each block present in the array of blocks in this property, represents
a sub-group of hardware versions supported by the OPP. i.e. &lt;sub-group
A&gt;, &lt;sub-group B&gt;, etc. The OPP will be enabled if _any_ of these
sub-groups match the hardware's version.</p>
<p style="white-space: pre-wrap">Each sub-group is a platform defined array representing the hierarchy
of hardware versions supported by the platform. For a platform with
three hierarchical levels of version (X.Y.Z), this field shall look
like</p>
<p style="white-space: pre-wrap">opp-supported-hw = &lt;X1 Y1 Z1&gt;, &lt;X2 Y2 Z2&gt;, &lt;X3 Y3 Z3&gt;.</p>
<p style="white-space: pre-wrap">Each level (eg. X1) in version hierarchy is represented by a 32 bit
value, one bit per version and so there can be maximum 32 versions per
level. Logical AND (&amp;) operation is performed for each level with the
hardware's level version and a non-zero output for _all_ the levels in
a sub-group means the OPP is supported by hardware. A value of
0xFFFFFFFF for each level in the sub-group will enable the OPP for all
versions for the hardware.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-07f5bed54f4f099698fb">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d948f2945b497d9aa3c7>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4dec56421c8f5821eb19"><code>32</code></span>

<a id="dt-5607dc88b9b9f02bd0ff"></a>

**Array item rules (<code>items</code>)**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-a6bd4b42ac495fa98edb"><code>1</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-b011ac04d0b12f57acca"><code>4</code></span>

<a id="dt-3652404e169229b04119"></a>

**<code>required&#45;opps</code> — not listed as required here**

<div id="dt-67e170106a82024f1063">
<p style="white-space: pre-wrap">This contains phandle to an OPP node in another device's OPP table. It may contain an array of phandles, where each phandle points to an OPP of a different device. It should not contain multiple phandles to the OPP nodes in the same OPP table. This specifies the minimum required OPP of the device(s), whose OPP's phandle is present in this property, for the functioning of the current device at the current OPP (where this property is present).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-34ae657b19add0c9fa5f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-25538c803c7a9fd8a72b"></a>

**Array item rules (<code>items</code>)**

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-ef4e0e00c513695b5fc3"><code>1</code></span>

<a id="dt-9aa07f20c9a0d072504c"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-3a48ab8e8405412db564"></a>

**<code>&#94;opp&#45;microvolt&#45;</code> — name matches this regular expression**

<div id="dt-c8a4d32adeea354fb92b">
<p style="white-space: pre-wrap">Named opp-microvolt property. This is exactly similar to the above opp-microvolt property, but allows multiple voltage ranges to be provided for the same OPP. At runtime, the platform can pick a &lt;name&gt; and matching opp-microvolt-&lt;name&gt; property will be enabled for all OPPs. If the platform doesn't pick a specific &lt;name&gt; or the &lt;name&gt; doesn't match with any opp-microvolt-&lt;name&gt; properties, then opp-microvolt property shall be used, if present.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f4431ac579e607493468">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d948f2945b497d9aa3c7>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-ae3a5b5a3e6dfe557f88"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4b22ba60cdab2a3555b7"><code>8</code></span>

<a id="dt-5376deee87f4fcbcbf9e"></a>

**Array item rules (<code>items</code>)**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-d95fdcb5949fe4dd1c5c"><code>1</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-53a456439ac117656bf1"><code>3</code></span>

<a id="dt-622a102addb395f87de6"></a>

**<code>&#94;opp&#45;microamp&#45;</code> — name matches this regular expression**

<div id="dt-4c05861fc1808c850920">
<p style="white-space: pre-wrap">Named opp-microamp property. Similar to opp-microvolt-&lt;name&gt; property, but for microamp instead.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-24d79bbfd9a1fe1bfb6a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2f6aa244ea0c10aa4777"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-5c2c6255b3cb3c79a1c9"><code>8</code></span>

<a id="dt-d8f75ecf462301227e60"></a>

**<code>&#94;opp&#45;microwatt&#45;</code> — name matches this regular expression**

<div id="dt-8249645ab32597f908f0">
<p style="white-space: pre-wrap">Named opp-microwatt property. Similar to opp-microamp-&lt;name&gt; property, but for microwatt instead.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-af34b69e15612b95ce71">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-f134729a5efc0b2be223"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8d3fb190c808ff2a8745"><code>8</code></span>

<a id="dt-a769706a382d885a46bd"></a>

#### Property dependencies (<code>dependencies</code>)

<a id="dt-3d8ecf645100e3215287"></a>

**<code>opp&#45;avg&#45;kBps</code> — applies when this property is present**

Also requires: <span id="dt-6740f1cca469c34e21d3"><code>&#34;opp&#45;peak&#45;kBps&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 78:</strong> <span> Should be enough regulators</span></p>

<p id="dt-comment-2"><strong>Line 102:</strong> <span> Should be enough regulators</span></p>

<p id="dt-comment-3"><strong>Line 117:</strong> <span> Should be enough regulators</span></p>

<p id="dt-comment-4"><strong>Line 131:</strong> <span> Should be enough</span></p>

<p id="dt-comment-5"><strong>Line 141:</strong> <span> Should be enough</span></p>

<p id="dt-comment-6"><strong>Line 218:</strong> <span> Should be enough regulators</span></p>

<p id="dt-comment-7"><strong>Line 229:</strong> <span> Should be enough regulators</span></p>

<p id="dt-comment-8"><strong>Line 237:</strong> <span> Should be enough regulators</span></p>

</details>

---

# Qualcomm Technologies, Inc. NVMEM OPP

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for Qualcomm Technologies, Inc. NVMEM OPP.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;opp&#45;v2&#45;kryo&#45;cpu&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Ilia Lin &#60;ilia&#46;lin&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>opp&#45;v2&#45;base&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-opp/opp-v2-base.md#dt-root>)</span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">In certain Qualcomm Technologies, Inc. SoCs like APQ8096 and MSM8996,
the CPU frequencies subset and voltage value of each OPP varies based on
the silicon variant in use.
Qualcomm Technologies, Inc. Process Voltage Scaling Tables
defines the voltage and frequency value based on the speedbin blown in
the efuse combination.
The qcom-cpufreq-nvmem driver reads the efuse value from the SoC to provide
the OPP framework with required information (existing HW bitmap).
This is used to determine the voltage and frequency value for each OPP of
operating-points-v2 table when it is parsed by the OPP framework.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;operating&#45;points&#45;v2&#45;krait&#45;cpu&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;operating&#45;points&#45;v2&#45;kryo&#45;cpu&#34;</code></span>

<a id="dt-f6607d50f506f570ada3"></a>

### <code>nvmem&#45;cells</code> — not listed as required here

<div id="dt-6e22bea212c5f15c1ddb">
<p style="white-space: pre-wrap">A phandle pointing to a nvmem-cells node representing the
efuse registers that has information about the
speedbin that is used to select the right frequency/voltage
value pair.</p>
</div>

<a id="dt-4a53ed2162f8a79b7794"></a>

### <code>opp&#45;shared</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-edd4e46861738c7b70ef"></a>

### <code>&#94;opp&#45;&#63;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-ad9e5e7079776ba14f82"><code>&#34;object&#34;</code></span>

<a id="dt-cc6f00d73297ba751987"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-8905f4e68842b6eb2ceb"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-217e7c21c8095af1f26a"></a>

**<code>opp&#45;hz</code> — required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-759b9cee0ec92e15ecc2"></a>

**<code>opp&#45;microvolt</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-1e60e2bf9f4f15ee4992"></a>

**<code>opp&#45;peak&#45;kBps</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-bcc77d58c053c8679b55"></a>

**<code>opp&#45;supported&#45;hw</code> — not listed as required here**

<div id="dt-3aef47e889c45669832b">
<p style="white-space: pre-wrap">A single 32 bit bitmap value, representing compatible HW.
Bitmap for MSM8996 format:
0:  MSM8996, speedbin 0
1:  MSM8996, speedbin 1
2:  MSM8996, speedbin 2
3:  MSM8996, speedbin 3
4-31:  unused</p>
<p style="white-space: pre-wrap">Bitmap for MSM8996SG format (speedbin shifted of 4 left):
0-3:  unused
4:  MSM8996SG, speedbin 0
5:  MSM8996SG, speedbin 1
6:  MSM8996SG, speedbin 2
7-31:  unused</p>
<p style="white-space: pre-wrap">Bitmap for IPQ806x SoC:
0:  IPQ8062
1:  IPQ8064/IPQ8066/IPQ8068
2:  IPQ8065/IPQ8069
3-31:  unused</p>
<p style="white-space: pre-wrap">Other platforms use bits directly corresponding to speedbin index.</p>
</div>

<a id="dt-c92647e1661e82257072"></a>

**<code>clock&#45;latency&#45;ns</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-c9956370b661cdf48f87"></a>

**<code>required&#45;opps</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-73a0db2328061112377a"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-d50d9b7a09397032c28a"></a>

**<code>&#94;opp&#45;microvolt&#45;speed&#91;0&#45;9&#93;&#43;&#45;pvs&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression**

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-14d5bc98f1c0e4da7f81"></a> <span id="dt-f0b6794f0fd0150766c6"><code>&#34;opp&#45;hz&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> **Required in this object (<code>required</code>):** <a id="dt-14e52113574fb38ea542"></a> <span id="dt-29f94e3578414110598d"><code>&#34;nvmem&#45;cells&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-779fc6b9f78e97d20df7"></a>
>
> ### Properties matching a name pattern (<code>patternProperties</code>)
>
> <a id="dt-098458144d1b948163bf"></a>
>
> #### <code>&#94;opp&#45;&#63;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression
>
> **Required in this object (<code>required</code>):** <a id="dt-d2e3adb569a1cb0198fd"></a> <span id="dt-2d743e37e8009c4040a4"><code>&#34;opp&#45;supported&#45;hw&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">/ {
    model = "Qualcomm Technologies, Inc. DB820c";
    compatible = "arrow,apq8096-db820c", "qcom,apq8096-sbc", "qcom,apq8096";
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    cpus {
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;0&gt;;

        CPU0: cpu@0 {
            device_type = "cpu";
            compatible = "qcom,kryo";
            reg = &lt;0x0 0x0&gt;;
            enable-method = "psci";
            cpu-idle-states = &lt;&amp;CPU_SLEEP_0&gt;;
            capacity-dmips-mhz = &lt;1024&gt;;
            clocks = &lt;&amp;kryocc 0&gt;;
            operating-points-v2 = &lt;&amp;cluster0_opp&gt;;
            power-domains = &lt;&amp;cpr&gt;;
            power-domain-names = "cpr";
            #cooling-cells = &lt;2&gt;;
            next-level-cache = &lt;&amp;L2_0&gt;;
            L2_0: l2-cache {
                compatible = "cache";
                cache-level = &lt;2&gt;;
                cache-unified;
            };
        };

        CPU1: cpu@1 {
            device_type = "cpu";
            compatible = "qcom,kryo";
            reg = &lt;0x0 0x1&gt;;
            enable-method = "psci";
            cpu-idle-states = &lt;&amp;CPU_SLEEP_0&gt;;
            capacity-dmips-mhz = &lt;1024&gt;;
            clocks = &lt;&amp;kryocc 0&gt;;
            operating-points-v2 = &lt;&amp;cluster0_opp&gt;;
            power-domains = &lt;&amp;cpr&gt;;
            power-domain-names = "cpr";
            #cooling-cells = &lt;2&gt;;
            next-level-cache = &lt;&amp;L2_0&gt;;
        };

        CPU2: cpu@100 {
            device_type = "cpu";
            compatible = "qcom,kryo";
            reg = &lt;0x0 0x100&gt;;
            enable-method = "psci";
            cpu-idle-states = &lt;&amp;CPU_SLEEP_0&gt;;
            capacity-dmips-mhz = &lt;1024&gt;;
            clocks = &lt;&amp;kryocc 1&gt;;
            operating-points-v2 = &lt;&amp;cluster1_opp&gt;;
            power-domains = &lt;&amp;cpr&gt;;
            power-domain-names = "cpr";
            #cooling-cells = &lt;2&gt;;
            next-level-cache = &lt;&amp;L2_1&gt;;
            L2_1: l2-cache {
                compatible = "cache";
                cache-level = &lt;2&gt;;
                cache-unified;
            };
        };

        CPU3: cpu@101 {
            device_type = "cpu";
            compatible = "qcom,kryo";
            reg = &lt;0x0 0x101&gt;;
            enable-method = "psci";
            cpu-idle-states = &lt;&amp;CPU_SLEEP_0&gt;;
            capacity-dmips-mhz = &lt;1024&gt;;
            clocks = &lt;&amp;kryocc 1&gt;;
            operating-points-v2 = &lt;&amp;cluster1_opp&gt;;
            power-domains = &lt;&amp;cpr&gt;;
            power-domain-names = "cpr";
            #cooling-cells = &lt;2&gt;;
            next-level-cache = &lt;&amp;L2_1&gt;;
        };

        cpu-map {
            cluster0 {
                core0 {
                    cpu = &lt;&amp;CPU0&gt;;
                };

                core1 {
                    cpu = &lt;&amp;CPU1&gt;;
                };
            };

            cluster1 {
                core0 {
                    cpu = &lt;&amp;CPU2&gt;;
                };

                core1 {
                    cpu = &lt;&amp;CPU3&gt;;
                };
            };
        };
    };

    cluster0_opp: opp-table-0 {
        compatible = "operating-points-v2-kryo-cpu";
        nvmem-cells = &lt;&amp;speedbin_efuse&gt;;
        opp-shared;

        opp-307200000 {
            opp-hz = /bits/ 64 &lt;307200000&gt;;
            opp-microvolt = &lt;905000 905000 1140000&gt;;
            opp-supported-hw = &lt;0x7&gt;;
            clock-latency-ns = &lt;200000&gt;;
            required-opps = &lt;&amp;cpr_opp1&gt;;
        };
        opp-1401600000 {
            opp-hz = /bits/ 64 &lt;1401600000&gt;;
            opp-microvolt = &lt;1140000 905000 1140000&gt;;
            opp-supported-hw = &lt;0x5&gt;;
            clock-latency-ns = &lt;200000&gt;;
            required-opps = &lt;&amp;cpr_opp2&gt;;
        };
        opp-1593600000 {
            opp-hz = /bits/ 64 &lt;1593600000&gt;;
            opp-microvolt = &lt;1140000 905000 1140000&gt;;
            opp-supported-hw = &lt;0x1&gt;;
            clock-latency-ns = &lt;200000&gt;;
            required-opps = &lt;&amp;cpr_opp3&gt;;
        };
    };

    cluster1_opp: opp-table-1 {
        compatible = "operating-points-v2-kryo-cpu";
        nvmem-cells = &lt;&amp;speedbin_efuse&gt;;
        opp-shared;

        opp-307200000 {
            opp-hz = /bits/ 64 &lt;307200000&gt;;
            opp-microvolt = &lt;905000 905000 1140000&gt;;
            opp-supported-hw = &lt;0x7&gt;;
            clock-latency-ns = &lt;200000&gt;;
            required-opps = &lt;&amp;cpr_opp1&gt;;
        };
        opp-1804800000 {
            opp-hz = /bits/ 64 &lt;1804800000&gt;;
            opp-microvolt = &lt;1140000 905000 1140000&gt;;
            opp-supported-hw = &lt;0x6&gt;;
            clock-latency-ns = &lt;200000&gt;;
            required-opps = &lt;&amp;cpr_opp4&gt;;
        };
        opp-1900800000 {
            opp-hz = /bits/ 64 &lt;1900800000&gt;;
            opp-microvolt = &lt;1140000 905000 1140000&gt;;
            opp-supported-hw = &lt;0x4&gt;;
            clock-latency-ns = &lt;200000&gt;;
            required-opps = &lt;&amp;cpr_opp5&gt;;
        };
        opp-2150400000 {
            opp-hz = /bits/ 64 &lt;2150400000&gt;;
            opp-microvolt = &lt;1140000 905000 1140000&gt;;
            opp-supported-hw = &lt;0x1&gt;;
            clock-latency-ns = &lt;200000&gt;;
            required-opps = &lt;&amp;cpr_opp6&gt;;
        };
    };

    /* Dummy opp table to give example for named opp-microvolt */
    opp-table-2 {
        compatible = "operating-points-v2-krait-cpu";
        nvmem-cells = &lt;&amp;speedbin_efuse&gt;;

        opp-384000000 {
            opp-hz = /bits/ 64 &lt;384000000&gt;;
            opp-microvolt-speed0-pvs0 = &lt;1000000 950000 1050000&gt;;
            opp-microvolt-speed0-pvs1 = &lt;925000 878750 971250&gt;;
            opp-microvolt-speed0-pvs2 = &lt;875000 831250 918750&gt;;
            opp-microvolt-speed0-pvs3 = &lt;800000 760000 840000&gt;;
            opp-supported-hw = &lt;0x7&gt;;
            clock-latency-ns = &lt;100000&gt;;
        };
    };

    smem {
        compatible = "qcom,smem";
        memory-region = &lt;&amp;smem_mem&gt;;
        hwlocks = &lt;&amp;tcsr_mutex 3&gt;;
    };

    soc {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;

        qfprom: qfprom@74000 {
            compatible = "qcom,msm8996-qfprom", "qcom,qfprom";
            reg = &lt;0x00074000 0x8ff&gt;;
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;1&gt;;

            speedbin_efuse: speedbin@133 {
                reg = &lt;0x133 0x1&gt;;
                bits = &lt;5 3&gt;;
            };
        };
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>

---

# Qualcomm Adreno compatible OPP supply

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for Qualcomm Adreno compatible OPP supply.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;opp&#45;v2&#45;qcom&#45;adreno&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Adreno GPUs present in Qualcomm's Snapdragon chipsets uses an OPP specific ACD related information tailored for the specific chipset. This binding provides the information needed to describe such a hardware value.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Rob Clark &#60;robdclark&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>opp&#45;v2&#45;base&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-opp/opp-v2-base.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-4ca83548ea02aea3457f"></a>

#### Rule for matching array elements (<code>contains</code>)

> **Exact value (<code>const</code>):** <span id="dt-ff3eaf4463f1c113a4cd"><code>&#34;operating&#45;points&#45;v2&#45;adreno&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-781bab0e37ca77f805ac"></a>

### <code>&#94;opp&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#123;1&#44;2&#125;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-8f2e5552f426413c9816"><code>&#34;object&#34;</code></span>

<a id="dt-377a25da1c5c083fbfd4"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-eb33017d64eae339af53"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-9f8c3f145d15f97908bf"></a>

**<code>opp&#45;hz</code> — required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-ac7f9b8bca0a5fe08fa9"></a>

**<code>opp&#45;level</code> — required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-d19189654648d47da22f"></a>

**<code>opp&#45;peak&#45;kBps</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-94ef065b65a00e1e1e30"></a>

**<code>opp&#45;supported&#45;hw</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-51f1e5ffb13c428f929c"></a>

**<code>qcom&#44;opp&#45;acd&#45;level</code> — not listed as required here**

<div id="dt-bac3b5198e23a8e59bae">
<p style="white-space: pre-wrap">A positive value representing the ACD (Adaptive Clock Distribution,
a fancy name for clk throttling during voltage droop) level associated
with this OPP node. This value is shared to a co-processor inside GPU
(called Graphics Management Unit a.k.a GMU) during wake up. It may not
be present for some OPPs and GMU will disable ACD while transitioning
to that OPP. This value encodes a voltage threshold, delay cycles &amp;
calibration margins which are identified by characterization of the
SoC. So, it doesn't have any unit. This data is passed to GMU firmware
via 'HFI_H2F_MSG_ACD' packet.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-dc92c53617b3efa1b15c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Required in this object (<code>required</code>):** <a id="dt-b50b2f2751f1a6db843a"></a> <span id="dt-eef7b89d687cd49b3ead"><code>&#34;opp&#45;hz&#34;</code></span>, <span id="dt-35665458241804c5ff31"><code>&#34;opp&#45;level&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/power/qcom-rpmpd.h&gt;

gpu_opp_table: opp-table {
    compatible = "operating-points-v2-adreno", "operating-points-v2";

    opp-687000000 {
        opp-hz = /bits/ 64 &lt;687000000&gt;;
        opp-level = &lt;RPMH_REGULATOR_LEVEL_SVS_L1&gt;;
        opp-peak-kBps = &lt;8171875&gt;;
        qcom,opp-acd-level = &lt;0x882e5ffd&gt;;
    };

    opp-550000000 {
        opp-hz = /bits/ 64 &lt;550000000&gt;;
        opp-level = &lt;RPMH_REGULATOR_LEVEL_SVS&gt;;
        opp-peak-kBps = &lt;6074219&gt;;
        qcom,opp-acd-level = &lt;0xc0285ffd&gt;;
    };

    opp-390000000 {
        opp-hz = /bits/ 64 &lt;390000000&gt;;
        opp-level = &lt;RPMH_REGULATOR_LEVEL_LOW_SVS&gt;;
        opp-peak-kBps = &lt;3000000&gt;;
        qcom,opp-acd-level = &lt;0xc0285ffd&gt;;
    };

    opp-300000000 {
        opp-hz = /bits/ 64 &lt;300000000&gt;;
        opp-level = &lt;RPMH_REGULATOR_LEVEL_LOW_SVS_D1&gt;;
        opp-peak-kBps = &lt;2136719&gt;;
        /* Intentionally left out qcom,opp-acd-level property here */
    };

};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>

---

# Qualcomm OPP

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for Qualcomm OPP.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;opp&#45;v2&#45;qcom&#45;level&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Niklas Cassel &#60;nks&#64;flawful&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>opp&#45;v2&#45;base&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-opp/opp-v2-base.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;operating&#45;points&#45;v2&#45;qcom&#45;level&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-edd4e46861738c7b70ef"></a>

### <code>&#94;opp&#45;&#63;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-ad9e5e7079776ba14f82"><code>&#34;object&#34;</code></span>

<a id="dt-cc6f00d73297ba751987"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-8905f4e68842b6eb2ceb"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-cc5483616e02803f4c5b"></a>

**<code>opp&#45;level</code> — required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-d94c5241522eb4d17b40"></a>

**<code>qcom&#44;opp&#45;fuse&#45;level</code> — required here**

<div id="dt-45fbff14dccd99e5cb75">
<p style="white-space: pre-wrap">A positive value representing the fuse corner/level associated with
this OPP node. Sometimes several corners/levels shares a certain fuse
corner/level. A fuse corner/level contains e.g. ref uV, min uV,
and max uV.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-06d169f2c1237e9dc159">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-17a7b4558e3ea583453c"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4c67ef46819830c0c652"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-14d5bc98f1c0e4da7f81"></a> <span id="dt-f0b6794f0fd0150766c6"><code>&#34;opp&#45;level&#34;</code></span>, <span id="dt-bdb5ed71771aef4ed945"><code>&#34;qcom&#44;opp&#45;fuse&#45;level&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">cpr_opp_table: opp-table-cpr {
    compatible = "operating-points-v2-qcom-level";

    cpr_opp1: opp1 {
        opp-level = &lt;1&gt;;
        qcom,opp-fuse-level = &lt;1&gt;;
    };
    cpr_opp2: opp2 {
        opp-level = &lt;2&gt;;
        qcom,opp-fuse-level = &lt;2&gt;;
    };
    cpr_opp3: opp3 {
        opp-level = &lt;3&gt;;
        qcom,opp-fuse-level = &lt;3&gt;;
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>

---

# Generic OPP (Operating Performance Points)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for Generic OPP (Operating Performance Points).

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;opp&#45;v2&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Viresh Kumar &#60;viresh&#46;kumar&#64;linaro&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>opp&#45;v2&#45;base&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-opp/opp-v2-base.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;operating&#45;points&#45;v2&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">/*
 * Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states
 * together.
 */
cpus {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cpu@0 {
        compatible = "arm,cortex-a9";
        device_type = "cpu";
        reg = &lt;0&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 0&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply0&gt;;
        operating-points-v2 = &lt;&amp;cpu0_opp_table0&gt;;
    };

    cpu@1 {
        compatible = "arm,cortex-a9";
        device_type = "cpu";
        reg = &lt;1&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 0&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply0&gt;;
        operating-points-v2 = &lt;&amp;cpu0_opp_table0&gt;;
    };
};

cpu0_opp_table0: opp-table {
    compatible = "operating-points-v2";
    opp-shared;

    opp-1000000000 {
        opp-hz = /bits/ 64 &lt;1000000000&gt;;
        opp-microvolt = &lt;975000 970000 985000&gt;;
        opp-microamp = &lt;70000&gt;;
        clock-latency-ns = &lt;300000&gt;;
        opp-suspend;
    };
    opp-1100000000 {
        opp-hz = /bits/ 64 &lt;1100000000&gt;;
        opp-microvolt = &lt;1000000 980000 1010000&gt;;
        opp-microamp = &lt;80000&gt;;
        clock-latency-ns = &lt;310000&gt;;
    };
    opp-1200000000 {
        opp-hz = /bits/ 64 &lt;1200000000&gt;;
        opp-microvolt = &lt;1025000&gt;;
        clock-latency-ns = &lt;290000&gt;;
        turbo-mode;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">/*
 * Example 2: Single cluster, Quad-core Qualcom-krait, switches DVFS states
 * independently.
 */
cpus {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cpu@0 {
        compatible = "qcom,krait";
        device_type = "cpu";
        reg = &lt;0&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 0&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply0&gt;;
        operating-points-v2 = &lt;&amp;cpu_opp_table&gt;;
    };

    cpu@1 {
        compatible = "qcom,krait";
        device_type = "cpu";
        reg = &lt;1&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 1&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply1&gt;;
        operating-points-v2 = &lt;&amp;cpu_opp_table&gt;;
    };

    cpu@2 {
        compatible = "qcom,krait";
        device_type = "cpu";
        reg = &lt;2&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 2&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply2&gt;;
        operating-points-v2 = &lt;&amp;cpu_opp_table&gt;;
    };

    cpu@3 {
        compatible = "qcom,krait";
        device_type = "cpu";
        reg = &lt;3&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 3&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply3&gt;;
        operating-points-v2 = &lt;&amp;cpu_opp_table&gt;;
    };
};

cpu_opp_table: opp-table {
    compatible = "operating-points-v2";

    /*
     * Missing opp-shared property means CPUs switch DVFS states
     * independently.
     */

    opp-1000000000 {
        opp-hz = /bits/ 64 &lt;1000000000&gt;;
        opp-microvolt = &lt;975000 970000 985000&gt;;
        opp-microamp = &lt;70000&gt;;
        clock-latency-ns = &lt;300000&gt;;
        opp-suspend;
    };
    opp-1100000000 {
        opp-hz = /bits/ 64 &lt;1100000000&gt;;
        opp-microvolt = &lt;1000000 980000 1010000&gt;;
        opp-microamp = &lt;80000&gt;;
        clock-latency-ns = &lt;310000&gt;;
    };
    opp-1200000000 {
        opp-hz = /bits/ 64 &lt;1200000000&gt;;
        opp-microvolt = &lt;1025000&gt;;
        opp-microamp = &lt;90000&gt;;
        clock-latency-ns = &lt;290000&gt;;
        turbo-mode;
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">/*
 * Example 3: Dual-cluster, Dual-core per cluster. CPUs within a cluster switch
 * DVFS state together.
 */
cpus {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cpu@0 {
        compatible = "arm,cortex-a7";
        device_type = "cpu";
        reg = &lt;0&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 0&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply0&gt;;
        operating-points-v2 = &lt;&amp;cluster0_opp&gt;;
    };

    cpu@1 {
        compatible = "arm,cortex-a7";
        device_type = "cpu";
        reg = &lt;1&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 0&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply0&gt;;
        operating-points-v2 = &lt;&amp;cluster0_opp&gt;;
    };

    cpu@100 {
        compatible = "arm,cortex-a15";
        device_type = "cpu";
        reg = &lt;100&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 1&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply1&gt;;
        operating-points-v2 = &lt;&amp;cluster1_opp&gt;;
    };

    cpu@101 {
        compatible = "arm,cortex-a15";
        device_type = "cpu";
        reg = &lt;101&gt;;
        next-level-cache = &lt;&amp;L2&gt;;
        clocks = &lt;&amp;clk_controller 1&gt;;
        clock-names = "cpu";
        cpu-supply = &lt;&amp;cpu_supply1&gt;;
        operating-points-v2 = &lt;&amp;cluster1_opp&gt;;
    };
};

cluster0_opp: opp-table-0 {
    compatible = "operating-points-v2";
    opp-shared;

    opp-1000000000 {
        opp-hz = /bits/ 64 &lt;1000000000&gt;;
        opp-microvolt = &lt;975000 970000 985000&gt;;
        opp-microamp = &lt;70000&gt;;
        clock-latency-ns = &lt;300000&gt;;
        opp-suspend;
    };
    opp-1100000000 {
        opp-hz = /bits/ 64 &lt;1100000000&gt;;
        opp-microvolt = &lt;1000000 980000 1010000&gt;;
        opp-microamp = &lt;80000&gt;;
        clock-latency-ns = &lt;310000&gt;;
    };
    opp-1200000000 {
        opp-hz = /bits/ 64 &lt;1200000000&gt;;
        opp-microvolt = &lt;1025000&gt;;
        opp-microamp = &lt;90000&gt;;
        clock-latency-ns = &lt;290000&gt;;
        turbo-mode;
    };
};

cluster1_opp: opp-table-1 {
    compatible = "operating-points-v2";
    opp-shared;

    opp-1300000000 {
        opp-hz = /bits/ 64 &lt;1300000000&gt;;
        opp-microvolt = &lt;1050000 1045000 1055000&gt;;
        opp-microamp = &lt;95000&gt;;
        clock-latency-ns = &lt;400000&gt;;
        opp-suspend;
    };
    opp-1400000000 {
        opp-hz = /bits/ 64 &lt;1400000000&gt;;
        opp-microvolt = &lt;1075000&gt;;
        opp-microamp = &lt;100000&gt;;
        clock-latency-ns = &lt;400000&gt;;
    };
    opp-1500000000 {
        opp-hz = /bits/ 64 &lt;1500000000&gt;;
        opp-microvolt = &lt;1100000 1010000 1110000&gt;;
        opp-microamp = &lt;95000&gt;;
        clock-latency-ns = &lt;400000&gt;;
        turbo-mode;
    };
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">/* Example 4: Handling multiple regulators */
cpus {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cpu@0 {
        compatible = "foo,cpu-type";
        device_type = "cpu";
        reg = &lt;0&gt;;

        vcc0-supply = &lt;&amp;cpu_supply0&gt;;
        vcc1-supply = &lt;&amp;cpu_supply1&gt;;
        vcc2-supply = &lt;&amp;cpu_supply2&gt;;
        operating-points-v2 = &lt;&amp;cpu0_opp_table4&gt;;
    };
};

cpu0_opp_table4: opp-table-0 {
    compatible = "operating-points-v2";
    opp-shared;

    opp-1000000000 {
        opp-hz = /bits/ 64 &lt;1000000000&gt;;
        opp-microvolt = &lt;970000&gt;, /* Supply 0 */
                        &lt;960000&gt;, /* Supply 1 */
                        &lt;960000&gt;; /* Supply 2 */
        opp-microamp =  &lt;70000&gt;,  /* Supply 0 */
                        &lt;70000&gt;,  /* Supply 1 */
                        &lt;70000&gt;;  /* Supply 2 */
        clock-latency-ns = &lt;300000&gt;;
    };

    /* OR */

    opp-1000000001 {
        opp-hz = /bits/ 64 &lt;1000000001&gt;;
        opp-microvolt = &lt;975000 970000 985000&gt;, /* Supply 0 */
                        &lt;965000 960000 975000&gt;, /* Supply 1 */
                        &lt;965000 960000 975000&gt;; /* Supply 2 */
        opp-microamp =  &lt;70000&gt;,    /* Supply 0 */
            &lt;70000&gt;,    /* Supply 1 */
            &lt;70000&gt;;    /* Supply 2 */
        clock-latency-ns = &lt;300000&gt;;
    };

    /* OR */

    opp-1000000002 {
        opp-hz = /bits/ 64 &lt;1000000002&gt;;
        opp-microvolt = &lt;975000 970000 985000&gt;, /* Supply 0 */
            &lt;965000 960000 975000&gt;, /* Supply 1 */
            &lt;965000 960000 975000&gt;; /* Supply 2 */
        opp-microamp =  &lt;70000&gt;,    /* Supply 0 */
            &lt;0&gt;,      /* Supply 1 doesn't need this */
            &lt;70000&gt;;    /* Supply 2 */
        clock-latency-ns = &lt;300000&gt;;
    };
};
</code></pre>

<pre id="dt-89dd782fdab7d446b5b9"><code class="language-dts">/*
 * Example 5: opp-supported-hw
 * (example: three level hierarchy of versions: cuts, substrate and process)
 */
cpus {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cpu@0 {
        compatible = "arm,cortex-a7";
        device_type = "cpu";
        reg = &lt;0&gt;;
        cpu-supply = &lt;&amp;cpu_supply&gt;;
        operating-points-v2 = &lt;&amp;cpu0_opp_table_slow&gt;;
    };
};

cpu0_opp_table_slow: opp-table {
    compatible = "operating-points-v2";
    opp-shared;

    opp-600000000 {
        /*
         * Supports all substrate and process versions for 0xF
         * cuts, i.e. only first four cuts.
         */
        opp-supported-hw = &lt;0xF 0xFFFFFFFF 0xFFFFFFFF&gt;;
        opp-hz = /bits/ 64 &lt;600000000&gt;;
    };

    opp-800000000 {
        /*
         * Supports:
         * - cuts: only one, 6th cut (represented by 6th bit).
         * - substrate: supports 16 different substrate versions
         * - process: supports 9 different process versions
         */
        opp-supported-hw = &lt;0x20 0xff0000ff 0x0000f4f0&gt;;
        opp-hz = /bits/ 64 &lt;800000000&gt;;
    };

    opp-900000000 {
        /*
         * Supports:
         * - All cuts and substrate where process version is 0x2.
         * - All cuts and process where substrate version is 0x2.
         */
        opp-supported-hw = &lt;0xFFFFFFFF 0xFFFFFFFF 0x02&gt;,
                           &lt;0xFFFFFFFF 0x01 0xFFFFFFFF&gt;;
        opp-hz = /bits/ 64 &lt;900000000&gt;;
    };
};
</code></pre>

<pre id="dt-0a7a1e02b6a2bd0df8c7"><code class="language-dts">/*
 * Example 6: opp-microvolt-&lt;name&gt;, opp-microamp-&lt;name&gt;:
 * (example: device with two possible microvolt ranges: slow and fast)
 */
cpus {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cpu@0 {
        compatible = "arm,cortex-a7";
        device_type = "cpu";
        reg = &lt;0&gt;;
        operating-points-v2 = &lt;&amp;cpu0_opp_table6&gt;;
    };
};

cpu0_opp_table6: opp-table-0 {
    compatible = "operating-points-v2";
    opp-shared;

    opp-1000000000 {
        opp-hz = /bits/ 64 &lt;1000000000&gt;;
        opp-microvolt-slow = &lt;915000 900000 925000&gt;;
        opp-microvolt-fast = &lt;975000 970000 985000&gt;;
        opp-microamp-slow =  &lt;70000&gt;;
        opp-microamp-fast =  &lt;71000&gt;;
    };

    opp-1200000000 {
        opp-hz = /bits/ 64 &lt;1200000000&gt;;
        opp-microvolt-slow = &lt;915000 900000 925000&gt;, /* Supply vcc0 */
                             &lt;925000 910000 935000&gt;; /* Supply vcc1 */
        opp-microvolt-fast = &lt;975000 970000 985000&gt;, /* Supply vcc0 */
                             &lt;965000 960000 975000&gt;; /* Supply vcc1 */
        opp-microamp =  &lt;70000&gt;; /* Will be used for both slow/fast */
    };
};
</code></pre>

<pre id="dt-f015148604ca561352a9"><code class="language-dts">/*
 * Example 7: Single cluster Quad-core ARM cortex A53, OPP points from firmware,
 * distinct clock controls but two sets of clock/voltage/current lines.
 */
cpus {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;

    cpu@0 {
        compatible = "arm,cortex-a53";
        device_type = "cpu";
        reg = &lt;0x0 0x100&gt;;
        next-level-cache = &lt;&amp;A53_L2&gt;;
        clocks = &lt;&amp;dvfs_controller 0&gt;;
        operating-points-v2 = &lt;&amp;cpu_opp0_table&gt;;
    };
    cpu@1 {
        compatible = "arm,cortex-a53";
        device_type = "cpu";
        reg = &lt;0x0 0x101&gt;;
        next-level-cache = &lt;&amp;A53_L2&gt;;
        clocks = &lt;&amp;dvfs_controller 1&gt;;
        operating-points-v2 = &lt;&amp;cpu_opp0_table&gt;;
    };
    cpu@2 {
        compatible = "arm,cortex-a53";
        device_type = "cpu";
        reg = &lt;0x0 0x102&gt;;
        next-level-cache = &lt;&amp;A53_L2&gt;;
        clocks = &lt;&amp;dvfs_controller 2&gt;;
        operating-points-v2 = &lt;&amp;cpu_opp1_table&gt;;
    };
    cpu@3 {
        compatible = "arm,cortex-a53";
        device_type = "cpu";
        reg = &lt;0x0 0x103&gt;;
        next-level-cache = &lt;&amp;A53_L2&gt;;
        clocks = &lt;&amp;dvfs_controller 3&gt;;
        operating-points-v2 = &lt;&amp;cpu_opp1_table&gt;;
    };

};

cpu_opp0_table: opp-table-0 {
    compatible = "operating-points-v2";
    opp-shared;
};

cpu_opp1_table: opp-table-1 {
    compatible = "operating-points-v2";
    opp-shared;
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>

---

# Texas Instruments OMAP compatible OPP supply

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Opp bindings_

> Device-tree binding reference for Texas Instruments OMAP compatible OPP supply.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;opp&#47;ti&#44;omap&#45;opp&#45;supply&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">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).</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Nishanth Menon &#60;nm&#64;ti&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;opp&#45;supply&#40;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#41;&#63;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">Basic OPP supply controlling VDD and VBB</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;ti&#44;omap&#45;opp&#45;supply&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">OMAP5+ optimized voltages in efuse(Class 0) VDD along with VBB.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;ti&#44;omap5&#45;opp&#45;supply&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <div id="dt-34ebc3371373135d1528">
> <p style="white-space: pre-wrap">OMAP5+ optimized voltages in efuse(class0) VDD but no VBB</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;ti&#44;omap5&#45;core&#45;opp&#45;supply&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-40edb957b0831f558a92"></a>

### <code>ti&#44;absolute&#45;max&#45;voltage&#45;uv</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7bcdaadefc5f2495b226">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-fbb073ef8782f94efbe1">
<p style="white-space: pre-wrap">Absolute maximum voltage for the OPP supply in micro-volts.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-31061a89a77db20359e6"><code>750000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-46e24b708fe33d939426"><code>1500000</code></span>

<a id="dt-b758dd2790c353d5b0fc"></a>

### <code>ti&#44;efuse&#45;settings</code> — not listed as required here

<div id="dt-25432b895340321be3dd">
<p style="white-space: pre-wrap">An array of u32 tuple items providing information about optimized efuse configuration.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-0f487fa042310a68ae0f"><code>1</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-177b3f56504e2482f8ff">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d948f2945b497d9aa3c7>)</span>

<a id="dt-cc46748018adaf962250"></a>

#### Array item rules (<code>items</code>)

> <a id="dt-1a7eafad77bd843fe52b"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-726c3df1b6dfab5dcb6c"></a>
>
> **Item 1**
>
> > <div id="dt-b922c53082292feba9f4">
> > <p style="white-space: pre-wrap">Reference voltage in micro-volts (OPP Voltage)</p>
> > </div>
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-f799dea24c9130a6a45c"><code>750000</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-81474e2f2a2ba194a7e0"><code>1500000</code></span>
> >
> > **Multiple of (<code>multipleOf</code>):** <span id="dt-cde57891595d8e09ef86"><code>10000</code></span>
>
> <a id="dt-cd9bded1657dacf6c2a7"></a>
>
> **Item 2**
>
> > <div id="dt-b78f5254bef9e4424eee">
> > <p style="white-space: pre-wrap">efuse offset where the optimized voltage is located</p>
> > </div>
> >
> > **Multiple of (<code>multipleOf</code>):** <span id="dt-2316682cb80a0b8853e2"><code>4</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-2992f6f534d2959fb711"><code>256</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;ti&#44;absolute&#45;max&#45;voltage&#45;uv&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-17723ad0bbc7f42a3e70"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-3defb1f4dc0d6847a043"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-0e5d4207b2374940f9d3"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-6e1ee4ed1b112666419d"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-1c1f690154555df6cea9"><code>&#34;ti&#44;omap&#45;opp&#45;supply&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;reg&#34;</code></span>, <span id="dt-5652a54c9ddda3dcd6bf"><code>&#34;ti&#44;efuse&#45;settings&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">opp-supply {
    compatible = "ti,omap-opp-supply";
    ti,absolute-max-voltage-uv = &lt;1375000&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">opp-supply@4a003b20 {
    compatible = "ti,omap5-opp-supply";
    reg = &lt;0x4a003b20 0x8&gt;;
    ti,efuse-settings =
        /* uV   offset */
        &lt;1060000 0x0&gt;,
        &lt;1160000 0x4&gt;,
        &lt;1210000 0x8&gt;;
    ti,absolute-max-voltage-uv = &lt;1500000&gt;;
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>
