# IIO Provider Common Properties

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Shared binding definitions / iio_

> Device-tree binding reference for IIO Provider Common Properties.

<!-- SPDX-License-Identifier: (GPL-2.0 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;iio&#47;iio&#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>

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

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

<code>true</code>

This selection rule always matches.

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

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes generic properties that can be applied to an IIO device binding.
As well, direct readings of channels on an IIO Device, an IIO device can provide services in the form of readings and properties for channels to consumer devices.  For example, an ADC might provide 3 channels to an analog accelerometer so that an accelerometer driver can use them to read the voltages that correspond to the accelerations on the 3 axis.</p>
</div>

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

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

<a id="dt-6971e222e0082656e9f5"></a>

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

**Allowed values (<code>enum</code>):** <a id="dt-3ce2617b0296bdb523ea"></a> <span id="dt-b6591ef03b850b4934f3"><code>0</code></span>, <span id="dt-0cf75830a4fd2b5d5a15"><code>1</code></span>, <span id="dt-d1fd77a5472ea918faeb"><code>2</code></span>

<div id="dt-99ec207a6d110eacb63a">
<p style="white-space: pre-wrap">Number of cells in an IIO specifier; Typically 0 for nodes with a single IIO output and 1 for nodes with multiple IIO outputs. A few unusual devices have a 2 level mapping.</p>
</div>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-53871351f7b7f2ccf849"></a> <span id="dt-a5c525fcf0ab33d853b6"><code>0</code></span>, <span id="dt-471838a9b7da2ad1359d"><code>1</code></span>

<div id="dt-fdd8fba186e8e80ad8ac">
<p style="white-space: pre-wrap">Number of cells in an IIO backend; Typically 0 for nodes with a single backend and 1 for nodes with multiple backends.</p>
</div>

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

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

<div id="dt-f7c1a813bb0d2e9dd066">
<p style="white-space: pre-wrap">Unique name to identify which IIO channel or device this is.</p>
</div>

<a id="dt-86e43757fd8eca6a896a"></a>

### <code>mount&#45;matrix</code> — not listed as required here

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

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

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

<div id="dt-4647e7899506a53144c9">
<p style="white-space: pre-wrap">3x3 matrix specifying the sensor orientation wrt to a reference plane.</p>
</div>

<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 OR BSD-2-Clause)</span></p>

</details>
