aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/trivial-devices.yaml
diff options
context:
space:
mode:
authorAndreas Klinger <ak@it-klinger.de>2021-08-04 17:46:42 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-08-08 15:19:18 +0100
commit1081b9d97152e6aa28a1868ec8e0587b2b8fb2ae (patch)
tree43181741dd557845ea60bf7c49d89047ec4b26f2 /Documentation/devicetree/bindings/trivial-devices.yaml
parentdt-bindings: iio: chemical: Add trivial DT binding for sgp40 (diff)
downloadlinux-dev-1081b9d97152e6aa28a1868ec8e0587b2b8fb2ae.tar.xz
linux-dev-1081b9d97152e6aa28a1868ec8e0587b2b8fb2ae.zip
iio: chemical: Add driver support for sgp40
sgp40 is a gas sensor used for measuring the air quality. This driver is reading the raw resistance value which can be passed to an userspace algorithm for further calculation. The raw value is also used to calculate an estimated absolute voc index in the range from 0 to 500. For this purpose the raw_mean value of the resistance for which the index value is 250 might be set up as a calibration step. This can be done with in_resistance_calibbias. Compensation of relative humidity and temperature is supported and can be used by writing to output values of out_humidityrelative_raw and out_temp_raw. There is a predecesor sensor type (sgp30) already existing. This driver module was not extended because the new sensor is quite different in its i2c telegrams. Signed-off-by: Andreas Klinger <ak@it-klinger.de> Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20210804154641.GA3237@arbad Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/trivial-devices.yaml')
0 files changed, 0 insertions, 0 deletions