Commit da8a240f authored by Hermes Zhang's avatar Hermes Zhang Committed by Sebastian Reichel
Browse files

dt-bindings: power: supply: bq256xx: Add ti,no-thermistor property



Add a new property ti,no-thermistor to indicate that no thermistor is
connected to the TS pin of the chip.

Signed-off-by: default avatarHermes Zhang <chenhuiz@axis.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent ac9a7868
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -68,11 +68,29 @@ properties:
      Interrupt sends an active low, 256 μs pulse to host to report the charger
      device status and faults.

  ti,no-thermistor:
    type: boolean
    description: Indicates that no thermistor is connected to the TS pin

required:
  - compatible
  - reg
  - monitored-battery

allOf:
  - if:
      properties:
        compatible:
          contains:
            enum:
              - ti,bq25600
              - ti,bq25601
              - ti,bq25600d
              - ti,bq25601d
    then:
      properties:
        ti,no-thermistor: false

additionalProperties: false

examples: