# Honeywell mprls0025pa pressure sensor

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

> Device-tree binding reference for Honeywell mprls0025pa pressure sensor.

<!-- 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;iio&#47;pressure&#47;honeywell&#44;mprls0025pa&#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;Andreas Klinger &#60;ak&#64;it&#45;klinger&#46;de&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Petre Rodan &#60;petre&#46;rodan&#64;subdimension&#46;ro&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Honeywell pressure sensor of model mprls0025pa.</p>
<p style="white-space: pre-wrap">This sensor has an I2C and SPI interface.</p>
<p style="white-space: pre-wrap">There are many models with different pressure ranges available. The vendor
calls them "mpr series". All of them have the identical programming model and
differ in the pressure range, unit and transfer function.</p>
<p style="white-space: pre-wrap">To support different models one need to specify its pressure triplet as well
as the transfer function.</p>
<p style="white-space: pre-wrap">For custom silicon chips not covered by the Honeywell MPR series datasheet,
the pressure values can be specified manually via honeywell,pmin-pascal and
honeywell,pmax-pascal.
The minimal range value stands for the minimum pressure and the maximum value
also for the maximum pressure with linear relation inside the range.</p>
<p style="white-space: pre-wrap">The transfer function defines the ranges of numerical values delivered by the
sensor.</p>
<pre><code>Specifications about the devices can be found at:
  https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/
    products/sensors/pressure-sensors/board-mount-pressure-sensors/
    micropressure-mpr-series/documents/
    sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf</code></pre>
</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;honeywell&#44;mprls0025pa&#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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Optional interrupt for indicating End-of-conversion. If not present, the driver loops for a while until the received status byte indicates correct measurement.</p>
</div>

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

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

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">Optional GPIO for resetting the device. If not present the device is not reset during the probe.</p>
</div>

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

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

### <code>honeywell&#44;transfer&#45;function</code> — required here

<div id="dt-34b8234ba7fcb208fff5">
<p style="white-space: pre-wrap">Transfer function which defines the range of valid values delivered by the
sensor.
1 - A, 10% to 90% of 2^24 (1677722 .. 15099494)
2 - B, 2.5% to 22.5% of 2^24 (419430 .. 3774874)
3 - C, 20% to 80% of 2^24 (3355443 .. 13421773)</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d6dbd53a40ebc40d9dda"></a> <span id="dt-85d1b6928c05bf30f154"><code>1</code></span>, <span id="dt-bbef1fae1dbba588c336"><code>2</code></span>, <span id="dt-2db46b9cb73ecaf1d9c3"><code>3</code></span>

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

<a id="dt-856983667481a4f8d668"></a>

### <code>honeywell&#44;pressure&#45;triplet</code> — not listed as required here

<div id="dt-e387efffaf9d2dc3d4b0">
<p style="white-space: pre-wrap">Case-sensitive five character string that defines pressure range, unit
and type as part of the device nomenclature. In the unlikely case of a
custom chip, unset and provide pmin-pascal and pmax-pascal instead.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-785eb9b9db17e9bc98de"></a> <span id="dt-3efc89af53e559b2ac28"><code>&#34;0001BA&#34;</code></span>, <span id="dt-85d3ff032a1b62ce2415"><code>&#34;01&#46;6BA&#34;</code></span>, <span id="dt-f74c069e922f61c2d7bc"><code>&#34;02&#46;5BA&#34;</code></span>, <span id="dt-39a211fd63749dd9fb65"><code>&#34;0060MG&#34;</code></span>, <span id="dt-4e11662a903cd7646ac0"><code>&#34;0100MG&#34;</code></span>, <span id="dt-c4eceb3582828f3b3819"><code>&#34;0160MG&#34;</code></span>, <span id="dt-e11676dafb3fd9ba3efd"><code>&#34;0250MG&#34;</code></span>, <span id="dt-8e4876a620051c6206cc"><code>&#34;0400MG&#34;</code></span>, <span id="dt-fa88b42625c3a2110a97"><code>&#34;0600MG&#34;</code></span>, <span id="dt-b16d0874833c750c5413"><code>&#34;0001BG&#34;</code></span>, <span id="dt-9fa34540a65f6b7d2fef"><code>&#34;01&#46;6BG&#34;</code></span>, <span id="dt-01389002da634aaf2e6c"><code>&#34;02&#46;5BG&#34;</code></span>, <span id="dt-83ac95892c6215878acb"><code>&#34;0100KA&#34;</code></span>, <span id="dt-2eaf95ec64b7e8da905b"><code>&#34;0160KA&#34;</code></span>, <span id="dt-fa87149eb570d57c43ad"><code>&#34;0250KA&#34;</code></span>, <span id="dt-825cf0d82b059dbed435"><code>&#34;0006KG&#34;</code></span>, <span id="dt-9dea1cf6c03b7b11897b"><code>&#34;0010KG&#34;</code></span>, <span id="dt-81e78c889f715ababfff"><code>&#34;0016KG&#34;</code></span>, <span id="dt-6c1d8a9a0417ee89ed10"><code>&#34;0025KG&#34;</code></span>, <span id="dt-d9820f6a973f7bc68271"><code>&#34;0040KG&#34;</code></span>, <span id="dt-d1af826da77a532ce49b"><code>&#34;0060KG&#34;</code></span>, <span id="dt-2624b7221f400fbe68b2"><code>&#34;0100KG&#34;</code></span>, <span id="dt-6ebc15515da9727498c3"><code>&#34;0160KG&#34;</code></span>, <span id="dt-a0ebfdda94d8c629f78c"><code>&#34;0250KG&#34;</code></span>, <span id="dt-41d7ccb4437b133c74fb"><code>&#34;0015PA&#34;</code></span>, <span id="dt-95324beab00d1e5fa6a0"><code>&#34;0025PA&#34;</code></span>, <span id="dt-ad1b4b6d5de2e64e24ad"><code>&#34;0030PA&#34;</code></span>, <span id="dt-48e9fcd4dd905348ed2e"><code>&#34;0001PG&#34;</code></span>, <span id="dt-495c12debeb546c3a9bf"><code>&#34;0005PG&#34;</code></span>, <span id="dt-9d71fd6ed852fe2e723f"><code>&#34;0015PG&#34;</code></span>, <span id="dt-5f9e20a18aa0458ba88d"><code>&#34;0030PG&#34;</code></span>, <span id="dt-c12895f04941af779987"><code>&#34;0300YG&#34;</code></span>

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

<a id="dt-8f18481ad88fca1e2f34"></a>

### <code>honeywell&#44;pmin&#45;pascal</code> — not listed as required here

<div id="dt-a32f4447aaacb721005e">
<p style="white-space: pre-wrap">Minimum pressure value the sensor can measure in pascal.</p>
</div>

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

### <code>honeywell&#44;pmax&#45;pascal</code> — not listed as required here

<div id="dt-8f750e25eb89f855ad31">
<p style="white-space: pre-wrap">Maximum pressure value the sensor can measure in pascal.</p>
</div>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>800000</code></span>

<a id="dt-236855bde9eebcc9d904"></a>

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

<div id="dt-bc3e69b335e23d461899">
<p style="white-space: pre-wrap">provide VDD power to the sensor.</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;honeywell&#44;transfer&#45;function&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vdd&#45;supply&#34;</code></span>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

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

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;honeywell&#44;pressure&#45;triplet&#34;</code></span>

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;honeywell&#44;pmin&#45;pascal&#34;</code></span>, <span id="dt-0d1456a102e3541ea6a3"><code>&#34;honeywell&#44;pmax&#45;pascal&#34;</code></span>

<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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-5f135e3db8ef1aa53700"></a> <span id="dt-0164887f025a095456fa"><code>&#34;honeywell&#44;pressure&#45;triplet&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a0d5ed71abc96482ff6b"></a>
> >
> > **<code>honeywell&#44;pmin&#45;pascal</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-66750e05176ce669b69a"></a>
> >
> > **<code>honeywell&#44;pmax&#45;pascal</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    pressure@18 {
        compatible = "honeywell,mprls0025pa";
        reg = &lt;0x18&gt;;
        reset-gpios = &lt;&amp;gpio3 19 GPIO_ACTIVE_HIGH&gt;;
        interrupt-parent = &lt;&amp;gpio3&gt;;
        interrupts = &lt;21 IRQ_TYPE_EDGE_RISING&gt;;

        honeywell,pressure-triplet = "0025PA";
        honeywell,transfer-function = &lt;1&gt;;
        vdd-supply = &lt;&amp;vcc_3v3&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    pressure@0 {
        compatible = "honeywell,mprls0025pa";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;800000&gt;;
        reset-gpios = &lt;&amp;gpio1 28 GPIO_ACTIVE_HIGH&gt;;
        interrupt-parent = &lt;&amp;gpio0&gt;;
        interrupts = &lt;30 IRQ_TYPE_EDGE_RISING&gt;;

        honeywell,pressure-triplet = "0015PA";
        honeywell,transfer-function = &lt;1&gt;;
        vdd-supply = &lt;&amp;vcc_3v3&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>

</details>
