[PATCH v2 0/2] hwmon:(ina238)Add support for SQ52206

From: Wenliang Yan
Date: Sun Jan 12 2025 - 22:52:34 EST


Add support for Silergy i2c power monitor SQ52206 to the ina238
driver as those two are similar.

Signed-off-by: Wenliang Yan <wenliang202407@xxxxxxx>
---

Add new chip SQ52206, the datasheet depends on
https://us1.silergy.com/cloud/index/uniqid/676b659b4a503
The password is fx6NEe.

Changes in v2:
- Explain why sq52206 compatibility has been added to ina2xx.yaml.
- addressed various review comments
- Link to v1: https://lore.kernel.org/linux-hwmon/20241224063559.391061-1-wenliang202407@xxxxxxx/

Wenliang Yan (2):
dt-bindings:Add SQ52206 to ina2xx devicetree bindings
hwmon:(ina238)Add support for SQ52206

.../devicetree/bindings/hwmon/ti,ina2xx.yaml | 1 +
Documentation/hwmon/ina238.rst | 15 ++
drivers/hwmon/ina238.c | 207 +++++++++++++++---
3 files changed, 191 insertions(+), 32 deletions(-)

--
2.43.0