# Samsung S3C/S5P/Exynos SoC pin controller - pins configuration

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

> Device-tree binding reference for Samsung S3C/S5P/Exynos SoC pin controller - pins configuration.

<!-- 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;samsung&#44;pinctrl&#45;pins&#45;cfg&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Tomasz Figa &#60;tomasz&#46;figa&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
controller.</p>
<p style="white-space: pre-wrap">Pins configuration for Samsung S3C/S5P/Exynos SoC pin controller.</p>
<p style="white-space: pre-wrap">The values used for config properties should be derived from the hardware
manual and these values are programmed as-is into the pin pull up/down and
driver strength register of the pin-controller.</p>
<p style="white-space: pre-wrap">See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for
additional information and example.</p>
</div>

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

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

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

### <code>samsung&#44;pins</code> — required here

<div id="dt-0d90b1a88b8ace44cd21">
<p style="white-space: pre-wrap">List of pins to configure. For initial and sleep states, the maximum
number is one pin. In other cases there is no upper limit.</p>
<p style="white-space: pre-wrap">The pins should use lowercase names matching hardware manual, e.g. for
GPA0 bank: gpa0-0, gpa0-1, gpa0-2.</p>
</div>

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

<a id="dt-08172bcd3b6e77c6b271"></a>

### <code>samsung&#44;pin&#45;function</code> — not listed as required here

<div id="dt-1ccf6e2880ec5bee69dc">
<p style="white-space: pre-wrap">The pin function selection that should be applied on the pins listed in the
child node is specified using the "samsung,pin-function" property. The value
of this property that should be applied to each of the pins listed in the
"samsung,pins" property should be picked from the hardware manual of the SoC
for the specified pin group. This property is optional in the child node if
no specific function selection is desired for the pins listed in the child
node. The value of this property is used as-is to program the pin-controller
function selector register of the pin-bank.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-4afb7839cb4b391f4de5"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-72507b9a3f6cb2bc7b71"><code>15</code></span>

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

### <code>samsung&#44;pin&#45;drv</code> — not listed as required here

<div id="dt-a3474d57e68bd67ef3eb">
<p style="white-space: pre-wrap">Drive strength configuration.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-e453e3b532b6c8cc590a"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5d5688fb046e40e2dd66"><code>15</code></span>

<a id="dt-448d43f706cef787400b"></a>

### <code>samsung&#44;pin&#45;pud</code> — not listed as required here

<div id="dt-d7f410b17609366a3d75">
<p style="white-space: pre-wrap">Pull up/down configuration.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-a3755ffbde0fc69bb4f5"></a> <span id="dt-3946cc6faacb2ae3b4a7"><code>0</code></span>, <span id="dt-49a8e923d29ea1af3417"><code>1</code></span>, <span id="dt-6af3aaccd83c6acf8ade"><code>2</code></span>, <span id="dt-c1cec0b6c1a810d0bd71"><code>3</code></span>

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

### <code>samsung&#44;pin&#45;val</code> — not listed as required here

<div id="dt-0db0a97d83b5ffc92b91">
<p style="white-space: pre-wrap">Initial value of pin output buffer.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-36ec97bea90dda2506ab"></a> <span id="dt-ab459aa308a9aa7eb34c"><code>0</code></span>, <span id="dt-9d852f17505bfd3d8464"><code>1</code></span>

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

### <code>samsung&#44;pin&#45;con&#45;pdn</code> — not listed as required here

<div id="dt-990c0f6d37c97e0978dc">
<p style="white-space: pre-wrap">Function in power down mode.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-7cb84d1118511992a6ac"></a> <span id="dt-c9b97d0aca592be41340"><code>0</code></span>, <span id="dt-a6e18d68053975084498"><code>1</code></span>, <span id="dt-772414fc604321b3044a"><code>2</code></span>, <span id="dt-5dde75d2a4f4eaf3e536"><code>3</code></span>

<a id="dt-4ed4de0d339ffaa26843"></a>

### <code>samsung&#44;pin&#45;pud&#45;pdn</code> — not listed as required here

<div id="dt-ccf2d4d266579cc6b66f">
<p style="white-space: pre-wrap">Pull up/down configuration in power down mode.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-80321a2ae52d0ce5d390"></a> <span id="dt-6eeae1bedf760bc16669"><code>0</code></span>, <span id="dt-f43a01ccbfbaa36a4a16"><code>1</code></span>, <span id="dt-04182c64ed682143a7ff"><code>2</code></span>, <span id="dt-b825b25c6e084872bf3d"><code>3</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;samsung&#44;pins&#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.

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