Lines Matching +full:pll +full:- +full:source
1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/clk-provider.h>
18 * fsl_asoc_get_dma_channel - determine the dma channel for a SSI node
42 return -EINVAL; in fsl_asoc_get_dma_channel()
44 if (!of_device_is_compatible(dma_channel_np, "fsl,ssi-dma-channel")) { in fsl_asoc_get_dma_channel()
46 return -EINVAL; in fsl_asoc_get_dma_channel()
55 * dai->platform name should already point to an allocated buffer. in fsl_asoc_get_dma_channel()
62 snprintf((char *)dai->platforms->name, DAI_NAME_SIZE, "%llx.%pOFn", in fsl_asoc_get_dma_channel()
65 iprop = of_get_property(dma_channel_np, "cell-index", NULL); in fsl_asoc_get_dma_channel()
68 return -EINVAL; in fsl_asoc_get_dma_channel()
73 iprop = of_get_property(dma_np, "cell-index", NULL); in fsl_asoc_get_dma_channel()
77 return -EINVAL; in fsl_asoc_get_dma_channel()
89 * fsl_asoc_get_pll_clocks - get two PLL clock source
92 * @pll8k_clk: PLL clock pointer for 8kHz
93 * @pll11k_clk: PLL clock pointer for 11kHz
95 * This function get two PLL clock source
111 * fsl_asoc_reparent_pll_clocks - set clock parent if necessary
115 * @pll8k_clk: PLL clock pointer for 8kHz
116 * @pll11k_clk: PLL clock pointer for 11kHz
125 struct clk *p, *pll = NULL, *npll = NULL; in fsl_asoc_reparent_pll_clocks() local
138 pll = pp; in fsl_asoc_reparent_pll_clocks()
145 reparent = (pll && !clk_is_match(pll, npll)); in fsl_asoc_reparent_pll_clocks()