mbox series

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

Message ID 20250113035023.365697-1-wenliang202407@163.com (mailing list archive)
Headers show
Series hwmon:(ina238)Add support for SQ52206 | expand

Message

Wenliang Yan Jan. 13, 2025, 3:50 a.m. UTC
Add support for Silergy i2c power monitor SQ52206 to the ina238
driver as those two are similar.

Signed-off-by: Wenliang Yan <wenliang202407@163.com>
---

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@163.com/

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(-)