# Qualcomm Technologies, Inc. Top Level Mode Multiplexer (TLMM) definitions

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

> Device-tree binding reference for Qualcomm Technologies, Inc. Top Level Mode Multiplexer (TLMM) definitions.

<!-- 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;pinctrl&#47;qcom&#44;tlmm&#45;common&#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;Bjorn Andersson &#60;bjorn&#46;andersson&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This defines the common properties used to describe all Qualcomm Top Level Mode Multiplexer bindings and pinconf/pinmux states for these.</p>
</div>

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

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">TLMM summary IRQ and dirconn interrupts.</p>
</div>

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

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

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

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

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">Specifies the PIN numbers and Flags, as defined in defined in include/dt-bindings/interrupt-controller/irq.h</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

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

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">Specifying the pin number and flags, as defined in include/dt-bindings/gpio/gpio.h</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

### <code>gpio&#45;ranges</code> — required here

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

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

### <code>wakeup&#45;parent</code> — not listed as required here

<div id="dt-f29d3f12fdd64be56d95">
<p style="white-space: pre-wrap">Specifying the interrupt-controller used to wake up the system when the TLMM block has been powered down.</p>
</div>

<a id="dt-85503ea01c9afc607077"></a>

### <code>gpio&#45;reserved&#45;ranges</code> — not listed as required here

<div id="dt-c6194f0b86c280a8efcd">
<p style="white-space: pre-wrap">Pins can be reserved for trusted applications and thereby unaccessible from the OS.  This property can be used to mark the pins which resources should not be accessed by the OS. Please see the ../gpio/gpio.txt for more information.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>pinctrl&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinctrl.md#dt-root>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;gpio&#45;ranges&#34;</code></span>

<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.

<a id="dt-7fcd144dee0d1b44122a"></a>

## Reusable definitions (<code>&#36;defs</code>)

<a id="dt-7a61494cfa3f30f37166"></a>

### <code>qcom&#45;tlmm&#45;state</code>

<a id="dt-67ac6abb6dd9161a60d0"></a>

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

<a id="dt-55210cc39a7ee724ec4c"></a>

**<code>drive&#45;strength</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-9873b3fb7067b00b3fd1"></a> <span id="dt-ed4cbec21a53e880b29a"><code>2</code></span>, <span id="dt-7b77eac050f55e0c2063"><code>4</code></span>, <span id="dt-dd21e5f6097784065b74"><code>6</code></span>, <span id="dt-f6659126011a8546215d"><code>8</code></span>, <span id="dt-b9dc3f41e4ca81b2553e"><code>10</code></span>, <span id="dt-af6d42ae751dd12f8605"><code>12</code></span>, <span id="dt-d4104fcc1bf5c821fae7"><code>14</code></span>, <span id="dt-c9fa5fb131bc8c9bc087"><code>16</code></span>

<div id="dt-d427ffc5d52604f5d26b">
<p style="white-space: pre-wrap">Selects the drive strength for the specified pins, in mA.</p>
</div>

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

**<code>bias&#45;pull&#45;down</code> — not listed as required here**

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

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

**<code>bias&#45;pull&#45;up</code> — not listed as required here**

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

<a id="dt-578f92f699fb55fc7f12"></a>

**<code>bias&#45;disable</code> — not listed as required here**

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

<a id="dt-74a39b9818b35cdbb22e"></a>

**<code>input&#45;enable</code> — not listed as required here**

<code>false</code> — Not permitted by this property rule.

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

**<code>output&#45;disable</code> — not listed as required here**

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

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

**<code>output&#45;enable</code> — not listed as required here**

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

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

**<code>output&#45;high</code> — not listed as required here**

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

<a id="dt-84782a7c13d4800d2406"></a>

**<code>output&#45;low</code> — not listed as required here**

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

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

#### All of these rules must match (<code>allOf</code>)

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

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0cdf572ac04a8e47aef3">[<code>pincfg&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pincfg-node.md#dt-root>)</span>

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

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ad091f1d0b274de6e257">[<code>pinmux&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinmux-node.md#dt-root>)</span>

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

**Rule 3**

> <a id="dt-dc0cbb7aeae5ade6c6ab"></a>
>
> **Condition (<code>if</code>)**
>
> > <a id="dt-77a94e445ce874d7aa48"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f088403ab7f34681d110"></a>
> >
> > **<code>pins</code> — not listed as required here**
> >
> > <a id="dt-cebde2641048f1240256"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **String pattern (<code>pattern</code>):** <span id="dt-59a08a081c745f7a26a8"><code>&#34;&#94;gpio&#34;</code></span>
>
> <a id="dt-0a4602e3e7aea03df0d2"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-ad9d27a241dab9542fb9"></a> <span id="dt-19c11f4f4bb0b8e42285"><code>&#34;function&#34;</code></span>
>
> <a id="dt-9918972672590a182fd1"></a>
>
> **When the condition does not match (<code>else</code>)**
>
> > <a id="dt-9da1f004dcda65d3d104"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e572edd4e59e9bf242de"></a>
> >
> > **<code>function</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-c8f67c58419b262da1d5"></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-only OR BSD-2-Clause)</span></p>

</details>
