Home
last modified time | relevance | path

Searched full:ipg_clk (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/fsl-dcu/
Dfsl_tcon.c80 tcon->ipg_clk = of_clk_get_by_name(np, "ipg"); in fsl_tcon_init()
81 if (IS_ERR(tcon->ipg_clk)) { in fsl_tcon_init()
86 ret = clk_prepare_enable(tcon->ipg_clk); in fsl_tcon_init()
104 clk_disable_unprepare(tcon->ipg_clk); in fsl_tcon_free()
105 clk_put(tcon->ipg_clk); in fsl_tcon_free()
Dfsl_tcon.h20 struct clk *ipg_clk; member
/Linux-v6.1/drivers/irqchip/
Dirq-imx-irqsteer.c30 struct clk *ipg_clk; member
158 data->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in imx_irqsteer_probe()
159 if (IS_ERR(data->ipg_clk)) in imx_irqsteer_probe()
160 return dev_err_probe(&pdev->dev, PTR_ERR(data->ipg_clk), in imx_irqsteer_probe()
187 ret = clk_prepare_enable(data->ipg_clk); in imx_irqsteer_probe()
229 clk_disable_unprepare(data->ipg_clk); in imx_irqsteer_probe()
244 clk_disable_unprepare(irqsteer_data->ipg_clk); in imx_irqsteer_remove()
274 clk_disable_unprepare(irqsteer_data->ipg_clk); in imx_irqsteer_suspend()
284 ret = clk_prepare_enable(irqsteer_data->ipg_clk); in imx_irqsteer_resume()
Dirq-imx-intmux.c73 struct clk *ipg_clk; member
224 data->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in imx_intmux_probe()
225 if (IS_ERR(data->ipg_clk)) in imx_intmux_probe()
226 return dev_err_probe(&pdev->dev, PTR_ERR(data->ipg_clk), in imx_intmux_probe()
236 ret = clk_prepare_enable(data->ipg_clk); in imx_intmux_probe()
280 clk_disable_unprepare(data->ipg_clk); in imx_intmux_probe()
316 clk_disable_unprepare(data->ipg_clk); in imx_intmux_runtime_suspend()
327 ret = clk_prepare_enable(data->ipg_clk); in imx_intmux_runtime_resume()
/Linux-v6.1/drivers/pwm/
Dpwm-fsl-ftm.c51 struct clk *ipg_clk; member
94 ret = clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_request()
116 clk_disable_unprepare(fpc->ipg_clk); in fsl_pwm_free()
365 ret = clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_init()
373 clk_disable_unprepare(fpc->ipg_clk); in fsl_pwm_init()
445 * ipg_clk is the interface clock for the IP. If not provided, use the in fsl_pwm_probe()
448 fpc->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in fsl_pwm_probe()
449 if (IS_ERR(fpc->ipg_clk)) in fsl_pwm_probe()
450 fpc->ipg_clk = fpc->clk[FSL_PWM_CLK_SYS]; in fsl_pwm_probe()
482 clk_disable_unprepare(fpc->ipg_clk); in fsl_pwm_suspend()
[all …]
/Linux-v6.1/drivers/iio/adc/
Dimx8qxp-adc.c93 struct clk *ipg_clk; member
332 adc->ipg_clk = devm_clk_get(dev, "ipg"); in imx8qxp_adc_probe()
333 if (IS_ERR(adc->ipg_clk)) in imx8qxp_adc_probe()
334 return dev_err_probe(dev, PTR_ERR(adc->ipg_clk), "Failed getting clock\n"); in imx8qxp_adc_probe()
362 ret = clk_prepare_enable(adc->ipg_clk); in imx8qxp_adc_probe()
391 clk_disable_unprepare(adc->ipg_clk); in imx8qxp_adc_probe()
413 clk_disable_unprepare(adc->ipg_clk); in imx8qxp_adc_remove()
430 clk_disable_unprepare(adc->ipg_clk); in imx8qxp_adc_runtime_suspend()
454 ret = clk_prepare_enable(adc->ipg_clk); in imx8qxp_adc_runtime_resume()
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dfsl,micfil.yaml51 - const: ipg_clk
82 clock-names = "ipg_clk", "ipg_clk_app";
/Linux-v6.1/sound/soc/fsl/
Dfsl_asrc_common.h63 * @ipg_clk: clock source to drive peripheral
85 struct clk *ipg_clk; member
Dfsl_audmix.c477 priv->ipg_clk = devm_clk_get(dev, "ipg"); in fsl_audmix_probe()
478 if (IS_ERR(priv->ipg_clk)) { in fsl_audmix_probe()
480 return PTR_ERR(priv->ipg_clk); in fsl_audmix_probe()
527 ret = clk_prepare_enable(priv->ipg_clk); in fsl_audmix_runtime_resume()
545 clk_disable_unprepare(priv->ipg_clk); in fsl_audmix_runtime_suspend()
Dfsl_asrc.c999 * On iMX6, ipg_clk = 133MHz, REG_ASR76K = 0x06D6, REG_ASR56K = 0x0947 in fsl_asrc_init()
1001 ipg_rate = clk_get_rate(asrc->ipg_clk); in fsl_asrc_init()
1123 asrc->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in fsl_asrc_probe()
1124 if (IS_ERR(asrc->ipg_clk)) { in fsl_asrc_probe()
1126 return PTR_ERR(asrc->ipg_clk); in fsl_asrc_probe()
1275 ret = clk_prepare_enable(asrc->ipg_clk); in fsl_asrc_runtime_resume()
1333 clk_disable_unprepare(asrc->ipg_clk); in fsl_asrc_runtime_resume()
1354 clk_disable_unprepare(asrc->ipg_clk); in fsl_asrc_runtime_suspend()
Dfsl_xcvr.c30 struct clk *ipg_clk; member
1152 xcvr->ipg_clk = devm_clk_get(dev, "ipg"); in fsl_xcvr_probe()
1153 if (IS_ERR(xcvr->ipg_clk)) { in fsl_xcvr_probe()
1155 return PTR_ERR(xcvr->ipg_clk); in fsl_xcvr_probe()
1281 clk_disable_unprepare(xcvr->ipg_clk); in fsl_xcvr_runtime_suspend()
1297 ret = clk_prepare_enable(xcvr->ipg_clk); in fsl_xcvr_runtime_resume()
1362 clk_disable_unprepare(xcvr->ipg_clk); in fsl_xcvr_runtime_resume()
Dfsl_audmix.h98 struct clk *ipg_clk; member
Dfsl_micfil.c624 /* ipg_clk is used to control the registers in fsl_micfil_probe()
634 micfil->busclk = devm_clk_get(&pdev->dev, "ipg_clk"); in fsl_micfil_probe()
/Linux-v6.1/drivers/soc/imx/
Dgpc.c462 struct clk *ipg_clk; in imx_gpc_probe() local
466 ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in imx_gpc_probe()
467 if (IS_ERR(ipg_clk)) in imx_gpc_probe()
468 return PTR_ERR(ipg_clk); in imx_gpc_probe()
469 ipg_rate_mhz = clk_get_rate(ipg_clk) / 1000000; in imx_gpc_probe()
/Linux-v6.1/drivers/tty/serial/
Dfsl_lpuart.c255 struct clk *ipg_clk; member
380 ret = clk_prepare_enable(sport->ipg_clk); in __lpuart_enable_clks()
386 clk_disable_unprepare(sport->ipg_clk); in __lpuart_enable_clks()
391 clk_disable_unprepare(sport->ipg_clk); in __lpuart_enable_clks()
402 return clk_get_rate(sport->ipg_clk); in lpuart_get_baud_clk_rate()
2621 ret = clk_prepare_enable(sport->ipg_clk); in lpuart_global_reset()
2639 clk_disable_unprepare(sport->ipg_clk); in lpuart_global_reset()
2657 clk_disable_unprepare(sport->ipg_clk); in lpuart_global_reset()
2702 sport->ipg_clk = devm_clk_get(&pdev->dev, "ipg"); in lpuart_probe()
2703 if (IS_ERR(sport->ipg_clk)) { in lpuart_probe()
[all …]
/Linux-v6.1/drivers/nvmem/
Dimx-ocotp.c253 * ipg_clk. OTP writes will work at maximum bus frequencies as long in imx_ocotp_set_imx6_timing()
257 * correctly that are independent of the ipg_clk. Those values are not in imx_ocotp_set_imx6_timing()
272 * of ipg_clk periods." where Tpgm and Trd refer to STROBE_PROG in imx_ocotp_set_imx6_timing()
/Linux-v6.1/Documentation/devicetree/bindings/net/
Dfsl,fec.yaml97 The "ahb", for MAC ipg_clk, ipg_clk_mac that are bus clock.
/Linux-v6.1/arch/arm64/boot/dts/freescale/
Dimx8mn.dtsi365 clock-names = "ipg_clk", "ipg_clk_app",
Dimx8mm.dtsi397 clock-names = "ipg_clk", "ipg_clk_app",