Home
last modified time | relevance | path

Searched +full:voc +full:- +full:sensor (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/iio/chemical/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 tristate "Aosong AGS02MA TVOC sensor driver"
14 Organic Compounds) sensor.
29 * pH SM sensor
30 * EC SM sensor
31 * ORP SM sensor
34 module will be called atlas-ph-sensor.
42 * CO2 EZO Sensor
45 module will be called atlas-ezo-sensor.
48 tristate "Bosch Sensortec BME680 sensor driver"
[all …]
H A Dsgp40.c1 // SPDX-License-Identifier: GPL-2.0+
3 * sgp40.c - Support for Sensirion SGP40 Gas Sensor
5 * Copyright (C) 2021 Andreas Klinger <ak@it-klinger.de>
14 * 1) read raw logarithmic resistance value from sensor
15 * --> useful to pass it to the algorithm of the sensor vendor for
19 * 2) calculate an estimated absolute voc index (in_concentration_input)
20 * with 0 - 500 index points) for measuring the air quality.
21 * For this purpose the value of the resistance for which the voc index
24 * The voc index is calculated as:
25 * x = (in_resistance_raw - in_resistance_calibbias) * 0.65
[all …]
H A Dccs811.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ccs811.c - Support for AMS CCS811 VOC Sensor
7 * Datasheet: ams.com/content/download/951091/2269479/CCS811_DS000459_3-00.pdf
48 * Value of FW_MODE bit of STATUS register describes the sensor's state:
68 __be16 voc; member
[all...]
H A Dams-iaq-core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * ams-iaq-core.c - Support for AMS iAQ-Core VOC sensors
61 struct i2c_client *client = data->client; in ams_iaqcore_read_measurement()
65 .addr = client->addr, in ams_iaqcore_read_measurement()
66 .flags = client->flags | I2C_M_RD, in ams_iaqcore_read_measurement()
68 .buf = (char *) &data->buffer, in ams_iaqcore_read_measurement()
71 ret = i2c_transfer(client->adapter, &msg, 1); in ams_iaqcore_read_measurement()
80 /* sensor can only be polled once a second max per datasheet */ in ams_iaqcore_get_measurement()
81 if (!time_after(jiffies, data->last_update + HZ)) in ams_iaqcore_get_measurement()
88 data->last_update = jiffies; in ams_iaqcore_get_measurement()
[all …]
H A Dvz89x.c1 // SPDX-License-Identifier: GPL-2.0+
3 * vz89x.c - Support for SGX Sensortech MiCS VZ89X VOC sensors
5 * Copyright (C) 2015-2018
93 .scan_index = -1,
123 .scan_index = -1,
152 if (data->buffer[VZ89X_VOC_SHORT_IDX] == 0) in vz89x_measurement_is_valid()
155 return !!(data->buffer[data->chip->read_size - 1] > 0); in vz89x_measurement_is_valid()
158 /* VZ89TE device has a modified CRC-8 two complement check */
164 for (i = 0; i < (data->chip->read_size - 1); i++) { in vz89te_measurement_is_valid()
165 sum = crc + data->buffer[i]; in vz89te_measurement_is_valid()
[all …]
H A Dens160_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * ScioSense ENS160 multi-gas sensor driver
8 * https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf
59 /* Protect reads from the sensor */
112 iio_device_claim_direct_scoped(return -EBUSY, indio_dev) { in ens160_read_raw()
113 guard(mutex)(&data->mutex); in ens160_read_raw()
114 ret = regmap_bulk_read(data->regmap, chan->address, in ens160_read_raw()
115 &data->buf, sizeof(data->buf)); in ens160_read_raw()
118 *val = le16_to_cpu(data->buf); in ens160_read_raw()
123 switch (chan->channel2) { in ens160_read_raw()
[all …]
/linux/Documentation/devicetree/bindings/iio/chemical/
H A Daosong,ags02ma.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Aosong AGS02MA VOC Sensor
10 AGS02MA is an TVOC (Total Volatile Organic Compounds) i2c sensor with default
14 https://asairsensors.com/wp-content/uploads/2021/09/AGS02MA.pdf
17 - Anshul Dalal <anshulusr@gmail.com>
22 - aosong,ags02ma
27 vdd-supply: true
30 - compatible
[all …]
H A Dams,ccs811.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AMS CCS811 VOC Sensor
10 - Narcisa Vasile <narcisaanamaria12@gmail.com>
13 Ultra-Low Power Digital Gas Sensor for Monitoring Indoor Air Quality.
18 - ams,ccs811
22 reset-gpios:
27 wakeup-gpios:
33 - compatible
[all …]