# OLPC XO-1.75 Embedded Controller

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

> Device-tree binding reference for OLPC XO-1.75 Embedded Controller.

<!-- 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;misc&#47;olpc&#44;xo1&#46;75&#45;ec&#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">This binding describes the Embedded Controller acting as a SPI bus master
on a OLPC XO-1.75 laptop computer.</p>
<p style="white-space: pre-wrap">The embedded controller requires the SPI controller driver to signal
readiness to receive a transfer (that is, when TX FIFO contains the
response data) by strobing the ACK pin with the ready signal. See the
"ready-gpios" property of the SSP binding as documented in:
&lt;Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml&gt;.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Lubomir Rintel &#60;lkundrak&#64;v3&#46;sk&#62;&#34;</code></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;olpc&#44;xo1&#46;75&#45;ec&#34;</code></span>

<a id="dt-90d1bbc326a69bfbe5aa"></a>

### <code>cmd&#45;gpios</code> — required here

<div id="dt-5f2a5288e1e1ae99f8fc">
<p style="white-space: pre-wrap">GPIO uspecifier of the CMD pin</p>
</div>

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

<a id="dt-0a35716b647e2a1e66ce"></a>

### <code>spi&#45;cpha</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;cmd&#45;gpios&#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;

spi {
  spi-slave;
  #address-cells = &lt;0&gt;;
  #size-cells = &lt;0&gt;;
  ready-gpios = &lt;&amp;gpio 125 GPIO_ACTIVE_HIGH&gt;;

  slave {
    compatible = "olpc,xo1.75-ec";
    spi-cpha;
    cmd-gpios = &lt;&amp;gpio 155 GPIO_ACTIVE_HIGH&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2019,2020 Lubomir Rintel &lt;lkundrak@v3.sk&gt;</span></p>

</details>
