public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/8] hwmon: (ina3221) Various improvement and add support for SQ52210
@ 2025-11-20  8:19 Wenliang Yan
  2025-11-20  8:19 ` [PATCH v3 1/8] dt-bindings: hwmon: ti,ina3221: Add SQ52210 Wenliang Yan
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Wenliang Yan @ 2025-11-20  8:19 UTC (permalink / raw)
  To: linux, Jean Delvare, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Wenliang Yan, Jonathan Corbet, linux-hwmon, devicetree,
	linux-kernel

Revised based on feedback from the previous version:

1.Adjusted the description in dt-bindings: add description for sq52210,
express sq52210 in the bindings as compatible devices.

2.Modified the register read/write value conversion function, refined the
calculation logic for each register, and reduced unnecessary function
calls.

---
v2: https://lore.kernel.org/linux-hwmon/20251118125148.95603-1-wenliang202407@163.com/
v1: https://lore.kernel.org/linux-hwmon/20251111080546.32421-1-wenliang202407@163.com/

Wenliang Yan (8):
  dt-bindings: hwmon: ti,ina3221: Add SQ52210
  hwmon: (ina3221) Add support for SQ52210
  hwmon: (ina3221) Pre-calculate current and power LSB
  hwmon: (ina3221) Support alert configuration
  hwmon: (ina3221) Introduce power attribute and alert characteristics
  hwmon: (ina3221) Support for writing alert limit values and modify the
    'ina3221_read_value' function
  hwmon: (ina3221) Support write/read functions for 'power' attribute
  hwmon: (ina3221) Modify write/read functions for 'in' and 'curr'
    attribute

 .../devicetree/bindings/hwmon/ti,ina3221.yaml |  15 +-
 Documentation/hwmon/ina3221.rst               |  24 +
 drivers/hwmon/ina3221.c                       | 527 +++++++++++++++++-
 3 files changed, 552 insertions(+), 14 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2025-11-20  8:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-20  8:19 [PATCH v3 0/8] hwmon: (ina3221) Various improvement and add support for SQ52210 Wenliang Yan
2025-11-20  8:19 ` [PATCH v3 1/8] dt-bindings: hwmon: ti,ina3221: Add SQ52210 Wenliang Yan
2025-11-20  8:26   ` Krzysztof Kozlowski
2025-11-20  8:19 ` [PATCH v3 2/8] hwmon: (ina3221) Add support for SQ52210 Wenliang Yan
2025-11-20  8:19 ` [PATCH v3 3/8] hwmon: (ina3221) Pre-calculate current and power LSB Wenliang Yan
2025-11-20  8:19 ` [PATCH v3 4/8] hwmon: (ina3221) Support alert configuration Wenliang Yan
2025-11-20  8:19 ` [PATCH v3 5/8] hwmon: (ina3221) Introduce power attribute and alert characteristics Wenliang Yan
2025-11-20  8:19 ` [PATCH v3 6/8] hwmon: (ina3221) Support for writing alert limit values and modify the 'ina3221_read_value' function Wenliang Yan
2025-11-20  8:19 ` [PATCH v3 7/8] hwmon: (ina3221) Support write/read functions for 'power' attribute Wenliang Yan
2025-11-20  8:19 ` [PATCH v3 8/8] hwmon: (ina3221) Modify write/read functions for 'in' and 'curr' attribute Wenliang Yan

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