hwmon: Add AHT10 Temperature and Humidity Sensor Driver
authorJohannes Cornelis Draaijer (datdenkikniet) <jcdra1@gmail.com>
Thu, 7 Jan 2021 19:40:14 +0000 (20:40 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 28 Jan 2021 01:44:18 +0000 (17:44 -0800)
commit8c78f0dee4371ab3b0422edf08597525c6219512
tree3c8021fe46136bf26bb7e0781630b2bca1d83955
parent0bf6a1e85ddd4000f461086d08260452aaf30302
hwmon: Add AHT10 Temperature and Humidity Sensor Driver

This patch adds a hwmon driver for the AHT10 Temperature and
Humidity sensor. It has a maximum sample rate, as the datasheet
states that the chip may heat up if it is sampled more than once
every two seconds.

Has been tested a to work on a raspberrypi0w

Signed-off-by: Johannes Cornelis Draaijer (datdenkikniet) <jcdra1@gmail.com>
Link: https://lore.kernel.org/r/20210107194014.GA88780@desktop
[groeck: dropped AHT10_ADDR (unused) and use AHT10_MEAS_SIZE where
 appropriate; dropped change log]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/aht10.rst [new file with mode: 0644]
Documentation/hwmon/index.rst
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/aht10.c [new file with mode: 0644]