Lines Matching full:lpcg
17 #include "clk-imx8qxp-lpcg.h"
22 * struct imx8qxp_lpcg_data - Description of one LPCG clock
27 * @offset: offset of this LPCG clock
28 * @bit_idx: bit index of this LPCG clock
31 * This structure describes one LPCG clock
44 * struct imx8qxp_ss_lpcg - Description of one subsystem LPCG clocks
45 * @lpcg: LPCG clocks array of one subsystem
46 * @num_lpcg: the number of LPCG clocks
47 * @num_max: the maximum number of LPCG clocks
49 * This structure describes each subsystem LPCG clocks information
53 const struct imx8qxp_lpcg_data *lpcg; member
83 .lpcg = imx8qxp_lpcg_adma,
111 .lpcg = imx8qxp_lpcg_conn,
155 .lpcg = imx8qxp_lpcg_lsio,
190 if (!of_device_is_compatible(np, "fsl,imx8qxp-lpcg")) in imx_lpcg_parse_clks_from_dt()
205 * of the count from clock-indices because one LPCG supports up to in imx_lpcg_parse_clks_from_dt()
293 const struct imx8qxp_lpcg_data *lpcg; in imx8qxp_lpcg_clk_probe() local
316 * On imx8 the LPCG nodes map entire subsystems and overlap in imx8qxp_lpcg_clk_probe()
336 lpcg = ss_lpcg->lpcg + i; in imx8qxp_lpcg_clk_probe()
337 clks[lpcg->id] = imx_clk_lpcg_scu(lpcg->name, lpcg->parent, in imx8qxp_lpcg_clk_probe()
338 lpcg->flags, base + lpcg->offset, in imx8qxp_lpcg_clk_probe()
339 lpcg->bit_idx, lpcg->hw_gate); in imx8qxp_lpcg_clk_probe()
352 { .compatible = "fsl,imx8qxp-lpcg-adma", &imx8qxp_ss_adma, },
353 { .compatible = "fsl,imx8qxp-lpcg-conn", &imx8qxp_ss_conn, },
354 { .compatible = "fsl,imx8qxp-lpcg-lsio", &imx8qxp_ss_lsio, },
355 { .compatible = "fsl,imx8qxp-lpcg", NULL },
361 .name = "imx8qxp-lpcg-clk",
372 MODULE_DESCRIPTION("NXP i.MX8QXP LPCG clock driver");