Lines Matching full:cgu
3 * Ingenic JZ4725B SoC CGU driver
13 #include <dt-bindings/clock/ingenic,jz4725b-cgu.h>
15 #include "cgu.h"
18 /* CGU register offsets */
33 static struct ingenic_cgu *cgu; variable
260 cgu = ingenic_cgu_new(jz4725b_cgu_clocks, in jz4725b_cgu_init()
262 if (!cgu) { in jz4725b_cgu_init()
263 pr_err("%s: failed to initialise CGU\n", __func__); in jz4725b_cgu_init()
267 retval = ingenic_cgu_register_clocks(cgu); in jz4725b_cgu_init()
269 pr_err("%s: failed to register CGU Clocks\n", __func__); in jz4725b_cgu_init()
271 ingenic_cgu_register_syscore_ops(cgu); in jz4725b_cgu_init()
273 CLK_OF_DECLARE_DRIVER(jz4725b_cgu, "ingenic,jz4725b-cgu", jz4725b_cgu_init);