Re: [PATCH] dt-bindings: dmaengine: qcom: gpi: Add minItems for interrupts

From: Krzysztof Kozlowski
Date: Thu Apr 14 2022 - 07:45:12 EST


On 14/04/2022 12:25, Vinod Koul wrote:
>>> Interrupt lines for each GPI instance
>>> + minItems: 1
>>
>> This should be some real case minimum, not just 1. Unless really only
>> one interrupt is also possible in existing variations?
>
> So that depends on the channels available to use which can be worst case
> of 1. Maximum is 13.. Most of the controllers are between 12-13, but we
> dont want to change binding in future if controller has lesser channels
> right?

If the choice is per SoC-controller, then the best would be to limit in
allOf:if:then. However maybe the number of channels depends also on
other factor (e.g. secure world configuration)?


Best regards,
Krzysztof