|
|
Log in / Subscribe / Register

hwmon: (ina3221) Various improvement and add support for SQ52210

From:  Wenliang Yan <wenliang202407-AT-163.com>
To:  linux-AT-roeck-us.net, Jean Delvare <jdelvare-AT-suse.com>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>
Subject:  [PATCH v4 RESEND 0/8] hwmon: (ina3221) Various improvement and add support for SQ52210
Date:  Wed, 14 Jan 2026 03:17:33 -0500
Message-ID:  <20260114081741.111340-1-wenliang202407@163.com>
Cc:  Wenliang Yan <wenliang202407-AT-163.com>, Jonathan Corbet <corbet-AT-lwn.net>, linux-hwmon-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

Resending this series.

1.Add review information for the binding(PATCH 1).

2.Modify the description of the patch(PATCH 2).

3.Add initialization for 'alert_type_select'(PATCH 4).

4.Add out-of-bounds checks for the array(PATCH 8).

---
v3: https://lore.kernel.org/linux-hwmon/20251120081921.39412-...
v2: https://lore.kernel.org/linux-hwmon/20251118125148.95603-...
v1: https://lore.kernel.org/linux-hwmon/20251111080546.32421-...

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                       | 536 +++++++++++++++++-
 3 files changed, 561 insertions(+), 14 deletions(-)

-- 
2.17.1




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds