]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hwmon: (aht10) Add support for compatible aht20
authorKirill Yatsenko <kiriyatsenko@gmail.com>
Wed, 24 May 2023 20:19:12 +0000 (22:19 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Jun 2023 13:41:18 +0000 (06:41 -0700)
commitd2abcb5cc88577f996ab505c8102254aba7062d8
tree6ce64bbf1e31163e188e11ecb5ef4fb99a89cd01
parent7d0c2c61b1a4d1cf5641b35b491fe58ffafe26bc
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>
Documentation/hwmon/aht10.rst
drivers/hwmon/Kconfig
drivers/hwmon/aht10.c