# TI TPS6594 Power Management Integrated Circuit

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

> Device-tree binding reference for TI TPS6594 Power Management Integrated Circuit.

<!-- 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;mfd&#47;ti&#44;tps6594&#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;Julien Panis &#60;jpanis&#64;baylibre&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">TPS6594 is a Power Management IC which provides regulators and others features like GPIOs, RTC, watchdog, ESMs (Error Signal Monitor), and PFSM (Pre-configurable Finite State Machine) managing the state of the device. TPS6594 is the super-set device while TPS6593 and LP8764 are derivatives.</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;ti&#44;lp8764&#45;q1&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tps6593&#45;q1&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;tps6594&#45;q1&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;tps65224&#45;q1&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;tps652g1&#34;</code></span>

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address or SPI chip select number.</p>
</div>

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

<a id="dt-65f41faa023e1d0cc26f"></a>

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

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

<div id="dt-4e66d0c3321710aa5d48">
<p style="white-space: pre-wrap">Identify the primary PMIC on SPMI bus.
A multi-PMIC synchronization scheme is implemented in the PMIC device
to synchronize the power state changes with other PMIC devices. This is
accomplished through a SPMI bus: the primary PMIC is the controller
device on the SPMI bus, and the secondary PMICs are the target devices
on the SPMI bus.</p>
</div>

<a id="dt-8e0bc5a8db57c6a9dff5"></a>

### <code>system&#45;power&#45;controller</code> — not listed as required here

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

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

### <code>gpio&#45;controller</code> — not listed as required here

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

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

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

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

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

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first cell is the pin number, the second cell is used to specify flags.
See ../gpio/gpio.txt for more information.</p>
</div>

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

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

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

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

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

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

<div id="dt-21c242b401be5c67bade">
<p style="white-space: pre-wrap">List of regulators provided by this controller.</p>
</div>

<a id="dt-61f1ab18943e36a1a8bc"></a>

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

<a id="dt-37cf13f666bfbbe9adf1"></a>

**<code>&#94;buck&#40;&#91;1&#45;5&#93;&#124;12&#124;34&#124;123&#124;1234&#41;&#36;</code> — name matches this regular expression**

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

**<code>&#94;ldo&#91;1&#45;4&#93;&#36;</code> — name matches this regular expression**

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fa2c765feb24bb62d825">[<code>&#47;schemas&#47;regulator&#47;regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

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

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

<code>false</code>

Not allowed by this rule.

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

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

<a id="dt-3683fa54917e212077e5"></a>

**Rule 1**

> <a id="dt-ee2fcc4195f8ab9d996d"></a>
>
> **Condition (<code>if</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-8b355263de5965ad605b"></a> <span id="dt-b6efc8ae03410b42743a"><code>&#34;buck12&#34;</code></span>
>
> <a id="dt-94afef346127dddb5bb8"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > <a id="dt-fe62c4c8c3927e801d67"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-45c236aae0ff0b8bb659"></a>
> >
> > **<code>buck123</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-890f2ac44c74b59ce27a"></a>
> >
> > **<code>buck1234</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

**Rule 2**

> <a id="dt-be0f512bcc73cf585562"></a>
>
> **Condition (<code>if</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-6ec19b59e9a84e14ed93"></a> <span id="dt-c7c59c4027ae456b9e62"><code>&#34;buck123&#34;</code></span>
>
> <a id="dt-97622adeb90c7d658322"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > <a id="dt-8558f25efa6491480ecf"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-eb20c5b49a754019c230"></a>
> >
> > **<code>buck34</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-03d206413fab49637c43"></a>

**Rule 3**

> <a id="dt-bf84235e92f797469a5e"></a>
>
> **Condition (<code>if</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-5dc461e9c1c34748dbfc"></a> <span id="dt-cc610091f8c7409bd8f4"><code>&#34;buck1234&#34;</code></span>
>
> <a id="dt-a5cf640716c4dd04d26d"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > <a id="dt-730bbaf4aa47fbb83488"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-01d7ccb1a7291d1abd1b"></a>
> >
> > **<code>buck34</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-8e4e67ed0dd0ed4ae33a"></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-e92215bd3c2f5373b164"></a>

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

<a id="dt-75ab459dbc8ca6b6e5bf"></a>

### <code>&#94;buck&#40;&#91;1&#45;5&#93;&#124;12&#124;34&#124;123&#124;1234&#41;&#45;supply&#36;</code> — name matches this regular expression

<div id="dt-8bb34bf446f904e33412">
<p style="white-space: pre-wrap">Input supply phandle for each buck.</p>
</div>

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

### <code>&#94;ldo&#91;1&#45;4&#93;&#45;supply&#36;</code> — name matches this regular expression

<div id="dt-7fa082a3b4893c9b6ef8">
<p style="white-space: pre-wrap">Input supply phandle for each ldo.</p>
</div>

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#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/interrupt-controller/arm-gic.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    tps6593: pmic@48 {
        compatible = "ti,tps6593-q1";
        reg = &lt;0x48&gt;;
        ti,primary-pmic;
        system-power-controller;

        gpio-controller;
        #gpio-cells = &lt;2&gt;;

        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;pmic_irq_pins_default&gt;;
        interrupt-parent = &lt;&amp;mcu_gpio0&gt;;
        interrupts = &lt;0 IRQ_TYPE_EDGE_FALLING&gt;;

        buck123-supply = &lt;&amp;vcc_3v3_sys&gt;;
        buck4-supply = &lt;&amp;vcc_3v3_sys&gt;;
        buck5-supply = &lt;&amp;vcc_3v3_sys&gt;;
        ldo1-supply = &lt;&amp;vcc_3v3_sys&gt;;
        ldo2-supply = &lt;&amp;vcc_3v3_sys&gt;;
        ldo3-supply = &lt;&amp;buck5&gt;;
        ldo4-supply = &lt;&amp;vcc_3v3_sys&gt;;

        regulators {
            buck123: buck123 {
                regulator-name = "vcc_core";
                regulator-min-microvolt = &lt;750000&gt;;
                regulator-max-microvolt = &lt;850000&gt;;
                regulator-boot-on;
                regulator-always-on;
            };

            buck4: buck4 {
                regulator-name = "vcc_1v1";
                regulator-min-microvolt = &lt;1100000&gt;;
                regulator-max-microvolt = &lt;1100000&gt;;
                regulator-boot-on;
                regulator-always-on;
            };

            buck5: buck5 {
                regulator-name = "vcc_1v8_sys";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo1: ldo1 {
                regulator-name = "vddshv5_sdio";
                regulator-min-microvolt = &lt;3300000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo2: ldo2 {
                regulator-name = "vpp_1v8";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo3: ldo3 {
                regulator-name = "vcc_0v85";
                regulator-min-microvolt = &lt;850000&gt;;
                regulator-max-microvolt = &lt;850000&gt;;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo4: ldo4 {
                regulator-name = "vdda_1v8";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
                regulator-boot-on;
                regulator-always-on;
            };
        };
    };
};
</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>
