Commit 00ca54be authored by Wenliang Yan's avatar Wenliang Yan Committed by Guenter Roeck
Browse files

dt-bindings: Add SQ52206 to ina2xx devicetree bindings

parent 024e5cf2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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