[PATCH 0/3] clk: ralink: mtmips: some fixes and sdhc clock support

From: Sergio Paracuellos
Date: Tue Sep 10 2024 - 00:40:41 EST


Hi Stephen,

The following first two patches contains several fixes for having a correct
clock plan from the beggining in old ralink SoCs that could not be tested
when the driver was mainlained due to the lack of users. Now some issues
have been reported regarding RT3883 in openWRT[0] so I am addressing and
fixing them here.

The last patch adds new clocks to properly support sdhc 48 MHz clock for
Mt7620, Mt7628 and Mt7688 SoCs. OpenWRT people updated to use SDHC upstream
driver so they were forced to add a not desired fixed dts node[1] to make it
works. The correct thing to do is just support it in mtmips driver. Hence
we have add it here.

Thanks in advance for your time.

Best regards,
Sergio Paracuellos

[0]: https://github.com/openwrt/openwrt/issues/16054
[1]: https://github.com/openwrt/openwrt/pull/15896/files

Sergio Paracuellos (3):
clk: ralink: mtmips: fix clock plan for Ralink SoC RT3883
clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs
clk: ralink: mtmips: add mmc related clocks for SoCs MT7620, MT7628
and MT7688

drivers/clk/ralink/clk-mtmips.c | 56 ++++++++++++++++++++++++---------
1 file changed, 41 insertions(+), 15 deletions(-)

--
2.25.1