public inbox for linux-hwmon@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add AHT20 sensor bindings and fix driver initialization
@ 2026-02-22 17:03 Hao Yu
  2026-02-22 17:03 ` [PATCH v2 1/3] dt-bindings: hwmon: add aosong,aht10 family Hao Yu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Hao Yu @ 2026-02-22 17:03 UTC (permalink / raw)
  To: linux, robh, krzk+dt, conor+dt
  Cc: jcdra1, akhilesh, linux-hwmon, devicetree, linux-kernel, Hao Yu

This patch series adds device tree binding documentation for Aosong
AHT10/AHT20 series sensors, fixes the initialization command sequence
for AHT20, and adds Device Tree support to the driver.

The AHT20 sensor was tested on a rk3566_lckfb board with the I2C-2 port.
Temperature and humidity readings are now accurate after fixing the
initialization command.

Changes in v2:
- Split the driver patch into two separate commits:
  - Patch 2/3: A fix for the initialization bug (includes Fixes tag).
  - Patch 3/3: A feature patch for adding Device Tree support.
- Improved the commit message for the initialization fix with a detailed
  explanation as requested by Guenter Roeck.
- Fixed indentation in aht10.c (ensured tab usage after macro definition).

Hao Yu (3):
  dt-bindings: hwmon: add aosong,aht10 family
  hwmon: (aht10) Fix initialization commands for AHT20
  hwmon: (aht10) Add Device Tree support

 .../bindings/hwmon/aosong,aht10.yaml          | 41 +++++++++++++++++++
 drivers/hwmon/aht10.c                         | 16 +++++++-
 2 files changed, 55 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/aosong,aht10.yaml

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-23 10:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-22 17:03 [PATCH v2 0/3] Add AHT20 sensor bindings and fix driver initialization Hao Yu
2026-02-22 17:03 ` [PATCH v2 1/3] dt-bindings: hwmon: add aosong,aht10 family Hao Yu
2026-02-23 10:32   ` Krzysztof Kozlowski
2026-02-22 17:03 ` [PATCH v2 2/3] hwmon: (aht10) Fix initialization commands for AHT20 Hao Yu
2026-02-22 18:33   ` Guenter Roeck
2026-02-22 17:03 ` [PATCH v2 3/3] hwmon: (aht10) Add Device Tree support Hao Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox