diff options
author | Johannes Cornelis Draaijer (datdenkikniet) <jcdra1@gmail.com> | 2021-01-07 20:40:14 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-01-27 17:44:18 -0800 |
commit | 8c78f0dee4371ab3b0422edf08597525c6219512 (patch) | |
tree | 3c8021fe46136bf26bb7e0781630b2bca1d83955 /drivers/hwmon/Kconfig | |
parent | 0bf6a1e85ddd4000f461086d08260452aaf30302 (diff) | |
download | linux-8c78f0dee4371ab3b0422edf08597525c6219512.tar.bz2 |
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>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index c6c4f404399b..fd0da6295d5e 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -244,6 +244,16 @@ config SENSORS_ADT7475 This driver can also be built as a module. If so, the module will be called adt7475. +config SENSORS_AHT10 + tristate "Aosong AHT10" + depends on I2C + help + If you say yes here, you get support for the Aosong AHT10 + temperature and humidity sensors + + This driver can also be built as a module. If so, the module + will be called aht10. + config SENSORS_AS370 tristate "Synaptics AS370 SoC hardware monitoring driver" help |