* [PATCH v7 4/4] dt-bindings:Add SQ52206 to ina2xx devicetree bindings
[not found] <20250506053741.4837-1-wenliang202407@163.com>
@ 2025-05-06 5:37 ` Wenliang Yan
2025-05-06 16:11 ` Conor Dooley
2025-05-12 16:36 ` Guenter Roeck
0 siblings, 2 replies; 3+ messages in thread
From: Wenliang Yan @ 2025-05-06 5:37 UTC (permalink / raw)
To: linux, Jean Delvare, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Wenliang Yan, Jonathan Corbet, linux-hwmon, devicetree,
linux-kernel, christophe.jaillet, derek.lin, miguel.lee, chris.ho,
eason.liao
Add the sq52206 compatible to the ina2xx.yaml
Signed-off-by: Wenliang Yan <wenliang202407@163.com>
---
Add the meaning of 'shunt-gain' in SQ52206.
v6->v7: Change 'silergy,sy24655' to 'silergy,sq52206' so that
the make dt_binding_check' command can be successfully passed
v5->v6:add content to meet the update requirements of the ina2xx.yaml
Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml | 5 +++++
1 file changed, 5 insertions(+)
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
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v7 4/4] dt-bindings:Add SQ52206 to ina2xx devicetree bindings
2025-05-06 5:37 ` [PATCH v7 4/4] dt-bindings:Add SQ52206 to ina2xx devicetree bindings Wenliang Yan
@ 2025-05-06 16:11 ` Conor Dooley
2025-05-12 16:36 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2025-05-06 16:11 UTC (permalink / raw)
To: Wenliang Yan
Cc: linux, Jean Delvare, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Jonathan Corbet, linux-hwmon, devicetree,
linux-kernel, christophe.jaillet, derek.lin, miguel.lee, chris.ho,
eason.liao
[-- Attachment #1: Type: text/plain, Size: 227 bytes --]
On Tue, May 06, 2025 at 01:37:41AM -0400, Wenliang Yan wrote:
> Add the sq52206 compatible to the ina2xx.yaml
>
> Signed-off-by: Wenliang Yan <wenliang202407@163.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v7 4/4] dt-bindings:Add SQ52206 to ina2xx devicetree bindings
2025-05-06 5:37 ` [PATCH v7 4/4] dt-bindings:Add SQ52206 to ina2xx devicetree bindings Wenliang Yan
2025-05-06 16:11 ` Conor Dooley
@ 2025-05-12 16:36 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2025-05-12 16:36 UTC (permalink / raw)
To: Wenliang Yan
Cc: Jean Delvare, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jonathan Corbet, linux-hwmon, devicetree, linux-kernel,
christophe.jaillet, derek.lin, miguel.lee, chris.ho, eason.liao
On Tue, May 06, 2025 at 01:37:41AM -0400, Wenliang Yan wrote:
> Add the sq52206 compatible to the ina2xx.yaml
>
> Signed-off-by: Wenliang Yan <wenliang202407@163.com>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-12 16:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250506053741.4837-1-wenliang202407@163.com>
2025-05-06 5:37 ` [PATCH v7 4/4] dt-bindings:Add SQ52206 to ina2xx devicetree bindings Wenliang Yan
2025-05-06 16:11 ` Conor Dooley
2025-05-12 16:36 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox