Re: [PATCH] dt-bindings: power: Convert power_supply text to yaml

From: Rob Herring
Date: Fri May 01 2020 - 17:13:55 EST


On Thu, 30 Apr 2020 10:18:41 -0500, Dan Murphy wrote:
> Convert the power_supply.txt to power-supply.yaml.
> This conversion entailed fixing up the binding to being yaml and dt
> checker compliant.
>
> Added a note in the power_supply.txt to reference the power-supply.yaml
>
> CC: Rob Herring <robh@xxxxxxxxxx>
> Signed-off-by: Dan Murphy <dmurphy@xxxxxx>
> ---
> .../bindings/power/supply/power-supply.yaml | 40 +++++++++++++++++++
> .../bindings/power/supply/power_supply.txt | 25 +-----------
> 2 files changed, 42 insertions(+), 23 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/power/supply/power-supply.yaml
>

My bot found errors running 'make dt_binding_check' on your patch:

Documentation/devicetree/bindings/power/supply/power-supply.yaml: $id: relative path/filename doesn't match actual path or filename
expected: http://devicetree.org/schemas/power/supply/power-supply.yaml#

See https://patchwork.ozlabs.org/patch/1280522

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure dt-schema is up to date:

pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade

Please check and re-submit.