[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<IA1PR20MB4953343445D88F046E1D28EFBBB72@IA1PR20MB4953.namprd20.prod.outlook.com>
Date: Mon, 29 Jul 2024 20:28:09 +0800
From: Inochi Amaoto <inochiama@...look.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Inochi Amaoto <inochiama@...look.com>, "Rob Herring (Arm)" <robh@...nel.org>
Cc: Albert Ou <aou@...s.berkeley.edu>, devicetree@...r.kernel.org,
Palmer Dabbelt <palmer@...belt.com>, Paul Walmsley <paul.walmsley@...ive.com>,
linux-kernel@...r.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
dmaengine@...r.kernel.org, Conor Dooley <conor+dt@...nel.org>,
Liu Gui <kenneth.liu@...hgo.com>, linux-riscv@...ts.infradead.org,
Chen Wang <unicorn_wang@...look.com>, Vinod Koul <vkoul@...nel.org>
Subject: Re: [PATCH v8 RESEND 1/3] dt-bindings: dmaengine: Add dma
multiplexer for CV18XX/SG200X series SoC
On Mon, Jul 29, 2024 at 11:30:20AM GMT, Krzysztof Kozlowski wrote:
> On 29/07/2024 09:00, Inochi Amaoto wrote:
> >> 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.
>
> You would need dtschema from the master branch, so newer than 2024.05.
>
> Best regards,
> Krzysztof
>
Is it a must for the type array to have more than 1 element?
I have tested the value "<&dmac 0>" and "<&dmac>, <&dmac>".
Both pass the check (These value are just for test, not the
real hardware).
Setting dma-masters to type "phandle" also has no change.
It do not accept the value "<&dmac>", Is there any suggestion
for this? Thanks in advance.
Regards,
Inochi
Powered by blists - more mailing lists