diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2015-02-12 01:01:26 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-03-02 07:52:03 -0500 |
commit | 8f21d8d42802a68daef5a34daca8b61df96ff8c6 (patch) | |
tree | 5d62d42e45cce7d74f75dc84c507b1ad8200da38 | |
parent | 5f80e19081e233698c8ea77ed2dd84a66f49fc54 (diff) |
ARM: imx6q: clk: Add the video_27m clock
This patch supports the video_27m clock which is a fixed factor
clock of the pll3_pfd1_540m clock.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r-- | arch/arm/mach-imx/clk-imx6q.c | 1 | ||||
-rw-r--r-- | include/dt-bindings/clock/imx6qdl-clock.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index d04a430607b8..8335bfc14a58 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c | |||
@@ -246,6 +246,7 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) | |||
246 | clk[IMX6QDL_CLK_PLL3_60M] = imx_clk_fixed_factor("pll3_60m", "pll3_usb_otg", 1, 8); | 246 | clk[IMX6QDL_CLK_PLL3_60M] = imx_clk_fixed_factor("pll3_60m", "pll3_usb_otg", 1, 8); |
247 | clk[IMX6QDL_CLK_TWD] = imx_clk_fixed_factor("twd", "arm", 1, 2); | 247 | clk[IMX6QDL_CLK_TWD] = imx_clk_fixed_factor("twd", "arm", 1, 2); |
248 | clk[IMX6QDL_CLK_GPT_3M] = imx_clk_fixed_factor("gpt_3m", "osc", 1, 8); | 248 | clk[IMX6QDL_CLK_GPT_3M] = imx_clk_fixed_factor("gpt_3m", "osc", 1, 8); |
249 | clk[IMX6QDL_CLK_VIDEO_27M] = imx_clk_fixed_factor("video_27m", "pll3_pfd1_540m", 1, 20); | ||
249 | if (cpu_is_imx6dl()) { | 250 | if (cpu_is_imx6dl()) { |
250 | clk[IMX6QDL_CLK_GPU2D_AXI] = imx_clk_fixed_factor("gpu2d_axi", "mmdc_ch0_axi_podf", 1, 1); | 251 | clk[IMX6QDL_CLK_GPU2D_AXI] = imx_clk_fixed_factor("gpu2d_axi", "mmdc_ch0_axi_podf", 1, 1); |
251 | clk[IMX6QDL_CLK_GPU3D_AXI] = imx_clk_fixed_factor("gpu3d_axi", "mmdc_ch0_axi_podf", 1, 1); | 252 | clk[IMX6QDL_CLK_GPU3D_AXI] = imx_clk_fixed_factor("gpu3d_axi", "mmdc_ch0_axi_podf", 1, 1); |
diff --git a/include/dt-bindings/clock/imx6qdl-clock.h b/include/dt-bindings/clock/imx6qdl-clock.h index b690cdba163b..25625bf3927b 100644 --- a/include/dt-bindings/clock/imx6qdl-clock.h +++ b/include/dt-bindings/clock/imx6qdl-clock.h | |||
@@ -248,6 +248,7 @@ | |||
248 | #define IMX6QDL_PLL6_BYPASS 235 | 248 | #define IMX6QDL_PLL6_BYPASS 235 |
249 | #define IMX6QDL_PLL7_BYPASS 236 | 249 | #define IMX6QDL_PLL7_BYPASS 236 |
250 | #define IMX6QDL_CLK_GPT_3M 237 | 250 | #define IMX6QDL_CLK_GPT_3M 237 |
251 | #define IMX6QDL_CLK_END 238 | 251 | #define IMX6QDL_CLK_VIDEO_27M 238 |
252 | #define IMX6QDL_CLK_END 239 | ||
252 | 253 | ||
253 | #endif /* __DT_BINDINGS_CLOCK_IMX6QDL_H */ | 254 | #endif /* __DT_BINDINGS_CLOCK_IMX6QDL_H */ |