summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2024-09-10 07:40:24 +0300
committerStephen Boyd <sboyd@kernel.org>2024-11-14 23:49:29 +0300
commit198675bbc03d437fb80a35d781ad13d622d0ff68 (patch)
tree9a3ca4a2d0464299ad83b14d639f7858c3de1822 /drivers/Makefile
parentd34db686a3d74bd564bfce2ada15011c556269fc (diff)
downloadlinux-198675bbc03d437fb80a35d781ad13d622d0ff68.tar.xz
clk: ralink: mtmips: add mmc related clocks for SoCs MT7620, MT7628 and MT7688
Original architecture clock code from where this driver was derived did not include nothing related to mmc clocks. OpenWRT people started to use mtk-sd upstream driver recently and they were forced to use a dts 'fixed-clock' node with 48 MHz clock: - https://github.com/openwrt/openwrt/pull/15896 The proper thing to do to avoid that is to add the mmc related clocks to the driver to avoid a dts with fixed clocks nodes. The minimal documentation in the mt7620 programming guide says that there is a BBP_PLL clock of 480 MHz derived from the 40 MHz XTAL and from there a clock divider by ten produces the desired SDHC clock of 48 MHz for the mmc. Hence add a fixed clock 'bbppll' and factor clock 'sdhc' ten divider child to properly set the 'mmc' peripheral clock with the desired 48 Mhz rate. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20240910044024.120009-4-sergio.paracuellos@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions