Commit 09b327c9 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Sebastian Reichel

dt-bindings: power: supply: bq25890: use one fallback compatible

BQ2589[0256] seem compatible between each other in major aspects and
remaining features are auto-detectable (by reading device revision ID
register).  Existing DTS already uses the compatibles with a fallback,
so adjust the bindings to reflect this and fix dtbs_check warning:

  arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dtb: charger@6a: compatible: ['ti,bq25895', 'ti,bq25890'] is too long
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 70547f34
...@@ -15,11 +15,15 @@ allOf: ...@@ -15,11 +15,15 @@ allOf:
properties: properties:
compatible: compatible:
enum: oneOf:
- enum:
- ti,bq25890 - ti,bq25890
- items:
- enum:
- ti,bq25892 - ti,bq25892
- ti,bq25895 - ti,bq25895
- ti,bq25896 - ti,bq25896
- const: ti,bq25890
reg: reg:
maxItems: 1 maxItems: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment