Skip to content
Commit 0b36b7cd authored by Nícolas F. R. A. Prado's avatar Nícolas F. R. A. Prado Committed by Ulf Hansson
Browse files

dt-bindings: mmc: mtk-sd: Set clocks based on compatible



The binding was describing a single clock list for all platforms, but
that's not really suitable:

Most platforms using at least 2 clocks (source, hclk), some of them
a third "source_cg". Mt2712 requires an extra 'bus_clk' on some of
its controllers, while mt8192 requires 8 clocks.

Move the clock definitions inside if blocks that match on the
compatibles.

I used Patch from Nícolas F. R. A. Prado and modified it to not using
"not" statement.

Fixes: 59a23395 ("dt-bindings: mmc: Add support for MT8192 SoC")
Signed-off-by: default avatarNícolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: default avatarFrank Wunderlich <frank-w@public-files.de>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221025132953.81286-2-linux@fw-web.de


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 1ad0dcb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment