summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHao Yu <haoyufine@gmail.com>2026-02-23 01:03:31 +0800
committerGuenter Roeck <linux@roeck-us.net>2026-02-22 15:48:30 -0800
commitb7497b5a99f54ab8dcda5b14a308385b2fb03d8d (patch)
treea0a14135d5f50f31c250f7dfd950b4c020198e80 /include/linux/i2c/git@git.tavy.me:linux.git
parentac209a7d816d918582d0d6387e93d02679f9c8ed (diff)
hwmon: (aht10) Fix initialization commands for AHT20
According to the AHT20 datasheet (updated to V1.0 after the 2023.09 version), the initialization command for AHT20 is 0b10111110 (0xBE). The previous sequence (0xE1) used in earlier versions is no longer compatible with newer AHT20 sensors. Update the initialization command to ensure the sensor is properly initialized. While at it, use binary notation for DHT20_CMD_INIT to match the notation used in the datasheet. Fixes: d2abcb5cc885 ("hwmon: (aht10) Add support for compatible aht20") Signed-off-by: Hao Yu <haoyufine@gmail.com> Link: https://lore.kernel.org/r/20260222170332.1616-3-haoyufine@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions