From: Thierry Reding <treding@xxxxxxxxxx> The TI BQ20Z45 battery is used for example on Tegra114 Dalmore but was never documented. Add the missing compatible string. While at it, also pull in the power-supply.yaml core bindings so that the standard power-supplies property is properly validated. Also switch to unevaluatedProperties to make sure the power-supply.yaml snippet is properly validated against (additionalProperties doesn't have visibility across a $ref). Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> --- .../devicetree/bindings/power/supply/sbs,sbs-battery.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/power/supply/sbs,sbs-battery.yaml b/Documentation/devicetree/bindings/power/supply/sbs,sbs-battery.yaml index 205bc826bd20..bb2803850ea6 100644 --- a/Documentation/devicetree/bindings/power/supply/sbs,sbs-battery.yaml +++ b/Documentation/devicetree/bindings/power/supply/sbs,sbs-battery.yaml @@ -18,6 +18,7 @@ properties: oneOf: - items: - enum: + - ti,bq20z45 - ti,bq20z65 - ti,bq20z75 - enum: @@ -62,7 +63,10 @@ required: - compatible - reg -additionalProperties: false +allOf: + - $ref: power-supply.yaml# + +unevaluatedProperties: false examples: - | -- 2.24.1