Lines Matching +full:lcdif +full:- +full:pix
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2013-2014 Freescale Semiconductor, Inc.
14 #include <dt-bindings/clock/imx6sl-clock.h>
123 * 396MHz -> 132MHz;
124 * 792MHz -> 158.4MHz;
125 * 996MHz -> 142.3MHz;
193 clk_hw_data->num = IMX6SL_CLK_END; in imx6sl_clocks_init()
194 hws = clk_hw_data->hws; in imx6sl_clocks_init()
202 np = of_find_compatible_node(NULL, NULL, "fsl,imx6sl-anatop"); in imx6sl_clocks_init()
234 clk_set_parent(hws[IMX6SL_PLL1_BYPASS]->clk, hws[IMX6SL_CLK_PLL1]->clk); in imx6sl_clocks_init()
235 clk_set_parent(hws[IMX6SL_PLL2_BYPASS]->clk, hws[IMX6SL_CLK_PLL2]->clk); in imx6sl_clocks_init()
236 clk_set_parent(hws[IMX6SL_PLL3_BYPASS]->clk, hws[IMX6SL_CLK_PLL3]->clk); in imx6sl_clocks_init()
237 clk_set_parent(hws[IMX6SL_PLL4_BYPASS]->clk, hws[IMX6SL_CLK_PLL4]->clk); in imx6sl_clocks_init()
238 clk_set_parent(hws[IMX6SL_PLL5_BYPASS]->clk, hws[IMX6SL_CLK_PLL5]->clk); in imx6sl_clocks_init()
239 clk_set_parent(hws[IMX6SL_PLL6_BYPASS]->clk, hws[IMX6SL_CLK_PLL6]->clk); in imx6sl_clocks_init()
240 clk_set_parent(hws[IMX6SL_PLL7_BYPASS]->clk, hws[IMX6SL_CLK_PLL7]->clk); in imx6sl_clocks_init()
423 ret = clk_set_rate(hws[IMX6SL_CLK_AHB]->clk, 132000000); in imx6sl_clocks_init()
429 clk_prepare_enable(hws[IMX6SL_CLK_USBPHY1_GATE]->clk); in imx6sl_clocks_init()
430 clk_prepare_enable(hws[IMX6SL_CLK_USBPHY2_GATE]->clk); in imx6sl_clocks_init()
433 /* Audio-related clocks configuration */ in imx6sl_clocks_init()
434 clk_set_parent(hws[IMX6SL_CLK_SPDIF0_SEL]->clk, hws[IMX6SL_CLK_PLL3_PFD3]->clk); in imx6sl_clocks_init()
436 /* set PLL5 video as lcdif pix parent clock */ in imx6sl_clocks_init()
437 clk_set_parent(hws[IMX6SL_CLK_LCDIF_PIX_SEL]->clk, in imx6sl_clocks_init()
438 hws[IMX6SL_CLK_PLL5_VIDEO_DIV]->clk); in imx6sl_clocks_init()
440 clk_set_parent(hws[IMX6SL_CLK_LCDIF_AXI_SEL]->clk, in imx6sl_clocks_init()
441 hws[IMX6SL_CLK_PLL2_PFD2]->clk); in imx6sl_clocks_init()
445 CLK_OF_DECLARE(imx6sl, "fsl,imx6sl-ccm", imx6sl_clocks_init);