aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenliang Yan <wenliang202407@163.com>2025-05-06 01:37:41 -0400
committerGuenter Roeck <linux@roeck-us.net>2025-05-12 09:41:00 -0700
commit00ca54bee4b25fb23534f9d8ba3a75ea0f1abc66 (patch)
tree439be8c912460a2cd64ea805ec9623591c767b9e
parenthwmon: (ina238) Add ina238_config to save configurations for different chips (diff)
downloadlinux-rng-00ca54bee4b25fb23534f9d8ba3a75ea0f1abc66.tar.xz
linux-rng-00ca54bee4b25fb23534f9d8ba3a75ea0f1abc66.zip
dt-bindings: Add SQ52206 to ina2xx devicetree bindings
Add the sq52206 compatible to the ina2xx.yaml Signed-off-by: Wenliang Yan <wenliang202407@163.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20250506053741.4837-5-wenliang202407@163.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
index bc03781342c0..d1fb7b9abda0 100644
--- a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
+++ b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
@@ -19,6 +19,7 @@ description: |
properties:
compatible:
enum:
+ - silergy,sq52206
- silergy,sy24655
- ti,ina209
- ti,ina219
@@ -58,6 +59,9 @@ properties:
shunt voltage, and a value of 4 maps to ADCRANGE=0 such that a wider
voltage range is used.
+ For SQ52206,the shunt-gain value 1 mapps to ADCRANGE=10/11, the value 2
+ mapps to ADCRANGE=01, and the value 4 mapps to ADCRANGE=00.
+
The default value is device dependent, and is defined by the reset value
of PGA/ADCRANGE in the respective configuration registers.
$ref: /schemas/types.yaml#/definitions/uint32
@@ -97,6 +101,7 @@ allOf:
compatible:
contains:
enum:
+ - silergy,sq52206
- silergy,sy24655
- ti,ina209
- ti,ina219