diff options
author | Gustavo Silva <gustavograzs@gmail.com> | 2024-06-04 19:57:27 -0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-13 19:19:25 +0100 |
commit | e3166508a12e2ff7bfa711f895177dab971fd716 (patch) | |
tree | c3a9bea677d1c84a23b767eb0ee47aedc9e3e061 /drivers/iio/chemical/ens160.h | |
parent | ec6c56577b3908744e35a709ffd58e6cf4f8dd6b (diff) |
iio: chemical: add driver for ENS160 sensor
ScioSense ENS160 is a digital metal oxide multi-gas sensor, designed
for indoor air quality monitoring. The driver supports readings of
CO2 and VOC, and can be accessed via both SPI and I2C.
Datasheet: https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf
Signed-off-by: Gustavo Silva <gustavograzs@gmail.com>
Link: https://lore.kernel.org/r/20240604225747.7212-4-gustavograzs@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/chemical/ens160.h')
-rw-r--r-- | drivers/iio/chemical/ens160.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/iio/chemical/ens160.h b/drivers/iio/chemical/ens160.h new file mode 100644 index 000000000000..d0df15f08db5 --- /dev/null +++ b/drivers/iio/chemical/ens160.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ENS160_H_ +#define ENS160_H_ + +int devm_ens160_core_probe(struct device *dev, struct regmap *regmap, + const char *name); +#endif |