/linux/drivers/iio/pressure/ |
H A 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 14 sensors. 20 tristate "ROHM BM1390GLV-Z pressure sensor driver" 26 Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z 32 tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver" 41 and BMP580 pressure and temperature sensors. Also supports the BME280 with [all …]
|
H A 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 …]
|
H A 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 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) 63 * @scale: pressure scale [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | dlhl60d.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * All Sensors DLH series low voltage digital pressure sensors 8 * Datasheet: https://www.allsensors.com/cad/DS-0355_Rev_B.PDF 69 ret = i2c_smbus_write_byte(st->client, DLH_START_SINGLE); in dlh_cmd_start_single() 71 dev_err(&st->client->dev, in dlh_cmd_start_single() 81 ret = i2c_master_recv(st->client, st->rx_buf, DLH_NUM_READ_BYTES); in dlh_cmd_read_data() 83 dev_err(&st->client->dev, in dlh_cmd_read_data() 88 if (st->rx_buf[0] != DLH_STATUS_OK) { in dlh_cmd_read_data() 89 dev_err(&st->client->dev, in dlh_cmd_read_data() 90 "%s: invalid status 0x%02x\n", __func__, st->rx_buf[0]); in dlh_cmd_read_data() [all …]
|
H A 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 …]
|
H A D | hsc030pa.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… 36 * HSC_PRESSURE_TRIPLET_LEN - length for the string that defines the 37 * pressure range, measurement unit and type as per the part nomenclature. 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 [all …]
|
H A D | mpl115_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Freescale MPL115A2 pressure/temperature sensor 7 * (7-bit I2C slave address 0x60) 9 * Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MPL115A2.pdf 41 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA)) in mpl115_i2c_probe() 42 return -EOPNOTSUPP; in mpl115_i2c_probe() 44 return mpl115_probe(&client->dev, id->name, &mpl115_i2c_ops); in mpl115_i2c_probe() 64 MODULE_DESCRIPTION("Freescale MPL115A2 pressure/temperature driver");
|
H A D | mpl115_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Freescale MPL115A1 pressure/temperature sensor 7 * Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MPL115A1.pdf 30 return -ENOMEM; in mpl115_spi_init() 42 .tx_buf = buf->tx, in mpl115_spi_read() 43 .rx_buf = buf->rx, in mpl115_spi_read() 48 buf->tx[0] = MPL115_SPI_READ(address); in mpl115_spi_read() 49 buf->tx[2] = MPL115_SPI_READ(address + 1); in mpl115_spi_read() 55 return (buf->rx[1] << 8) | buf->rx[3]; in mpl115_spi_read() 63 .tx_buf = buf->tx, in mpl115_spi_write() [all …]
|
H A D | sdp500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for Sensirion sdp500 and sdp510 pressure sensors 28 struct i2c_client *client = to_i2c_client(data->dev); in sdp500_start_measurement() 49 struct i2c_client *client = to_i2c_client(data->dev); in sdp500_read_raw() 55 dev_err(data->dev, "Failed to receive data"); in sdp500_read_raw() 59 dev_err(data->dev, "Data is received wrongly"); in sdp500_read_raw() 60 return -EIO; in sdp500_read_raw() 65 sizeof(rxbuf) - 1, 0x00); in sdp500_read_raw() 67 dev_err(data->dev, in sdp500_read_raw() 70 return -EIO; in sdp500_read_raw() [all …]
|
/linux/Documentation/devicetree/bindings/iio/pressure/ |
H A 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 13 These sensors have either an I2C, an SPI or an analog interface. Only the 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 [all …]
|
H A D | asc,dlhl60d.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/pressure/asc,dlhl60d.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: All Sensors DLH series low voltage digital pressure sensors 10 - Jonathan Cameron <jic23@kernel.org> 13 Bindings for the All Sensors DLH series pressure sensors. 15 Specifications about the sensors can be found at: 16 https://www.allsensors.com/cad/DS-0355_Rev_B.PDF 21 - asc,dlhl60d [all …]
|
H A 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. 18 There are many models with different pressure ranges available. The vendor 20 differ in the pressure range, unit and transfer function. [all …]
|
H A D | meas,ms5611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/pressure/meas,ms5611.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Measurement Specialities ms5611 and similar pressure sensors 10 - Tomasz Duszynski <tduszyns@gmail.com> 13 Pressure sensors from MEAS Switzerland with SPI and I2C bus interfaces. 18 - meas,ms5607 19 - meas,ms5611 24 vdd-supply: true [all …]
|
H A 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 16 https://www.bosch-sensortec.com/bst/products/all_products/bmp180 17 https://www.bosch-sensortec.com/bst/products/all_products/bmp280 18 https://www.bosch-sensortec.com/bst/products/all_products/bme280 [all …]
|
H A 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/Documentation/hwmon/ |
H A D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 25 ----------- 27 This driver exposes hardware sensors of listed Aquacomputer devices, which 31 virtual temperature sensors, as well as two flow sensors. The fans expose their 35 For the D5 Next pump, available sensors are pump and fan speed, power, voltage 36 and current, as well as coolant temperature and eight virtual temp sensors. Also 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 40 sensors will report zeroes. [all …]
|
/linux/Documentation/devicetree/bindings/ |
H A 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/Documentation/driver-api/iio/ |
H A D | intro.rst | 9 analog-to-digital conversion (ADC) or digital-to-analog conversion (DAC) 12 sensors used to monitor and control the system itself, like fan speed control 25 * color and light sensors 27 * pressure sensors 28 * proximity sensors 29 * temperature sensors 31 Usually these sensors are connected via :doc:`SPI <../spi>` or 32 :doc:`I2C <../i2c>`. A common use case of the sensors devices is to have
|
/linux/include/linux/platform_data/ |
H A D | st_sensors_pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * STMicroelectronics sensors platform-data driver 14 * struct st_sensors_platform_data - Platform data for the ST sensors 16 * Available only for accelerometer, magnetometer and pressure sensors. 20 * @spi_3wire: enable spi-3wire mode.
|
/linux/drivers/iio/humidity/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 menu "Humidity sensors" 20 tristate "DHT11 (and compatible sensors) driver" 25 Other sensors should work as well as long as they speak the 34 humidity and temperature sensors. 47 humidity and temperature sensors. 57 HDC2010 and HDC2080 relative humidity and temperature sensors. 69 sensors. 85 will be called hid-sensor-humidity. 96 temperature-humidity sensor [all …]
|
/linux/drivers/iio/chemical/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Chemical sensors 6 menu "Chemical Sensors" 20 tristate "Atlas Scientific OEM SM sensors" 28 Atlas Scientific OEM SM sensors: 34 module will be called atlas-ph-sensor. 37 tristate "Atlas Scientific EZO sensors" 41 Atlas Scientific EZO sensors 45 module will be called atlas-ezo-sensor. 55 temperature, pressure, humidity and gas sensing capability. [all …]
|
/linux/Documentation/devicetree/bindings/iio/ |
H A D | st,st-sensors.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/st,st-sensors.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics MEMS sensors 9 description: The STMicroelectronics sensor devices are pretty straight-forward 12 Note that whilst this covers many STMicro MEMs sensors, some more complex 16 - Denis Ciocca <denis.ciocca@st.com> 17 - Linus Walleij <linus.walleij@linaro.org> 22 - description: STMicroelectronics Accelerometers [all …]
|
/linux/drivers/iio/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 drivers for many different types of embedded sensors using a 111 source "drivers/iio/pressure/Kconfig"
|