jz4770-cgu.c (cbd32a1c56e36fedaa93a727699188bd3e6e6f67) jz4770-cgu.c (03d570e1a4dc669457af2888999ecc9548fc0d2a)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * JZ4770 SoC CGU driver
4 * Copyright 2018, Paul Cercueil <paul@crapouillou.net>
5 */
6
7#include <linux/bitops.h>
8#include <linux/clk-provider.h>

--- 429 unchanged lines hidden (view full) ---

438 retval = ingenic_cgu_register_clocks(cgu);
439 if (retval)
440 pr_err("%s: failed to register CGU Clocks\n", __func__);
441
442 ingenic_cgu_register_syscore_ops(cgu);
443}
444
445/* We only probe via devicetree, no need for a platform driver */
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * JZ4770 SoC CGU driver
4 * Copyright 2018, Paul Cercueil <paul@crapouillou.net>
5 */
6
7#include <linux/bitops.h>
8#include <linux/clk-provider.h>

--- 429 unchanged lines hidden (view full) ---

438 retval = ingenic_cgu_register_clocks(cgu);
439 if (retval)
440 pr_err("%s: failed to register CGU Clocks\n", __func__);
441
442 ingenic_cgu_register_syscore_ops(cgu);
443}
444
445/* We only probe via devicetree, no need for a platform driver */
446CLK_OF_DECLARE(jz4770_cgu, "ingenic,jz4770-cgu", jz4770_cgu_init);
446CLK_OF_DECLARE_DRIVER(jz4770_cgu, "ingenic,jz4770-cgu", jz4770_cgu_init);