Lines Matching full:lpcg

19 #include "clk-imx8qxp-lpcg.h"
24 * struct imx8qxp_lpcg_data - Description of one LPCG clock
29 * @offset: offset of this LPCG clock
30 * @bit_idx: bit index of this LPCG clock
33 * This structure describes one LPCG clock
46 * struct imx8qxp_ss_lpcg - Description of one subsystem LPCG clocks
47 * @lpcg: LPCG clocks array of one subsystem
48 * @num_lpcg: the number of LPCG clocks
49 * @num_max: the maximum number of LPCG clocks
51 * This structure describes each subsystem LPCG clocks information
55 const struct imx8qxp_lpcg_data *lpcg; member
85 .lpcg = imx8qxp_lpcg_adma,
113 .lpcg = imx8qxp_lpcg_conn,
157 .lpcg = imx8qxp_lpcg_lsio,
193 if (!of_device_is_compatible(np, "fsl,imx8qxp-lpcg")) in imx_lpcg_parse_clks_from_dt()
209 * of the count from clock-indices because one LPCG supports up to in imx_lpcg_parse_clks_from_dt()
297 const struct imx8qxp_lpcg_data *lpcg; in imx8qxp_lpcg_clk_probe() local
320 * On imx8 the LPCG nodes map entire subsystems and overlap in imx8qxp_lpcg_clk_probe()
340 lpcg = ss_lpcg->lpcg + i; in imx8qxp_lpcg_clk_probe()
341 clks[lpcg->id] = imx_clk_lpcg_scu(lpcg->name, lpcg->parent, in imx8qxp_lpcg_clk_probe()
342 lpcg->flags, base + lpcg->offset, in imx8qxp_lpcg_clk_probe()
343 lpcg->bit_idx, lpcg->hw_gate); in imx8qxp_lpcg_clk_probe()
356 { .compatible = "fsl,imx8qxp-lpcg-adma", &imx8qxp_ss_adma, },
357 { .compatible = "fsl,imx8qxp-lpcg-conn", &imx8qxp_ss_conn, },
358 { .compatible = "fsl,imx8qxp-lpcg-lsio", &imx8qxp_ss_lsio, },
359 { .compatible = "fsl,imx8qxp-lpcg", NULL },
365 .name = "imx8qxp-lpcg-clk",
376 MODULE_DESCRIPTION("NXP i.MX8QXP LPCG clock driver");