[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251118125148.95603-1-wenliang202407@163.com>
Date: Tue, 18 Nov 2025 07:51:40 -0500
From: Wenliang Yan <wenliang202407@....com>
To: linux@...ck-us.net,
Jean Delvare <jdelvare@...e.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: Wenliang Yan <wenliang202407@....com>,
Jonathan Corbet <corbet@....net>,
linux-hwmon@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/8] hwmon: (ina3221) Various improvement and add support for SQ52210
Revised based on feedback from the previous version:
1.Adjusted the description in dt-bindings: only added a compatible string
for sq52210.
2.Modified the register read/write value conversion function, refined the
calculation logic for each register, and reduced unnecessary function
calls.
3.Restructured the patch content for easier review.
---
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 | 4 +-
Documentation/hwmon/ina3221.rst | 24 +
drivers/hwmon/ina3221.c | 520 +++++++++++++++++-
3 files changed, 533 insertions(+), 15 deletions(-)
--
2.17.1
Powered by blists - more mailing lists