Re: [PATCH v2 08/10] dt-bindings: sound: Add support for QMC audio

From: Krzysztof Kozlowski
Date: Wed Jan 11 2023 - 05:02:11 EST


On 10/01/2023 09:07, Herve Codina wrote:
>>> + qmc-chan:
>>
>> Missing vendor prefix.
>
> Will be changed to 'fsl,qmc-chan'
>
>>
>>> + $ref: /schemas/types.yaml#/definitions/phandle-array
>>
>> Why this is not a phandle?
>
> I have try '$ref: /schemas/types.yaml#/definitions/phandle'
>
> I have an error from make dt_binding_check:
> dai@16:fsl,qmc-chan:0: [4294967295, 16] is too long
>
> I need a phandle with an argument ie <&qmc 16>.
> Is there an alternative to phandle-array to handle this case ?

OK, then you need items like here:
https://elixir.bootlin.com/linux/v5.18-rc1/source/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml#L42


Best regards,
Krzysztof