Lines Matching +full:pressure +full:- +full:triplet
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/pressure/honeywell,mprls0025pa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Honeywell mprls0025pa pressure sensor
10 - Andreas Klinger <ak@it-klinger.de>
11 - Petre Rodan <petre.rodan@subdimension.ro>
14 Honeywell pressure sensor of model mprls0025pa.
18 There are many models with different pressure ranges available. The vendor
20 differ in the pressure range, unit and transfer function.
22 To support different models one need to specify its pressure triplet as well
26 the pressure values can be specified manually via honeywell,pmin-pascal and
27 honeywell,pmax-pascal.
28 The minimal range value stands for the minimum pressure and the maximum value
29 also for the maximum pressure with linear relation inside the range.
35 https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/
36 products/sensors/pressure-sensors/board-mount-pressure-sensors/
37 micropressure-mpr-series/documents/
38 sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf
49 Optional interrupt for indicating End-of-conversion.
54 reset-gpios:
60 honeywell,transfer-function:
64 1 - A, 10% to 90% of 2^24 (1677722 .. 15099494)
65 2 - B, 2.5% to 22.5% of 2^24 (419430 .. 3774874)
66 3 - C, 20% to 80% of 2^24 (3355443 .. 13421773)
70 honeywell,pressure-triplet:
72 Case-sensitive five character string that defines pressure range, unit
74 custom chip, unset and provide pmin-pascal and pmax-pascal instead.
81 honeywell,pmin-pascal:
83 Minimum pressure value the sensor can measure in pascal.
85 honeywell,pmax-pascal:
87 Maximum pressure value the sensor can measure in pascal.
89 spi-max-frequency:
92 vdd-supply:
96 - compatible
97 - reg
98 - honeywell,transfer-function
99 - vdd-supply
102 - required:
103 - honeywell,pressure-triplet
104 - required:
105 - honeywell,pmin-pascal
106 - honeywell,pmax-pascal
109 - $ref: /schemas/spi/spi-peripheral-props.yaml
110 - if:
112 - honeywell,pressure-triplet
115 honeywell,pmin-pascal: false
116 honeywell,pmax-pascal: false
121 - |
122 #include <dt-bindings/gpio/gpio.h>
123 #include <dt-bindings/interrupt-controller/irq.h>
125 #address-cells = <1>;
126 #size-cells = <0>;
128 pressure@18 {
131 reset-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
132 interrupt-parent = <&gpio3>;
135 honeywell,pressure-triplet = "0025PA";
136 honeywell,transfer-function = <1>;
137 vdd-supply = <&vcc_3v3>;
140 - |
142 #address-cells = <1>;
143 #size-cells = <0>;
145 pressure@0 {
148 spi-max-frequency = <800000>;
149 reset-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
150 interrupt-parent = <&gpio0>;
153 honeywell,pressure-triplet = "0015PA";
154 honeywell,transfer-function = <1>;
155 vdd-supply = <&vcc_3v3>;