diff mbox series

[v2,2/3] dt-bindings: power: supply: bq25890: allow power-supply fields

Message ID 20221102184501.109148-2-krzysztof.kozlowski@linaro.org (mailing list archive)
State New, archived
Headers show
Series [v2,1/3] dt-bindings: power: supply: define monitored-battery in common place | expand

Commit Message

Krzysztof Kozlowski Nov. 2, 2022, 6:45 p.m. UTC
The BQ25890 schema references common power-supply.yaml, so allow all its
properties to fix warnings like:

  arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dtb: charger@6a: 'monitored-battery', 'power-supplies', ... do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Changes since v1:
1. New patch
---
 Documentation/devicetree/bindings/power/supply/bq25890.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring (Arm) Nov. 4, 2022, 9:54 p.m. UTC | #1
On Wed, 02 Nov 2022 14:45:00 -0400, Krzysztof Kozlowski wrote:
> The BQ25890 schema references common power-supply.yaml, so allow all its
> properties to fix warnings like:
> 
>   arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dtb: charger@6a: 'monitored-battery', 'power-supplies', ... do not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Changes since v1:
> 1. New patch
> ---
>  Documentation/devicetree/bindings/power/supply/bq25890.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Sebastian Reichel Nov. 5, 2022, 8:21 p.m. UTC | #2
Hi,

On Fri, Nov 04, 2022 at 04:54:46PM -0500, Rob Herring wrote:
> 
> On Wed, 02 Nov 2022 14:45:00 -0400, Krzysztof Kozlowski wrote:
> > The BQ25890 schema references common power-supply.yaml, so allow all its
> > properties to fix warnings like:
> > 
> >   arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dtb: charger@6a: 'monitored-battery', 'power-supplies', ... do not match any of the regexes: 'pinctrl-[0-9]+'
> > 
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > 
> > ---
> > 
> > Changes since v1:
> > 1. New patch
> > ---
> >  Documentation/devicetree/bindings/power/supply/bq25890.yaml | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> 
> Reviewed-by: Rob Herring <robh@kernel.org>

Thanks, queued.

-- Sebastian
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.yaml b/Documentation/devicetree/bindings/power/supply/bq25890.yaml
index b7e8eeb940b9..ee51b6335e72 100644
--- a/Documentation/devicetree/bindings/power/supply/bq25890.yaml
+++ b/Documentation/devicetree/bindings/power/supply/bq25890.yaml
@@ -97,7 +97,7 @@  required:
   - ti,boost-voltage
   - ti,boost-max-current
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |