Home
last modified time | relevance | path

Searched +full:prod +full:- +full:edam (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/iio/pressure/
H A Dhsc030pa_i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
7prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
8prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
25 struct i2c_client *client = to_i2c_client(data->dev); in hsc_i2c_recv()
31 msg.addr = client->addr; in hsc_i2c_recv()
32 msg.flags = client->flags | I2C_M_RD; in hsc_i2c_recv()
34 msg.buf = data->buffer; in hsc_i2c_recv()
36 ret = i2c_transfer(client->adapter, &msg, 1); in hsc_i2c_recv()
43 if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) in hsc_i2c_probe()
44 return -EOPNOTSUPP; in hsc_i2c_probe()
[all …]
H A Dmprls0025pa_i2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
5 * Copyright (c) Andreas Klinger <ak@it-klinger.de>
8prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
28 struct i2c_client *client = to_i2c_client(data->dev); in mpr_i2c_read()
31 return -EOVERFLOW; in mpr_i2c_read()
33 memset(data->buffer, 0, MPR_MEASUREMENT_RD_SIZE); in mpr_i2c_read()
34 ret = i2c_master_recv(client, data->buffer, cnt); in mpr_i2c_read()
38 return -EIO; in mpr_i2c_read()
46 struct i2c_client *client = to_i2c_client(data->dev); in mpr_i2c_write()
[all …]
H A Dmprls0025pa_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * MPRLS0025PA - Honeywell MicroPressure MPR series SPI sensor driver
8prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
32 return -ENOMEM; in mpr_spi_init()
41 struct spi_device *spi = to_spi_device(data->dev); in mpr_spi_xfer()
46 return -EOVERFLOW; in mpr_spi_xfer()
48 buf->tx[0] = cmd; in mpr_spi_xfer()
49 xfer.tx_buf = buf->tx; in mpr_spi_xfer()
50 xfer.rx_buf = data->buffer; in mpr_spi_xfer()
64 return mpr_common_probe(&spi->dev, &mpr_spi_ops, spi->irq); in mpr_spi_probe()
H A Dmprls0025pa.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
5 * Copyright (c) Andreas Klinger <ak@it-klinger.de>
8prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
H A Dmprls0025pa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
5 * Copyright (c) Andreas Klinger <ak@it-klinger.de>
8prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
45 * pressure = (press_cnt - outputmin) * scale + pmin
47 * * pressure - measured pressure in Pascal
48 * * press_cnt - raw value read from sensor
49 * * pmin - minimum pressure range value of sensor (data->pmin)
50 * * pmax - maximum pressure range value of sensor (data->pmax)
51 * * outputmin - minimum numerical range raw value delivered by sensor
[all …]
H A Dhsc030pa.c1 // SPDX-License-Identifier: GPL-2.0-only
7prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
36 * HSC_PRESSURE_TRIPLET_LEN - length for the string that defines the
38 * Consult honeywell,pressure-triplet in the bindings file for details.
51 * function A: 10% - 90% of 2^14
52 * function B: 5% - 95% of 2^14
53 * function C: 5% - 85% of 2^14
54 * function F: 4% - 94% of 2^14
140 * struct hsc_range_config - list of pressure ranges based on nomenclature
157 [HSC1_6MD] = { .pmin = -160, .pmax = 160 },
[all …]
/linux/Documentation/devicetree/bindings/iio/pressure/
H A Dhoneywell,hsc030pa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
23 pressure-triplet (directly extracted from the part number) or in case it's
27 by the sensor. pmin-pascal and pmax-pascal corespond to the minimum and
30 Please note that in case of an SPI-based sensor, the clock signal should not
34prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
35prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensor…
38 - Petre Rodan <petre.rodan@subdimension.ro>
47 honeywell,transfer-function:
[all …]
H A Dhoneywell,mprls0025pa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
11 - Petre Rodan <petre.rodan@subdimension.ro>
26 the pressure values can be specified manually via honeywell,pmin-pascal and
27 honeywell,pmax-pascal.
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/
[all …]