From: Hermes Zhang Date: Thu, 4 May 2023 09:30:36 +0000 (+0800) Subject: dt-bindings: power: supply: bq256xx: Add ti,no-thermistor property X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=da8a240f51e2f3ce4d77719f21904a1ca05cb721;p=linux.git 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: Hermes Zhang Reviewed-by: Krzysztof Kozlowski Signed-off-by: Sebastian Reichel --- diff --git a/Documentation/devicetree/bindings/power/supply/bq256xx.yaml b/Documentation/devicetree/bindings/power/supply/bq256xx.yaml index 82f382a7ffb36..4fe9c37052652 100644 --- a/Documentation/devicetree/bindings/power/supply/bq256xx.yaml +++ b/Documentation/devicetree/bindings/power/supply/bq256xx.yaml @@ -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: