Home
last modified time | relevance | path

Searched hist:"2 aac3f9aec74b28ea73ad96efbcc0c56e5ff814f" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/humidity/
H A Dsi7020.cdiff 2aac3f9aec74b28ea73ad96efbcc0c56e5ff814f Fri Jun 07 16:10:30 CEST 2024 Antoni Pokusinski <apokusinski01@gmail.com> 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>