linux/drivers/iio/humidity
Antoni Pokusinski 2aac3f9aec iio: humidity: si7020: add heater support
This patch adds support for the integrated on-chip heater that is present
on all the devices supported by this driver (si7020, si7021, si7013, th6).
In order to configure the heater, the driver interacts with the following
device registers:
* User Register - the 2nd bit of this register is a "Heater Enable bit"
  (0 means that the heater is off, 1 means that it's on).
* Heater Register - this register is present only on the si70xx devices
  and controls the current flowing through the heater. The 4 lower bits
  of this register can be assigned values from 0x0 to 0xF.

Signed-off-by: Antoni Pokusinski <apokusinski01@gmail.com>
Link: https://lore.kernel.org/r/20240607141029.51744-1-apokusinski@o2.pl
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-06-13 19:19:23 +01:00
..
am2315.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
dht11.c iio: humidity: dht11: Switch from of headers to mod_devicetable.h 2022-02-06 15:21:43 +00:00
hdc100x.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
hdc2010.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
hdc3020.c iio: humidity: hdc3020: add reset management 2024-03-25 20:10:13 +00:00
hid-sensor-humidity.c iio: humidity: hid-sensor-humidity: Convert to platform remove callback returning void 2023-09-23 15:06:55 +01:00
hts221_buffer.c iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
hts221_core.c iio: humidity: hts211: drop casting to void in dev_set_drvdata 2024-03-25 20:10:12 +00:00
hts221_i2c.c iio: humidity: hts221: Drop ACPI_PTR() usage 2024-01-23 22:06:55 +00:00
hts221_spi.c iio: humidity: hts221: Move symbol exports into IIO_HTS221 namespace 2022-06-15 22:07:09 +01:00
hts221.h iio: humidity: hts211: Use devm_regulator_get_enable() 2022-11-23 19:44:02 +00:00
htu21.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
Kconfig iio: humidity: hdc3020: Add Makefile, Kconfig and MAINTAINERS entry 2024-01-22 18:59:07 +00:00
Makefile iio: humidity: hdc3020: Add Makefile, Kconfig and MAINTAINERS entry 2024-01-22 18:59:07 +00:00
si7005.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
si7020.c iio: humidity: si7020: add heater support 2024-06-13 19:19:23 +01:00