Lines Matching full:cgu
3 * Ingenic JZ4740 SoC CGU driver
14 #include <dt-bindings/clock/ingenic,jz4740-cgu.h>
16 #include "cgu.h"
19 /* CGU register offsets */
48 static struct ingenic_cgu *cgu; variable
258 cgu = ingenic_cgu_new(jz4740_cgu_clocks, in jz4740_cgu_init()
260 if (!cgu) { in jz4740_cgu_init()
261 pr_err("%s: failed to initialise CGU\n", __func__); in jz4740_cgu_init()
265 retval = ingenic_cgu_register_clocks(cgu); in jz4740_cgu_init()
267 pr_err("%s: failed to register CGU Clocks\n", __func__); in jz4740_cgu_init()
269 ingenic_cgu_register_syscore_ops(cgu); in jz4740_cgu_init()
271 CLK_OF_DECLARE_DRIVER(jz4740_cgu, "ingenic,jz4740-cgu", jz4740_cgu_init);