# Simple MMC power sequence provider

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

> Device-tree binding reference for Simple MMC power sequence provider.

<!-- 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;mmc&#47;mmc&#45;pwrseq&#45;simple&#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;Ulf Hansson &#60;ulf&#46;hansson&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The purpose of the simple MMC power sequence provider is to supports a set of common properties between various SOC designs. It thus enables us to use the same provider for several SOC designs.</p>
</div>

<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;mmc&#45;pwrseq&#45;simple&#34;</code></span>

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

### <code>reset&#45;gpios</code> — not listed as required here

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

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

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">contains a list of GPIO specifiers. The reset GPIOs are asserted at initialization and prior we start the power up procedure of the card. They will be de-asserted right after the power has been provided to the card.</p>
</div>

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Handle for the entry in clock-names.</p>
</div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ext&#95;clock&#34;</code></span>

<div id="dt-d153c20aa0faf1618c41">
<p style="white-space: pre-wrap">External clock provided to the card.</p>
</div>

<a id="dt-03099414cd7803ae6cfe"></a>

### <code>post&#45;power&#45;on&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-2ee525451a535cad1782">
<p style="white-space: pre-wrap">Delay in ms after powering the card and de-asserting the reset-gpios (if any).</p>
</div>

<a id="dt-358a0bbf69a9c4d43c43"></a>

### <code>power&#45;off&#45;delay&#45;us</code> — not listed as required here

<div id="dt-f1714d7a3eae56a0b2fb">
<p style="white-space: pre-wrap">Delay in us after asserting the reset-gpios (if any) during power off of the card.</p>
</div>

**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/gpio/gpio.h&gt;
pwrseq {
  compatible = "mmc-pwrseq-simple";
  reset-gpios = &lt;&amp;gpio1 12 GPIO_ACTIVE_LOW&gt;;
  clocks = &lt;&amp;clk_32768_ck&gt;;
  clock-names = "ext_clock";
};
</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>

<p id="dt-comment-1"><strong>Line 23:</strong> <span> Put some limit to avoid false warnings</span></p>

</details>
