summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAntoni Pokusinski <apokusinski01@gmail.com>2024-06-07 16:10:30 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-13 19:19:23 +0100
commit2aac3f9aec74b28ea73ad96efbcc0c56e5ff814f (patch)
treedf8a34a178edb5a349453a7d5c9afb6d5bc2a8e2 /tools/perf/scripts/python
parentb2fb2d03e2dc3963bcf41f1d0cbd467ad9e6e89b (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions