# Integrated Proximity Sensor With Infrared Emitter

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Industrial I/O bindings / proximity_

> Device-tree binding reference for Integrated Proximity Sensor With Infrared Emitter.

<!-- 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;proximity&#47;vishay&#44;vcnl3020&#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;Ivan Mikhaylov &#60;i&#46;mikhaylov&#64;yadro&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The VCNL3020 is a fully integrated proximity sensor. Fully integrated means
that the infrared emitter is included in the package. It has 16-bit
resolution. It includes a signal processing IC and features standard I2C
communication interface. It features an interrupt function.</p>
<p style="white-space: pre-wrap">Specifications about the devices can be found at:
https://www.vishay.com/docs/84150/vcnl3020.pdf</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;vishay&#44;vcnl3020&#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-236855bde9eebcc9d904"></a>

### <code>vdd&#45;supply</code> — not listed as required here

<div id="dt-bc3e69b335e23d461899">
<p style="white-space: pre-wrap">Regulator that provides power to the sensor</p>
</div>

<a id="dt-78ea9f736d3e6cab7ae5"></a>

### <code>vddio&#45;supply</code> — not listed as required here

<div id="dt-ba263ef99f73e8ce56fb">
<p style="white-space: pre-wrap">Regulator that provides power to the bus</p>
</div>

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

### <code>vishay&#44;led&#45;current&#45;microamp</code> — not listed as required here

<div id="dt-977698dd029609d9bfd5">
<p style="white-space: pre-wrap">The driver current for the LED used in proximity sensing.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-087dc47e93b85fc46d94"></a> <span id="dt-8043f8f7388241b0a277"><code>0</code></span>, <span id="dt-a04f4a6d23d3b75412a8"><code>10000</code></span>, <span id="dt-a990d715069115c5ce17"><code>20000</code></span>, <span id="dt-d32cc73e7afb4d68b6b4"><code>30000</code></span>, <span id="dt-36d9f957a8a5587d35c9"><code>40000</code></span>, <span id="dt-b353cc4c06abac60989f"><code>50000</code></span>, <span id="dt-d0b1f43f3e8c54ff0970"><code>60000</code></span>, <span id="dt-417550b492a4db481388"><code>70000</code></span>, <span id="dt-513190a0dbcdcbc3c336"><code>80000</code></span>, <span id="dt-27151010495826e57717"><code>90000</code></span>, <span id="dt-ad4a944c4b5bb55f1774"><code>100000</code></span>, <span id="dt-592d434146e094aed72b"><code>110000</code></span>, <span id="dt-8a02cf1cb6e759c7c6de"><code>120000</code></span>, <span id="dt-43e07c5fad19737e707c"><code>130000</code></span>, <span id="dt-174e00a7581336071d05"><code>140000</code></span>, <span id="dt-56056836c11c82a85e90"><code>150000</code></span>, <span id="dt-c2f07129f8ff374d5783"><code>160000</code></span>, <span id="dt-d4ffef8ab04e464ffbb6"><code>170000</code></span>, <span id="dt-45880f9477c88ff3cb21"><code>180000</code></span>, <span id="dt-d041d79c0f1c35cb3364"><code>190000</code></span>, <span id="dt-7bfd4b16bd22ade4ace0"><code>200000</code></span>

**Default value (<code>default</code>):** <span id="dt-6ea3e77111aa7f9ffb3e"><code>20000</code></span>

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

<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">i2c {

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    proximity@13 {
          compatible = "vishay,vcnl3020";
          reg = &lt;0x13&gt;;
          vishay,led-current-microamp = &lt;200000&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>
