/openbmc/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 "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver" 27 and BMP580 pressure and temperature sensors. Also supports the BME280 with 31 will be called bmp280 and you will also get bmp280-i2c for I2C 32 and/or bmp280-spi for SPI support. [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 * https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/ 9 * products/sensors/pressure-sensors/board-mount-pressure-sensors/ 10 * micropressure-mpr-series/documents/ 11 * sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf 13 * 7-bit I2C default slave address: 0x18 46 * pressure = (press_cnt - outputmin) * scale + pmin 48 * * pressure - measured pressure in Pascal [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 | 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 …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/ |
H A D | Value.interface.yaml | 3 must be instantiated in the correct hierarchy within the sensors 13 pressure 19 org.freedesktop.DBus.ObjectManager on /xyz/openbmc_project/sensors. 21 All Sensor.Value properties are read-only. 24 - name: Value 28 - name: MaxValue 33 - name: MinValue 35 default: -infinity 38 - name: Unit 48 be "Watts". For objects in the pressure namespace, Unit must be [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/pressure/ |
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> 13 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 the pressure range as well as [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 …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 23 ----------- 25 This driver exposes hardware sensors of listed Aquacomputer devices, which 29 virtual temperature sensors, as well as two flow sensors. The fans expose their 33 For the D5 Next pump, available sensors are pump and fan speed, power, voltage 34 and current, as well as coolant temperature and eight virtual temp sensors. Also 35 available through debugfs are the serial number, firmware version and power-on 37 temperature curves directly from the pump. If it's not connected, the fan-related 38 sensors will report zeroes. [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Sensor.v1_11_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 49 …obtained by applying a calculation on one or more properties or multiple sensors. The calculation… 56 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… 58 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 88 …operties contained in this object shall conform to the Redfish Specification-described requirement… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Sensor.v1_11_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 49 …obtained by applying a calculation on one or more properties or multiple sensors. The calculation… 56 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… 58 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 88 …operties contained in this object shall conform to the Redfish Specification-described requirement… [all …]
|
H A D | Control.v1_7_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 57 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 66 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" [all …]
|
/openbmc/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 31 - enum: 33 - acbel,fsg032 34 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 35 - ad,ad7414 [all …]
|
/openbmc/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
|
/openbmc/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.
|
/openbmc/dbus-sensors/src/hwmon-temp/ |
H A D | HwmonTempMain.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 29 #include <phosphor-logging/lg2.hpp> 30 #include <phosphor-logging/lg2/flags.hpp> 63 static constexpr double minValueTemperature = -128; // DegreesC 107 // https://lore.kernel.org/linux-iio/5c79425f-6e88-36b6-cdfe-4080738d039f@metafoo.de/ in getSensorParameters() 116 // For IIO RAW sensors we get a raw_value, an offset, and scale in getSensorParameters() 121 // units that have yet to be scaled for D-Bus. in getSensorParameters() 126 pathStr.substr(0, pathStr.size() - 4) + "_offset"; in getSensorParameters() 130 // https://lore.kernel.org/linux-iio/5c79425f-6e88-36b6-cdfe-4080738d039f@metafoo.de/ in getSensorParameters() 137 pathStr.substr(0, pathStr.size() - 4) + "_scale"; in getSensorParameters() [all …]
|
/openbmc/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 36 humidity and temperature sensors. 46 HDC2010 and HDC2080 relative humidity and temperature sensors. 62 will be called hid-sensor-humidity. 73 temperature-humidity sensor 95 This driver is also used for MS8607 temperature, pressure & humidity 113 tristate "Si7013/20/21 Relative Humidity and Temperature Sensors" [all …]
|
/openbmc/linux/drivers/iio/chemical/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Chemical sensors 6 menu "Chemical Sensors" 9 tristate "Atlas Scientific OEM SM sensors" 17 Atlas Scientific OEM SM sensors: 23 module will be called atlas-ph-sensor. 26 tristate "Atlas Scientific EZO sensors" 30 Atlas Scientific EZO sensors 34 module will be called atlas-ezo-sensor. 44 temperature, pressure, humidity and gas sensing capability. [all …]
|
/openbmc/qemu/hw/sensor/ |
H A D | dps310.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2017-2021 Joel Stanley <joel@jms.id.au>, IBM Corporation 7 * https://www.infineon.com/cms/en/product/sensor/pressure-sensors/pressure-sensors-for-iot/dps310/ 63 static const uint8_t regs_reset_state[sizeof(s->regs)] = { in dps310_reset() 71 memcpy(s->regs, regs_reset_state, sizeof(s->regs)); in dps310_reset() 72 s->pointer = 0; in dps310_reset() 75 s->regs[DPS310_MEAS_CFG] = DPS310_COEF_RDY | DPS310_SENSOR_RDY in dps310_reset() 81 if (reg >= sizeof(s->regs)) { in dps310_read() 83 __func__, s->pointer); in dps310_read() 101 return s->regs[reg]; in dps310_read() [all …]
|
/openbmc/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 …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Sensor_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Sensor v1.11.0 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Sensor_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Sensor v1.11.0 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|