diff options
author | Kirill Yatsenko <kiriyatsenko@gmail.com> | 2023-05-24 22:19:12 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-06-08 06:41:18 -0700 |
commit | d2abcb5cc88577f996ab505c8102254aba7062d8 (patch) | |
tree | 6ce64bbf1e31163e188e11ecb5ef4fb99a89cd01 /drivers/hwmon/Kconfig | |
parent | 7d0c2c61b1a4d1cf5641b35b491fe58ffafe26bc (diff) | |
download | lwn-d2abcb5cc88577f996ab505c8102254aba7062d8.tar.gz lwn-d2abcb5cc88577f996ab505c8102254aba7062d8.zip |
hwmon: (aht10) Add support for compatible aht20
Add support for compatible AHT20 temperature/humidity sensor. The only
difference between the two is that AHT20 has additional crc8 byte.
It seems like AHT15 is also supported by the driver but it wasn't
verified and tested yet.
Tested on Beaglebone black rev C.
Signed-off-by: Kirill Yatsenko <kiriyatsenko@gmail.com>
Link: https://lore.kernel.org/r/20230524201912.815993-1-kiriyatsenko@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index fc640201a2de..bf73934a6eee 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -255,10 +255,11 @@ config SENSORS_ADT7475 will be called adt7475. config SENSORS_AHT10 - tristate "Aosong AHT10" + tristate "Aosong AHT10, AHT20" depends on I2C + select CRC8 help - If you say yes here, you get support for the Aosong AHT10 + If you say yes here, you get support for the Aosong AHT10 and AHT20 temperature and humidity sensors This driver can also be built as a module. If so, the module |