# Microchip eXtended Image Sensor Controller (XISC)

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

> Device-tree binding reference for Microchip eXtended Image Sensor Controller (XISC).

<!-- 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;media&#47;microchip&#44;xisc&#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;Eugen Hristev &#60;eugen&#46;hristev&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The eXtended Image Sensor Controller (XISC) device provides the video input capabilities for the
Microchip AT91 SAM family of devices.</p>
<p style="white-space: pre-wrap">The XISC has a single internal parallel input that supports RAW Bayer, RGB or YUV video.
The source can be either a demuxer from a CSI2 type of bus, or a simple direct bridge to a
parallel sensor.</p>
<p style="white-space: pre-wrap">The XISC provides one clock output that is used to clock the demuxer/bridge.</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;microchip&#44;sama7g5&#45;isc&#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-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-4e9a371963ac013ad39d"></a>

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

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

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

### <code>clock&#45;names</code> — 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;hclock&#34;</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

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

### <code>clock&#45;output&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-ec886847af661a542167"><code>&#34;isc&#45;mck&#34;</code></span>

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

### <code>microchip&#44;mipi&#45;mode</code> — not listed as required here

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

<div id="dt-dbe635f4c4c0576a8926">
<p style="white-space: pre-wrap">As the XISC is usually connected to a demux/bridge, the XISC receives the same type of input, however, it should be aware of the type of signals received. The mipi-mode enables different internal handling of the data and clock lines.</p>
</div>

<a id="dt-1d845f0617b4072cef77"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-61dbefbf4cdd7cc4556a>)</span>

<div id="dt-0cd71b006a1fcbec8daa">
<p style="white-space: pre-wrap">Input port node, single endpoint describing the input pad.</p>
</div>

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

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

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

**<code>endpoint</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4d56cb4bb8332929f9b4">[<code>video&#45;interfaces&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-media/video-interfaces.md#dt-root>)</span>

<a id="dt-379ad4ba4c48ef74875c"></a>

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

<a id="dt-8329bde425fe3f5dddf5"></a>

**<code>bus&#45;type</code> — required here**

**Allowed values (<code>enum</code>):** <a id="dt-14d879b8fe3974389c51"></a> <span id="dt-ad24d07271e2babfab2b"><code>5</code></span>, <span id="dt-c31b183ccb9a8701b9bd"><code>6</code></span>

<a id="dt-924e0f790c77809eed84"></a>

**<code>remote&#45;endpoint</code> — required here**

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

<a id="dt-18c07bc82dcf5057d0a6"></a>

**<code>bus&#45;width</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-792a2d1e7c3c827a3d15"></a> <span id="dt-5ea66cce71cfe84894e0"><code>8</code></span>, <span id="dt-fcc352e5c32a1be82d51"><code>9</code></span>, <span id="dt-33dace92cc1961497f6c"><code>10</code></span>, <span id="dt-4e0e73b3fa9eab78fa28"><code>11</code></span>, <span id="dt-9614157be00c8b1c4f81"><code>12</code></span>, <span id="dt-0491d00eaa524f5ed631"><code>14</code></span>

**Default value (<code>default</code>):** <span id="dt-620affe55c396a328e05"><code>12</code></span>

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

**<code>hsync&#45;active</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-95ac75a6b8df6c2d1754"></a> <span id="dt-1392b76bcbf3f574ecdb"><code>0</code></span>, <span id="dt-ed28cd9f6f9db1134ba8"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-fd8b3be7f5103f1466fb"><code>1</code></span>

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

**<code>vsync&#45;active</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-375582e62ad81b7df886"></a> <span id="dt-543ff87c88ce76f649da"><code>0</code></span>, <span id="dt-700fde303ffe82ff3431"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-a58c8a13d3c91e2c03fb"><code>1</code></span>

<a id="dt-210e03baed7eb8631642"></a>

**<code>pclk&#45;sample</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-340c9bbc211f5549cf82"></a> <span id="dt-d703ecee0ba81d539b30"><code>0</code></span>, <span id="dt-eb206446e27e8f32e529"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-2ad02fb230afa26bd77e"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-12e7739ba85a6fad8ee6"></a> <span id="dt-449e4df1e2797fc2ae88"><code>&#34;remote&#45;endpoint&#34;</code></span>, <span id="dt-329e1ac26f9aeebf4487"><code>&#34;bus&#45;type&#34;</code></span>

<a id="dt-79e84db9dffbeb97ed1f"></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-d89b2cd0e08760d504bf"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;clock&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;output&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;port&#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;
#include &lt;dt-bindings/clock/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/media/video-interfaces.h&gt;

xisc: xisc@e1408000 {
    compatible = "microchip,sama7g5-isc";
    reg = &lt;0xe1408000 0x2000&gt;;
    interrupts = &lt;GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;pmc PMC_TYPE_PERIPHERAL 56&gt;;
    clock-names = "hclock";
    #clock-cells = &lt;0&gt;;
    clock-output-names = "isc-mck";

    port {
            xisc_in: endpoint {
                   bus-type = &lt;MEDIA_BUS_TYPE_PARALLEL&gt;;
                   remote-endpoint = &lt;&amp;csi2dc_out&gt;;
                   hsync-active = &lt;1&gt;;
                   vsync-active = &lt;1&gt;;
                   bus-width = &lt;12&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) 2021 Microchip Technology, Inc.</span></p>

</details>
