# Qualcomm QMP USB3-DP PHY controller (DP, QCS615)

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

> Device-tree binding reference for Qualcomm QMP USB3-DP PHY controller (DP, QCS615).

<!-- 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;phy&#47;qcom&#44;qcs615&#45;qmp&#45;usb3dp&#45;phy&#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;Xiangxu Yin &#60;xiangxu&#46;yin&#64;oss&#46;qualcomm&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The QMP PHY controller supports physical layer functionality for both USB3 and DisplayPort over USB-C. While it enables mode switching between USB3 and DisplayPort, but does not support combo mode.</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;qcom&#44;qcs615&#45;qmp&#45;usb3&#45;dp&#45;phy&#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-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>4</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;aux&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;ref&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;cfg&#95;ahb&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;pipe&#34;</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>2</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

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

<a id="dt-353fc881e5c58d1dcba1"></a>

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

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;phy&#95;phy&#34;</code></span>

<a id="dt-80813f149d5a57545875"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-bff27a7e8c043853e284"><code>&#34;dp&#95;phy&#34;</code></span>

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

### <code>vdda&#45;phy&#45;supply</code> — required here

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

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

### <code>vdda&#45;pll&#45;supply</code> — required here

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

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

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

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

<div id="dt-6709a835409866cbd3af">
<p style="white-space: pre-wrap">See include/dt-bindings/phy/phy-qcom-qmp.h</p>
</div>

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

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

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

<div id="dt-fe2c7f9201e8406fc747">
<p style="white-space: pre-wrap">See include/dt-bindings/phy/phy-qcom-qmp.h</p>
</div>

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

### <code>qcom&#44;tcsr&#45;reg</code> — required here

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

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

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

<a id="dt-29b1e5c11752e7dbc907"></a>

**Item 1**

> <a id="dt-423bd8a511ac83b3d037"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-f5369bc645dc7a29c0fc"></a>
>
> **Item 1**
>
> > <div id="dt-ae76ebe97f8820909f01">
> > <p style="white-space: pre-wrap">phandle to TCSR hardware block</p>
> > </div>
>
> <a id="dt-a6357c7eeca493115ed4"></a>
>
> **Item 2**
>
> > <div id="dt-2bfd79223885d913bbac">
> > <p style="white-space: pre-wrap">offset of the VLS CLAMP register</p>
> > </div>
>
> <a id="dt-a12dabc27dc7c99bf3da"></a>
>
> **Item 3**
>
> > <div id="dt-e076d3f54d0b5cb8ffc6">
> > <p style="white-space: pre-wrap">offset of the PHY mode register</p>
> > </div>

<div id="dt-f3cf9b1710cd9d49f643">
<p style="white-space: pre-wrap">Clamp and PHY mode register present in the TCSR</p>
</div>

**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;resets&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;vdda&#45;phy&#45;supply&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;vdda&#45;pll&#45;supply&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;&#35;clock&#45;cells&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;&#35;phy&#45;cells&#34;</code></span>, <span id="dt-66579c0187208772d10e"><code>&#34;qcom&#44;tcsr&#45;reg&#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/clock/qcom,qcs615-gcc.h&gt;
#include &lt;dt-bindings/clock/qcom,rpmh.h&gt;

phy@88e8000 {
  compatible = "qcom,qcs615-qmp-usb3-dp-phy";
  reg = &lt;0x88e8000 0x2000&gt;;

  clocks = &lt;&amp;gcc GCC_USB2_SEC_PHY_AUX_CLK&gt;,
           &lt;&amp;gcc GCC_USB3_SEC_CLKREF_CLK&gt;,
           &lt;&amp;gcc GCC_AHB2PHY_WEST_CLK&gt;,
           &lt;&amp;gcc GCC_USB2_SEC_PHY_PIPE_CLK&gt;;
  clock-names = "aux",
                "ref",
                "cfg_ahb",
                "pipe";

  resets = &lt;&amp;gcc GCC_USB3PHY_PHY_SEC_BCR&gt;,
           &lt;&amp;gcc GCC_USB3_DP_PHY_SEC_BCR&gt;;
  reset-names = "phy_phy",
                "dp_phy";

  vdda-phy-supply = &lt;&amp;vreg_l5a&gt;;
  vdda-pll-supply = &lt;&amp;vreg_l12a&gt;;

  #clock-cells = &lt;1&gt;;
  #phy-cells = &lt;1&gt;;

  qcom,tcsr-reg = &lt;&amp;tcsr 0xbff0 0xb24c&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 OR BSD-2-Clause)</span></p>

</details>
