[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173032867487.2384864.2184195071332557080.robh@kernel.org>
Date: Wed, 30 Oct 2024 17:51:14 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: linux-kernel@...r.kernel.org, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Lars-Peter Clausen <lars@...afoo.de>,
Vinod Koul <vkoul@...nel.org>, Nuno Sa <nuno.sa@...log.com>,
devicetree@...r.kernel.org, dmaengine@...r.kernel.org
Subject: Re: [PATCH v3 1/2] dt-bindings: dma: adi,axi-dmac: convert to yaml
schema
On Wed, 30 Oct 2024 16:33:56 -0500, David Lechner wrote:
> Convert the AXI DMAC bindings from .txt to .yaml.
>
> Acked-by: Nuno Sa <nuno.sa@...log.com>
> Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
> Signed-off-by: David Lechner <dlechner@...libre.com>
> ---
>
> For the maintainer, Lars is the original author, but isn't really
> active with ADI anymore, so I have added Nuno instead since he is the
> most active ADI representative currently and is knowledgeable about this
> hardware.
>
> As in v1, the rob-bot is likely to complain with the following:
>
> Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml: properties:adi,channels:type: 'boolean' was expected
> hint: A vendor boolean property can use "type: boolean"
> from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml#
> DTC [C] Documentation/devicetree/bindings/dma/adi,axi-dmac.example.dtb
>
> This is due to the fact that we have a vendor prefix on an object node.
> We can't change that since it is an existing binding. Rob said he will
> fix this in dtschema.
> ---
> .../devicetree/bindings/dma/adi,axi-dmac.txt | 61 ---------
> .../devicetree/bindings/dma/adi,axi-dmac.yaml | 139 +++++++++++++++++++++
> 2 files changed, 139 insertions(+), 61 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml: properties:adi,channels:type: 'boolean' was expected
hint: A vendor boolean property can use "type: boolean"
from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241030-axi-dma-dt-yaml-v3-1-d3a9b506f96c@baylibre.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
Powered by blists - more mailing lists