Lines Matching full:cgu
3 * Ingenic JZ4755 SoC CGU driver
4 * Heavily based on JZ4725b CGU driver
14 #include <dt-bindings/clock/ingenic,jz4755-cgu.h>
16 #include "cgu.h"
19 /* CGU register offsets */
30 static struct ingenic_cgu *cgu; variable
329 cgu = ingenic_cgu_new(jz4755_cgu_clocks, in jz4755_cgu_init()
331 if (!cgu) { in jz4755_cgu_init()
332 pr_err("%s: failed to initialise CGU\n", __func__); in jz4755_cgu_init()
336 retval = ingenic_cgu_register_clocks(cgu); in jz4755_cgu_init()
338 pr_err("%s: failed to register CGU Clocks\n", __func__); in jz4755_cgu_init()
340 ingenic_cgu_register_syscore_ops(cgu); in jz4755_cgu_init()
343 * CGU has some children devices, this is useful for probing children devices
346 CLK_OF_DECLARE_DRIVER(jz4755_cgu, "ingenic,jz4755-cgu", jz4755_cgu_init);