/linux-6.12.1/drivers/iio/pressure/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Pressure drivers 7 menu "Pressure sensors" 10 tristate "Honeywell ABP pressure sensor driver" 13 Say yes here to build support for the Honeywell ABP pressure 20 tristate "ROHM BM1390GLV-Z pressure sensor driver" 26 Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z 29 sensor does also provide temperature measurements. 32 tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver" 41 and BMP580 pressure and temperature sensors. Also supports the BME280 with [all …]
|
D | mprls0025pa.c | 1 // 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> 8 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo… 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 …]
|
D | mprls0025pa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver 5 * Copyright (c) Andreas Klinger <ak@it-klinger.de> 8 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo… 39 * @pres: pressure value 56 * @ops: functions that implement the sensor reads/writes, bus init 58 * @pmin: minimal pressure in pascal 59 * @pmax: maximal pressure in pascal 61 * @outmin: minimum raw pressure in counts (based on transfer function) 62 * @outmax: maximum raw pressure in counts (based on transfer function) [all …]
|
D | hp03.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Driver for Hope RF HP03 digital temperature and pressure sensor. 19 * The HP03 sensor occupies two fixed I2C addresses: 20 * 0x50 ... read-only EEPROM with calibration data 21 * 0x77 ... read-write ADC for pressure and temperature 43 s32 pressure; /* kPa */ member 85 ret = i2c_smbus_write_byte_data(priv->client, HP03_ADC_WRITE_REG, reg); in hp03_get_temp_pressure() 91 return i2c_smbus_read_word_data(priv->client, HP03_ADC_READ_REG); in hp03_get_temp_pressure() 96 struct device *dev = &priv->client->dev; in hp03_update_temp_pressure() 103 ret = regmap_bulk_read(priv->eeprom_regmap, HP03_EEPROM_CX_OFFSET, in hp03_update_temp_pressure() [all …]
|
D | st_pressure_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * About determining pressure scaling factors 24 * ------------------------------------------ 26 * Datasheets specify typical pressure sensitivity so that pressure is computed 28 * pressure[mBar] = raw / sensitivity 30 * raw the 24 bits long raw sampled pressure 33 * IIO ABI expects pressure to be expressed as kPascal, hence pressure should be 35 * pressure[kPascal] = pressure[mBar] / 10 38 * Finally, st_press_read_raw() returns pressure scaling factor as an 45 * --------------------------------------------------------- [all …]
|
D | hsc030pa_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Honeywell TruStability HSC Series pressure/temperature sensor 7 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo… 8 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/co… 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() [all …]
|
D | hsc030pa_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Honeywell TruStability HSC Series pressure/temperature sensor 7 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/co… 8 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/co… 25 struct spi_device *spi = to_spi_device(data->dev); in hsc_spi_recv() 28 return spi_read(spi, data->buffer, HSC_REG_MEASUREMENT_RD_SIZE); in hsc_spi_recv() 33 return hsc_common_probe(&spi->dev, hsc_spi_recv); in hsc_spi_probe() 59 MODULE_DESCRIPTION("Honeywell HSC and SSC pressure sensor spi driver");
|
D | mprls0025pa_i2c.c | 1 // 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> 8 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo… 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 …]
|
D | hsc030pa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Honeywell TruStability HSC Series pressure/temperature sensor 34 * @pmin: minimum measurable pressure limit 35 * @pmax: maximum measurable pressure limit 36 * @outmin: minimum raw pressure in counts (based on transfer function) 37 * @outmax: maximum raw pressure in counts (based on transfer function) 39 * @p_scale: pressure scale 40 * @p_scale_dec: pressure scale, decimal places 41 * @p_offset: pressure offset 42 * @p_offset_dec: pressure offset, decimal places
|
D | rohm-bm1390.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * BM1390 ROHM pressure sensor 6 * https://fscdn.rohm.com/en/products/databook/datasheet/ic/sensor/pressure/bm1390glv-z-e.pdf 39 * Data-sheet states that when the IIR is used, the AVE_NUM must be set to 139 u32 pressure; member 144 /* BM1390 has FIFO for 4 pressure samples */ 158 /* Prevent accessing sensor during FIFO read sequence */ 200 * We can't skip reading the pressure because the watermark IRQ is acked 201 * only when the pressure data is read from the FIFO. 214 ret = regmap_bulk_read(data->regmap, BM1390_REG_TEMP_HI, &temp_raw, in bm1390_read_temp() [all …]
|
D | dps310.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * The DPS310 is a barometric pressure and temperature sensor. 14 * - Optionally support the FIFO 118 /* Read all sensor calibration coefficients from the COEF registers. */ in dps310_get_coefs() 119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs() 126 * numbers are 12-bit 2's complement numbers. in dps310_get_coefs() 129 data->c0 = sign_extend32(c0, 11); in dps310_get_coefs() 132 data->c1 = sign_extend32(c1, 11); in dps310_get_coefs() 135 * Calculate pressure calibration coefficients. c00 and c10 are 20 bit in dps310_get_coefs() 140 data->c00 = sign_extend32(c00, 19); in dps310_get_coefs() [all …]
|
D | mprls0025pa_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MPRLS0025PA - Honeywell MicroPressure MPR series SPI sensor driver 8 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo… 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() [all …]
|
D | bmp280-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Driver for Bosch Sensortec BMP180 and BMP280 digital pressure sensor. 12 * https://cdn-shop.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf 13 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp280-ds001.pdf 14 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf 15 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp388-ds001.pdf 16 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp390-ds002.pdf 17 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp581-ds004.pdf 21 * - Changed document referral from ANP015 to BST-MPS-AN004-00 on page 26 22 * - Updated equation for B3 param on section 3.5 to ((((long)AC1 * 4 + X3) << oss) + 2) / 4 [all …]
|
D | t5403.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * t5403.c - Support for EPCOS T5403 pressure/temperature sensor 7 * (7-bit I2C slave address 0x77) 9 * TODO: end-of-conversion irq 25 #define T5403_PT BIT(1) /* 0 .. pressure, 1 .. temperature measurement */ 45 #define T5403_C_U16(i) le16_to_cpu(data->c[(i) - 1]) 48 static int t5403_read(struct t5403_data *data, bool pressure) in t5403_read() argument 52 int ret = i2c_smbus_write_byte_data(data->client, T5403_COMMAND, in t5403_read() 53 (pressure ? (data->mode << T5403_MODE_SHIFT) : T5403_PT) | in t5403_read() 58 wait_time += pressure ? t5403_pressure_conv_ms[data->mode] : 2; in t5403_read() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/pressure/ |
D | honeywell,mprls0025pa.yaml | 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. 16 This sensor has an I2C and SPI interface. 18 There are many models with different pressure ranges available. The vendor [all …]
|
D | honeywell,hsc030pa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/pressure/honeywell,hsc030pa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Honeywell TruStability HSC and SSC pressure sensor series 10 support for Honeywell TruStability HSC and SSC digital pressure sensor 16 There are 118 models with different pressure ranges available in each family. 18 identical programming model but differ in pressure range, unit and transfer 21 To support different models one needs to specify the pressure range as well 22 as the transfer function. Pressure range can either be provided via [all …]
|
D | rohm,bm1390.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/iio/pressure/rohm,bm1390.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ROHM BM1390 pressure sensor 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BM1390GLV-Z is a pressure sensor which performs internal temperature 14 compensation for the MEMS. Pressure range is from 300 hPa to 1300 hPa 20 const: rohm,bm1390glv-z 28 vdd-supply: true [all …]
|
D | murata,zpa2326.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/pressure/murata,zpa2326.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Murata ZPA2326 pressure sensor 10 - Jonathan Cameron <jic23@kernel.org> 13 Pressure sensor from Murata with SPI and I2C bus interfaces. 23 vdd-supply: true 24 vref-supply: true 29 spi-max-frequency: [all …]
|
D | sensirion,sdp500.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/pressure/sensirion,sdp500.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: sdp500/sdp510 pressure sensor with I2C bus interface 10 - Petar Stoykov <petar.stoykov@prodrive-technologies.com> 13 Pressure sensor from Sensirion with I2C bus interface. 19 - items: 20 - const: sensirion,sdp510 21 - const: sensirion,sdp500 [all …]
|
D | bmp085.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/pressure/bmp085.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: BMP085/BMP180/BMP280/BME280/BMP380 pressure iio sensors 10 - Andreas Klinger <ak@it-klinger.de> 13 Pressure, temperature and humidity iio sensors with i2c and spi interfaces 15 Specifications about the sensor can be found at: 16 https://www.bosch-sensortec.com/bst/products/all_products/bmp180 17 https://www.bosch-sensortec.com/bst/products/all_products/bmp280 [all …]
|
D | hoperf,hp03.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/pressure/hoperf,hp03.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HopeRF HP03 digital pressure/temperature sensors 10 - Marek Vasut <marex@denx.de> 13 Digital pressure and temperature sensor with an I2C interface. 22 xclr-gpios: 30 - compatible 31 - reg [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/ |
D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 27 spi-max-frequency: true 32 - enum: 34 - acbel,fsg032 35 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 36 - ad,ad7414 # Deprecated, use adi,ad7414 [all …]
|
/linux-6.12.1/drivers/iio/common/ms_sensors/ |
D | ms_sensors_i2c.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Measurements Specialties common sensor driver 5 * Copyright (c) 2015 Measurement-Specialties 17 * struct ms_ht_dev - Humidity/Temperature sensor device structure 20 * @res_index: index to selected sensor resolution 29 * struct ms_hw_data - Temperature/Pressure sensor hardware data 31 * @max_res_index: maximum sensor resolution index 39 * struct ms_tp_dev - Temperature/Pressure sensor device structure 44 * @res_index: index to selected sensor resolution 72 unsigned int *pressure);
|
/linux-6.12.1/drivers/iio/chemical/ |
D | scd30.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 /* start continuous measurement with pressure compensation */ 33 /* reset sensor */ 38 * pressure above the sea level as an argument. 61 * no way to retrieve current ambient pressure compensation value from 62 * the sensor so keep one around
|
/linux-6.12.1/Documentation/hwmon/ |
D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 14 * Aquacomputer High Flow Next sensor 25 ----------- 37 available through debugfs are the serial number, firmware version and power-on 39 temperature curves directly from the pump. If it's not connected, the fan-related 48 The Octo exposes four physical and sixteen virtual temperature sensors, a flow sensor 50 and current. Flow sensor pulses are also available. 53 sensor and four PWM controllable fans, along with their speed (in RPM), power, 54 voltage and current. Flow sensor pulses are also available. [all …]
|