Path: blob/master/Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/pressure/honeywell,hsc030pa.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Honeywell TruStability HSC and SSC pressure sensor series78description: |9support for Honeywell TruStability HSC and SSC digital pressure sensor10series.1112These sensors have either an I2C, an SPI or an analog interface. Only the13digital versions are supported by this driver.1415There are 118 models with different pressure ranges available in each family.16The vendor calls them "HSC series" and "SSC series". All of them have an17identical programming model but differ in pressure range, unit and transfer18function.1920To support different models one needs to specify the pressure range as well21as the transfer function. Pressure range can either be provided via22pressure-triplet (directly extracted from the part number) or in case it's23a custom chip via numerical range limits converted to pascals.2425The transfer function defines the ranges of raw conversion values delivered26by the sensor. pmin-pascal and pmax-pascal corespond to the minimum and27maximum pressure that can be measured.2829Please note that in case of an SPI-based sensor, the clock signal should not30exceed 800kHz and the MOSI signal is not required.3132Specifications about the devices can be found at:33https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/trustability-hsc-series/documents/sps-siot-trustability-hsc-series-high-accuracy-board-mount-pressure-sensors-50099148-a-en-ciid-151133.pdf34https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/trustability-ssc-series/documents/sps-siot-trustability-ssc-series-standard-accuracy-board-mount-pressure-sensors-50099533-a-en-ciid-151134.pdf3536maintainers:37- Petre Rodan <petre.rodan@subdimension.ro>3839properties:40compatible:41const: honeywell,hsc030pa4243reg:44maxItems: 14546honeywell,transfer-function:47description: |48Transfer function which defines the range of valid values delivered by49the sensor.500 - A, 10% to 90% of 2^14511 - B, 5% to 95% of 2^14522 - C, 5% to 85% of 2^14533 - F, 4% to 94% of 2^1454enum: [0, 1, 2, 3]55$ref: /schemas/types.yaml#/definitions/uint325657honeywell,pressure-triplet:58description: |59Case-sensitive five character string that defines pressure range, unit60and type as part of the device nomenclature. In the unlikely case of a61custom chip, set to "NA" and provide pmin-pascal and pmax-pascal.62enum: [001BA, 1.6BA, 2.5BA, 004BA, 006BA, 010BA, 1.6MD, 2.5MD, 004MD,63006MD, 010MD, 016MD, 025MD, 040MD, 060MD, 100MD, 160MD, 250MD,64400MD, 600MD, 001BD, 1.6BD, 2.5BD, 004BD, 2.5MG, 004MG, 006MG,65010MG, 016MG, 025MG, 040MG, 060MG, 100MG, 160MG, 250MG, 400MG,66600MG, 001BG, 1.6BG, 2.5BG, 004BG, 006BG, 010BG, 100KA, 160KA,67250KA, 400KA, 600KA, 001GA, 160LD, 250LD, 400LD, 600LD, 001KD,681.6KD, 2.5KD, 004KD, 006KD, 010KD, 016KD, 025KD, 040KD, 060KD,69100KD, 160KD, 250KD, 400KD, 250LG, 400LG, 600LG, 001KG, 1.6KG,702.5KG, 004KG, 006KG, 010KG, 016KG, 025KG, 040KG, 060KG, 100KG,71160KG, 250KG, 400KG, 600KG, 001GG, 015PA, 030PA, 060PA, 100PA,72150PA, 0.5ND, 001ND, 002ND, 004ND, 005ND, 010ND, 020ND, 030ND,73001PD, 005PD, 015PD, 030PD, 060PD, 001NG, 002NG, 004NG, 005NG,74010NG, 020NG, 030NG, 001PG, 005PG, 015PG, 030PG, 060PG, 100PG,75150PG, NA]76$ref: /schemas/types.yaml#/definitions/string7778honeywell,pmin-pascal:79description: |80Minimum pressure value the sensor can measure in pascal.81To be specified only if honeywell,pressure-triplet is set to "NA".8283honeywell,pmax-pascal:84description: |85Maximum pressure value the sensor can measure in pascal.86To be specified only if honeywell,pressure-triplet is set to "NA".8788vdd-supply:89description:90Provide VDD power to the sensor (either 3.3V or 5V depending on the chip)9192spi-max-frequency:93maximum: 8000009495required:96- compatible97- reg98- honeywell,transfer-function99- honeywell,pressure-triplet100101allOf:102- $ref: /schemas/spi/spi-peripheral-props.yaml103104unevaluatedProperties: false105106dependentSchemas:107honeywell,pmin-pascal:108properties:109honeywell,pressure-triplet:110const: NA111honeywell,pmax-pascal:112properties:113honeywell,pressure-triplet:114const: NA115116examples:117- |118i2c {119#address-cells = <1>;120#size-cells = <0>;121122pressure@28 {123compatible = "honeywell,hsc030pa";124reg = <0x28>;125honeywell,transfer-function = <0>;126honeywell,pressure-triplet = "030PA";127};128};129- |130spi {131#address-cells = <1>;132#size-cells = <0>;133134pressure@0 {135compatible = "honeywell,hsc030pa";136reg = <0>;137spi-max-frequency = <800000>;138honeywell,transfer-function = <0>;139honeywell,pressure-triplet = "NA";140honeywell,pmin-pascal = <0>;141honeywell,pmax-pascal = <200000>;142};143};144...145146147