Re: [PATCH v5 01/11] ASoC: dt-bindings: renesas,fsi: add support multiple clocks

From: Krzysztof Kozlowski

Date: Tue Jun 09 2026 - 02:56:45 EST


On Tue, Jun 09, 2026 at 08:30:57AM +0700, phucduc.bui@xxxxxxxxx wrote:
> + clock-names:
> + minItems: 1
> + maxItems: 8
> + items:
> + enum:
> + - fck # Main FSI module clock
> + - spu # optional SPU bus/bridge clock
> + - icka # optional CPG DIV6 functional clocks for FSI port A
> + - ickb # optional CPG DIV6 functional clocks for FSI port B
> + - diva # optional FSI dividers for port A used for audio clock generation
> + - divb # optional FSI dividers for port B used for audio clock generation
> + - xcka # optional External clock inputs for FSI port A provided by the board
> + - xckb # optional External clock inputs for FSI port B provided by the board
>
> power-domains:
> maxItems: 1
> @@ -69,6 +91,31 @@ required:
>
> unevaluatedProperties: false
>
> +allOf:
> + - $ref: dai-common.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: renesas,fsi2-r8a7740
> + then:
> + required:
> + - clock-names
> +
> + properties:
> + clock-names:
> + minItems: 2
> + uniqueItems: true

You don't need this, it's by default.

> + items:
> + - const: fck
> + - const: spu
> + - enum: [icka, ickb, diva, divb, xcka, xckb]
> + - enum: [icka, ickb, diva, divb, xcka, xckb]
> + - enum: [icka, ickb, diva, divb, xcka, xckb]
> + - enum: [icka, ickb, diva, divb, xcka, xckb]
> + - enum: [icka, ickb, diva, divb, xcka, xckb]
> + - enum: [icka, ickb, diva, divb, xcka, xckb]

Are all optional in the board design? I cannot find answers to that in
commit msg, but it is important - you need to explain WHY you are doing
this and WHY such different way.


Best regards,
Krzysztof