# HiSilicon 6421v600 SPMI PMIC

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

> Device-tree binding reference for HiSilicon 6421v600 SPMI PMIC.

<!-- 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;mfd&#47;hisilicon&#44;hi6421&#45;spmi&#45;pmic&#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;Mauro Carvalho Chehab &#60;mchehab&#43;huawei&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">HiSilicon 6421v600 should be connected inside a MIPI System Power Management
(SPMI) bus. It provides interrupts and power supply.</p>
<p style="white-space: pre-wrap">The GPIO and interrupt settings are represented as part of the top-level PMIC
node.</p>
<p style="white-space: pre-wrap">The SPMI controller part is provided by
Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml</p>
</div>

<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;pmic&#64;&#91;0&#45;9a&#45;f&#93;&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;hisilicon&#44;hi6421v600&#45;spmi&#34;</code></span>

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

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

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

<a id="dt-8586fac2d9a71adf4795"></a>

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

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

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

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

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

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

### <code>interrupts</code> — not listed as 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> — required here

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

<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-61f1ab18943e36a1a8bc"></a>

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

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-153526cd38b0be21a049">[<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-7d853ad10394119acd43"></a>

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

<code>false</code>

Not allowed by this 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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;regulators&#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/spmi/spmi.h&gt;

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

    pmic@0 {
        compatible = "hisilicon,hi6421v600-spmi";
        reg = &lt;0 SPMI_USID&gt;;

        #interrupt-cells = &lt;2&gt;;
        interrupt-controller;
        interrupt-parent = &lt;&amp;gpio28&gt;;
        interrupts = &lt;0 0&gt;;

        regulators {
            ldo3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = &lt;1500000&gt;;
                regulator-max-microvolt = &lt;2000000&gt;;
                regulator-boot-on;
            };

            ldo4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = &lt;1725000&gt;;
                regulator-max-microvolt = &lt;1900000&gt;;
                regulator-boot-on;
            };

            ldo9 {
                regulator-name = "ldo9";
                regulator-min-microvolt = &lt;1750000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-boot-on;
            };

            ldo15 {
                regulator-name = "ldo15";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;3000000&gt;;
                regulator-always-on;
            };

            ldo16 {
                regulator-name = "ldo16";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;3000000&gt;;
                regulator-boot-on;
            };

            ldo17 {
                regulator-name = "ldo17";
                regulator-min-microvolt = &lt;2500000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };

            ldo33 {
                regulator-name = "ldo33";
                regulator-min-microvolt = &lt;2500000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-boot-on;
            };

            ldo34 {
                regulator-name = "ldo34";
                regulator-min-microvolt = &lt;2600000&gt;;
                regulator-max-microvolt = &lt;3300000&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>
