Re: [PATCH] dt-bindings: mmc: samsung,exynos-dw-mshc: Make both clocks required
From: Krzysztof Kozlowski
Date: Fri Mar 06 2026 - 06:50:36 EST
On 06/03/2026 12:27, Ulf Hansson wrote:
> The current binding allows one or two clocks to be specified, which is
It allows only 2 clocks, unless you meant that referenced dw-mshc schema
allows one clock. I don't see it there, so I am a bit confused.
> wrong, as both clocks are needed. This is also confirmed by looking at the
> exiting upstream DTS files. Let's update the binding to fix this.
>
> Cc: Ping Gao <ping.gao@xxxxxxxxxxx>
> Reported-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
> ---
> .../devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml
> index 27c4060f2f91..3e560dde714e 100644
> --- a/Documentation/devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/samsung,exynos-dw-mshc.yaml
> @@ -42,6 +42,7 @@ properties:
> maxItems: 1
>
> clocks:
> + minItems: 2
That's redundant, 2 clocks are already implied.
> maxItems: 2
Best regards,
Krzysztof