Skip to content

clk: ralink: mtmips: some fixes and sdhc clock support

Sergio Paracuellos linux-clk lkml 1 version Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3clk: ralink: mtmips: fix clock plan for Ralink SoC RT3883drivers/clk/ralink/clk-mtmips.c+7 -21 reply
2/3clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCsdrivers/clk/ralink/clk-mtmips.c+13 -81 reply
3/3clk: ralink: mtmips: add mmc related clocks for SoCs MT7620, MT7628 and MT7688drivers/clk/ralink/clk-mtmips.c+23 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.25.1