Re: [PATCH v2 5/6] dt-bindings: dma: qcom,bam-dma: Increase iommus maxItems to seven
From: Krzysztof Kozlowski
Date: Fri Jul 03 2026 - 02:54:44 EST
On Thu, Jul 02, 2026 at 01:47:15AM +0530, Kuldeep Singh wrote:
> Upcoming Shikra BAM DMA uses 7 IOMMU entries and not 6, so increase the
> `iommus` maxItems constraint.
>
> Fix below error:
> dma-controller@1b04000 (qcom,bam-v1.7.4): iommus: [[25, 132, 17], [25,
There is no dma-controller@1b04000 in DTS. Please drop all the warnings
which do not exist.
You cannot add incorrect code, cause warnings and then based on that
claim that there is a warning to fix. It's like adding NULL ptr
exception in next patch and therefore now you add some additional checks
for that future NULL ptr exception.
Solution is: do not add NULL ptr exception...
> 134, 17], [25, 146, 0], [25, 148, 17], [25, 150, 17], [25, 152, 1], [25,
> 159, 0]] is too long
> from schema $id: http://devicetree.org/schemas/dma/qcom,bam-dma.yaml
Best regards,
Krzysztof