summaryrefslogtreecommitdiffstats
path: root/drivers/clk/rockchip/Makefile
diff options
context:
space:
mode:
authorAlexandru M Stan <amstan@chromium.org>2014-11-27 02:30:27 +0100
committerHeiko Stuebner <heiko@sntech.de>2014-11-28 00:44:24 +0100
commit89bf26cbc1a09476c4c4740d16a0ffdfa2192b9c (patch)
tree954a8753ce27fbd5ee9b0cc9fe4adeaa4d9d15bc /drivers/clk/rockchip/Makefile
parentclk: rockchip: add bindings for the mmc clocks (diff)
downloadlinux-89bf26cbc1a09476c4c4740d16a0ffdfa2192b9c.tar.xz
linux-89bf26cbc1a09476c4c4740d16a0ffdfa2192b9c.zip
clk: rockchip: Add support for the mmc clock phases using the framework
This patch adds the 2 physical clocks for the mmc (drive and sample). They're mostly there for the phase properties, but they also show the true clock (by dividing by RK3288_MMC_CLKGEN_DIV). The drive and sample phases are generated by dividing an upstream parent clock by 2, this allows us to adjust the phase by 90 deg. There's also an option to have up to 255 delay elements (40-80 picoseconds long). This driver uses those elements (under the assumption that they're 60 ps long) to generate approximate 22.5 degrees options. 67.5 (22.5*3) might be as high as 90 deg if the delay elements are as big as 80 ps, so a finer division (smaller than 22.5) was not picked because the phase might not be monotonic anymore. Suggested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Alexandru M Stan <amstan@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/clk/rockchip/Makefile')
-rw-r--r--drivers/clk/rockchip/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/Makefile b/drivers/clk/rockchip/Makefile
index bd8514d63634..2714097f90db 100644
--- a/drivers/clk/rockchip/Makefile
+++ b/drivers/clk/rockchip/Makefile
@@ -6,6 +6,7 @@ obj-y += clk-rockchip.o
obj-y += clk.o
obj-y += clk-pll.o
obj-y += clk-cpu.o
+obj-y += clk-mmc-phase.o
obj-$(CONFIG_RESET_CONTROLLER) += softrst.o
obj-y += clk-rk3188.o