]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (aht10) Add support for dht20
authorAkhilesh Patil <akhilesh@ee.iitb.ac.in>
Sun, 2 Nov 2025 09:43:20 +0000 (15:13 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 2 Nov 2025 19:07:16 +0000 (11:07 -0800)
commit3eaf1b631506e8de2cb37c278d5bc042521e82c1
tree8fb891c330d75388ce49786c00d51fe154bf4e37
parent2ea255d35bc3dc06b156563a9241ef2ada921b38
hwmon: (aht10) Add support for dht20

Add support for dht20 temperature and humidity sensor from Aosong.
Modify aht10 driver to handle different init command for dht20 sensor by
adding init_cmd entry in the driver data. dht20 sensor is compatible with
aht10 hwmon driver with this change.

Tested on TI am62x SK board with dht20 sensor connected at i2c-2 port.

Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Link: https://lore.kernel.org/r/2025112-94320-906858@bhairav-test.ee.iitb.ac.in
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/aht10.rst
drivers/hwmon/Kconfig
drivers/hwmon/aht10.c