Re: [PATCH v8 RESEND 1/3] dt-bindings: dmaengine: Add dma multiplexer for CV18XX/SG200X series SoC

From: Inochi Amaoto
Date: Mon Jul 29 2024 - 03:00:45 EST


On Mon, Jul 29, 2024 at 12:21:42AM GMT, Rob Herring (Arm) wrote:
>
> On Mon, 29 Jul 2024 12:36:51 +0800, Inochi Amaoto wrote:
> > The DMA IP of Sophgo CV18XX/SG200X is based on a DW AXI CORE, with
> > an additional channel remap register located in the top system control
> > area. The DMA channel is exclusive to each core.
> >
> > In addition, the DMA multiplexer is a subdevice of system controller,
> > so this binding only contains necessary properties for the multiplexer
> > itself.
> >
> > Add the dmamux binding for CV18XX/SG200X series SoC.
> >
> > Signed-off-by: Inochi Amaoto <inochiama@xxxxxxxxxxx>
> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> > ---
> > .../bindings/dma/sophgo,cv1800-dmamux.yaml | 51 +++++++++++++++++++
> > 1 file changed, 51 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/dma/sophgo,cv1800-dmamux.yaml
> >
>
> 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/sophgo,cv1800-dmamux.example.dtb: dma-router@154: dma-masters: 4294967295 is not of type 'array'
> from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800-dmamux.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/dma/sophgo,cv1800-dmamux.example.dtb: dma-router@154: dma-masters: 4294967295 is not of type 'array'
> from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800-dmamux.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/dma/sophgo,cv1800-dmamux.example.dtb: dma-router@154: dma-masters: 4294967295 is not of type 'array'
> from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/dma/sophgo,cv1800-dmamux.example.dtb: dma-router@154: dma-masters: 4294967295 is not of type 'array'
> from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
>

Hi Rob,

Could you share some suggestions? I can not reproduce this error with
latest dtschema. I think this is more like a misreporting.

Regards,
Inochi.