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@163.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@suse.com>
- Guenter Roeck <linux@roeck-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