Lines Matching +full:imx8mp +full:- +full:audio +full:- +full:blk +full:- +full:ctrl
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for i.MX8M Plus Audio BLK_CTRL
8 #include <linux/clk-provider.h>
15 #include <dt-bindings/clock/imx8mp-clock.h>
183 struct device *dev = &pdev->dev; in clk_imx8mp_audiomix_probe()
192 return -ENOMEM; in clk_imx8mp_audiomix_probe()
194 priv->num = IMX8MP_CLK_AUDIOMIX_END; in clk_imx8mp_audiomix_probe()
217 priv->hws[sels[i].clkid] = hw; in clk_imx8mp_audiomix_probe()
226 priv->hws[IMX8MP_CLK_AUDIOMIX_SAI_PLL_REF_SEL] = hw; in clk_imx8mp_audiomix_probe()
232 priv->hws[IMX8MP_CLK_AUDIOMIX_SAI_PLL] = hw; in clk_imx8mp_audiomix_probe()
241 priv->hws[IMX8MP_CLK_AUDIOMIX_SAI_PLL_BYPASS] = hw; in clk_imx8mp_audiomix_probe()
248 priv->hws[IMX8MP_CLK_AUDIOMIX_SAI_PLL_OUT] = hw; in clk_imx8mp_audiomix_probe()
255 return devm_of_clk_add_hw_provider(&pdev->dev, of_clk_hw_onecell_get, in clk_imx8mp_audiomix_probe()
260 { .compatible = "fsl,imx8mp-audio-blk-ctrl" },
268 .name = "imx8mp-audio-blk-ctrl",
276 MODULE_DESCRIPTION("Freescale i.MX8MP Audio Block Controller driver");