dt-bindings: power: supply: sbs-battery: Fix dtbs_check
Existing in-tree users make use of '"ti,bq20z45", "sbs,sbs-battery"', so add it to the list of known compatible strings. Also add missing support for the generic 'power-supplies' property by importing power-supply.yaml and setting unevaluatedProperties instead of additionalProperties. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
eb91749773
commit
3ef11821de
@ -12,12 +12,15 @@ maintainers:
|
|||||||
description: |
|
description: |
|
||||||
Battery compatible with the smart battery system specifications
|
Battery compatible with the smart battery system specifications
|
||||||
|
|
||||||
properties:
|
allOf:
|
||||||
|
- $ref: power-supply.yaml#
|
||||||
|
|
||||||
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
oneOf:
|
oneOf:
|
||||||
- items:
|
- items:
|
||||||
- enum:
|
- enum:
|
||||||
|
- ti,bq20z45
|
||||||
- ti,bq20z65
|
- ti,bq20z65
|
||||||
- ti,bq20z75
|
- ti,bq20z75
|
||||||
- enum:
|
- enum:
|
||||||
@ -60,7 +63,7 @@ required:
|
|||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
|
|
||||||
additionalProperties: false
|
unevaluatedProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
|
Loading…
Reference in New Issue
Block a user