[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251120081921.39412-2-wenliang202407@163.com>
Date: Thu, 20 Nov 2025 03:19:14 -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 v3 1/8] dt-bindings: hwmon: ti,ina3221: Add SQ52210
Add a compatible string for SQ52210, provide brief descriptions for
both INA3221 and SQ52210, and define the compatibility relationship
between SQ52210 and INA3221.
SQ52210 is backward compatible with INA3221.
Signed-off-by: Wenliang Yan <wenliang202407@....com>
---
.../devicetree/bindings/hwmon/ti,ina3221.yaml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina3221.yaml b/Documentation/devicetree/bindings/hwmon/ti,ina3221.yaml
index 5f10f1207d69..2dd2fd148792 100644
--- a/Documentation/devicetree/bindings/hwmon/ti,ina3221.yaml
+++ b/Documentation/devicetree/bindings/hwmon/ti,ina3221.yaml
@@ -10,9 +10,22 @@ maintainers:
- Jean Delvare <jdelvare@...e.com>
- Guenter Roeck <linux@...ck-us.net>
+description: |
+ The INA3221 is a three-channel, high-side current and bus voltage monitor.
+
+ The Silergy SQ52210 is a power monitor that extends the functionality of
+ the INA3221 by adding additional current registers, power registers, and
+ alert registers. These features are configured internally by the driver
+ and require no board-level device tree configuration.
+
properties:
compatible:
- const: ti,ina3221
+ oneOf:
+ - items:
+ - const: silergy,sq52210
+ - const: ti,ina3221
+ - items:
+ - const: ti,ina3221
reg:
maxItems: 1
--
2.17.1
Powered by blists - more mailing lists