128f3be51SDmitry Rokosov // SPDX-License-Identifier: GPL-2.0+ 228f3be51SDmitry Rokosov /* 328f3be51SDmitry Rokosov * Copyright (c) 2019 Amlogic, Inc. All rights reserved. 428f3be51SDmitry Rokosov * Author: Jian Hu <jian.hu@amlogic.com> 528f3be51SDmitry Rokosov * 628f3be51SDmitry Rokosov * Copyright (c) 2023, SberDevices. All Rights Reserved. 728f3be51SDmitry Rokosov * Author: Dmitry Rokosov <ddrokosov@sberdevices.ru> 828f3be51SDmitry Rokosov */ 928f3be51SDmitry Rokosov 1028f3be51SDmitry Rokosov #include <linux/clk-provider.h> 1128f3be51SDmitry Rokosov #include <linux/of_device.h> 1228f3be51SDmitry Rokosov #include <linux/platform_device.h> 1328f3be51SDmitry Rokosov #include "a1-pll.h" 1428f3be51SDmitry Rokosov #include "clk-regmap.h" 15*c3f2801bSNeil Armstrong #include "meson-clkc-utils.h" 1628f3be51SDmitry Rokosov 1728f3be51SDmitry Rokosov static struct clk_regmap fixed_pll_dco = { 1828f3be51SDmitry Rokosov .data = &(struct meson_clk_pll_data){ 1928f3be51SDmitry Rokosov .en = { 2028f3be51SDmitry Rokosov .reg_off = ANACTRL_FIXPLL_CTRL0, 2128f3be51SDmitry Rokosov .shift = 28, 2228f3be51SDmitry Rokosov .width = 1, 2328f3be51SDmitry Rokosov }, 2428f3be51SDmitry Rokosov .m = { 2528f3be51SDmitry Rokosov .reg_off = ANACTRL_FIXPLL_CTRL0, 2628f3be51SDmitry Rokosov .shift = 0, 2728f3be51SDmitry Rokosov .width = 8, 2828f3be51SDmitry Rokosov }, 2928f3be51SDmitry Rokosov .n = { 3028f3be51SDmitry Rokosov .reg_off = ANACTRL_FIXPLL_CTRL0, 3128f3be51SDmitry Rokosov .shift = 10, 3228f3be51SDmitry Rokosov .width = 5, 3328f3be51SDmitry Rokosov }, 3428f3be51SDmitry Rokosov .frac = { 3528f3be51SDmitry Rokosov .reg_off = ANACTRL_FIXPLL_CTRL1, 3628f3be51SDmitry Rokosov .shift = 0, 3728f3be51SDmitry Rokosov .width = 19, 3828f3be51SDmitry Rokosov }, 3928f3be51SDmitry Rokosov .l = { 4028f3be51SDmitry Rokosov .reg_off = ANACTRL_FIXPLL_STS, 4128f3be51SDmitry Rokosov .shift = 31, 4228f3be51SDmitry Rokosov .width = 1, 4328f3be51SDmitry Rokosov }, 4428f3be51SDmitry Rokosov .rst = { 4528f3be51SDmitry Rokosov .reg_off = ANACTRL_FIXPLL_CTRL0, 4628f3be51SDmitry Rokosov .shift = 29, 4728f3be51SDmitry Rokosov .width = 1, 4828f3be51SDmitry Rokosov }, 4928f3be51SDmitry Rokosov }, 5028f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 5128f3be51SDmitry Rokosov .name = "fixed_pll_dco", 5228f3be51SDmitry Rokosov .ops = &meson_clk_pll_ro_ops, 5328f3be51SDmitry Rokosov .parent_data = &(const struct clk_parent_data) { 5428f3be51SDmitry Rokosov .fw_name = "fixpll_in", 5528f3be51SDmitry Rokosov }, 5628f3be51SDmitry Rokosov .num_parents = 1, 5728f3be51SDmitry Rokosov }, 5828f3be51SDmitry Rokosov }; 5928f3be51SDmitry Rokosov 6028f3be51SDmitry Rokosov static struct clk_regmap fixed_pll = { 6128f3be51SDmitry Rokosov .data = &(struct clk_regmap_gate_data){ 6228f3be51SDmitry Rokosov .offset = ANACTRL_FIXPLL_CTRL0, 6328f3be51SDmitry Rokosov .bit_idx = 20, 6428f3be51SDmitry Rokosov }, 6528f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data) { 6628f3be51SDmitry Rokosov .name = "fixed_pll", 6728f3be51SDmitry Rokosov .ops = &clk_regmap_gate_ops, 6828f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 6928f3be51SDmitry Rokosov &fixed_pll_dco.hw 7028f3be51SDmitry Rokosov }, 7128f3be51SDmitry Rokosov .num_parents = 1, 7228f3be51SDmitry Rokosov }, 7328f3be51SDmitry Rokosov }; 7428f3be51SDmitry Rokosov 7528f3be51SDmitry Rokosov static const struct pll_mult_range hifi_pll_mult_range = { 7628f3be51SDmitry Rokosov .min = 32, 7728f3be51SDmitry Rokosov .max = 64, 7828f3be51SDmitry Rokosov }; 7928f3be51SDmitry Rokosov 8028f3be51SDmitry Rokosov static const struct reg_sequence hifi_init_regs[] = { 8128f3be51SDmitry Rokosov { .reg = ANACTRL_HIFIPLL_CTRL1, .def = 0x01800000 }, 8228f3be51SDmitry Rokosov { .reg = ANACTRL_HIFIPLL_CTRL2, .def = 0x00001100 }, 8328f3be51SDmitry Rokosov { .reg = ANACTRL_HIFIPLL_CTRL3, .def = 0x100a1100 }, 8428f3be51SDmitry Rokosov { .reg = ANACTRL_HIFIPLL_CTRL4, .def = 0x00302000 }, 8528f3be51SDmitry Rokosov { .reg = ANACTRL_HIFIPLL_CTRL0, .def = 0x01f18000 }, 8628f3be51SDmitry Rokosov }; 8728f3be51SDmitry Rokosov 8828f3be51SDmitry Rokosov static struct clk_regmap hifi_pll = { 8928f3be51SDmitry Rokosov .data = &(struct meson_clk_pll_data){ 9028f3be51SDmitry Rokosov .en = { 9128f3be51SDmitry Rokosov .reg_off = ANACTRL_HIFIPLL_CTRL0, 9228f3be51SDmitry Rokosov .shift = 28, 9328f3be51SDmitry Rokosov .width = 1, 9428f3be51SDmitry Rokosov }, 9528f3be51SDmitry Rokosov .m = { 9628f3be51SDmitry Rokosov .reg_off = ANACTRL_HIFIPLL_CTRL0, 9728f3be51SDmitry Rokosov .shift = 0, 9828f3be51SDmitry Rokosov .width = 8, 9928f3be51SDmitry Rokosov }, 10028f3be51SDmitry Rokosov .n = { 10128f3be51SDmitry Rokosov .reg_off = ANACTRL_HIFIPLL_CTRL0, 10228f3be51SDmitry Rokosov .shift = 10, 10328f3be51SDmitry Rokosov .width = 5, 10428f3be51SDmitry Rokosov }, 10528f3be51SDmitry Rokosov .frac = { 10628f3be51SDmitry Rokosov .reg_off = ANACTRL_HIFIPLL_CTRL1, 10728f3be51SDmitry Rokosov .shift = 0, 10828f3be51SDmitry Rokosov .width = 19, 10928f3be51SDmitry Rokosov }, 11028f3be51SDmitry Rokosov .l = { 11128f3be51SDmitry Rokosov .reg_off = ANACTRL_HIFIPLL_STS, 11228f3be51SDmitry Rokosov .shift = 31, 11328f3be51SDmitry Rokosov .width = 1, 11428f3be51SDmitry Rokosov }, 11528f3be51SDmitry Rokosov .current_en = { 11628f3be51SDmitry Rokosov .reg_off = ANACTRL_HIFIPLL_CTRL0, 11728f3be51SDmitry Rokosov .shift = 26, 11828f3be51SDmitry Rokosov .width = 1, 11928f3be51SDmitry Rokosov }, 12028f3be51SDmitry Rokosov .l_detect = { 12128f3be51SDmitry Rokosov .reg_off = ANACTRL_HIFIPLL_CTRL2, 12228f3be51SDmitry Rokosov .shift = 6, 12328f3be51SDmitry Rokosov .width = 1, 12428f3be51SDmitry Rokosov }, 12528f3be51SDmitry Rokosov .range = &hifi_pll_mult_range, 12628f3be51SDmitry Rokosov .init_regs = hifi_init_regs, 12728f3be51SDmitry Rokosov .init_count = ARRAY_SIZE(hifi_init_regs), 12828f3be51SDmitry Rokosov }, 12928f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 13028f3be51SDmitry Rokosov .name = "hifi_pll", 13128f3be51SDmitry Rokosov .ops = &meson_clk_pll_ops, 13228f3be51SDmitry Rokosov .parent_data = &(const struct clk_parent_data) { 13328f3be51SDmitry Rokosov .fw_name = "hifipll_in", 13428f3be51SDmitry Rokosov }, 13528f3be51SDmitry Rokosov .num_parents = 1, 13628f3be51SDmitry Rokosov }, 13728f3be51SDmitry Rokosov }; 13828f3be51SDmitry Rokosov 13928f3be51SDmitry Rokosov static struct clk_fixed_factor fclk_div2_div = { 14028f3be51SDmitry Rokosov .mult = 1, 14128f3be51SDmitry Rokosov .div = 2, 14228f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 14328f3be51SDmitry Rokosov .name = "fclk_div2_div", 14428f3be51SDmitry Rokosov .ops = &clk_fixed_factor_ops, 14528f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 14628f3be51SDmitry Rokosov &fixed_pll.hw 14728f3be51SDmitry Rokosov }, 14828f3be51SDmitry Rokosov .num_parents = 1, 14928f3be51SDmitry Rokosov }, 15028f3be51SDmitry Rokosov }; 15128f3be51SDmitry Rokosov 15228f3be51SDmitry Rokosov static struct clk_regmap fclk_div2 = { 15328f3be51SDmitry Rokosov .data = &(struct clk_regmap_gate_data){ 15428f3be51SDmitry Rokosov .offset = ANACTRL_FIXPLL_CTRL0, 15528f3be51SDmitry Rokosov .bit_idx = 21, 15628f3be51SDmitry Rokosov }, 15728f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 15828f3be51SDmitry Rokosov .name = "fclk_div2", 15928f3be51SDmitry Rokosov .ops = &clk_regmap_gate_ops, 16028f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 16128f3be51SDmitry Rokosov &fclk_div2_div.hw 16228f3be51SDmitry Rokosov }, 16328f3be51SDmitry Rokosov .num_parents = 1, 16428f3be51SDmitry Rokosov /* 16528f3be51SDmitry Rokosov * This clock is used by DDR clock in BL2 firmware 16628f3be51SDmitry Rokosov * and is required by the platform to operate correctly. 16728f3be51SDmitry Rokosov * Until the following condition are met, we need this clock to 16828f3be51SDmitry Rokosov * be marked as critical: 16928f3be51SDmitry Rokosov * a) Mark the clock used by a firmware resource, if possible 17028f3be51SDmitry Rokosov * b) CCF has a clock hand-off mechanism to make the sure the 17128f3be51SDmitry Rokosov * clock stays on until the proper driver comes along 17228f3be51SDmitry Rokosov */ 17328f3be51SDmitry Rokosov .flags = CLK_IS_CRITICAL, 17428f3be51SDmitry Rokosov }, 17528f3be51SDmitry Rokosov }; 17628f3be51SDmitry Rokosov 17728f3be51SDmitry Rokosov static struct clk_fixed_factor fclk_div3_div = { 17828f3be51SDmitry Rokosov .mult = 1, 17928f3be51SDmitry Rokosov .div = 3, 18028f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 18128f3be51SDmitry Rokosov .name = "fclk_div3_div", 18228f3be51SDmitry Rokosov .ops = &clk_fixed_factor_ops, 18328f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 18428f3be51SDmitry Rokosov &fixed_pll.hw 18528f3be51SDmitry Rokosov }, 18628f3be51SDmitry Rokosov .num_parents = 1, 18728f3be51SDmitry Rokosov }, 18828f3be51SDmitry Rokosov }; 18928f3be51SDmitry Rokosov 19028f3be51SDmitry Rokosov static struct clk_regmap fclk_div3 = { 19128f3be51SDmitry Rokosov .data = &(struct clk_regmap_gate_data){ 19228f3be51SDmitry Rokosov .offset = ANACTRL_FIXPLL_CTRL0, 19328f3be51SDmitry Rokosov .bit_idx = 22, 19428f3be51SDmitry Rokosov }, 19528f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 19628f3be51SDmitry Rokosov .name = "fclk_div3", 19728f3be51SDmitry Rokosov .ops = &clk_regmap_gate_ops, 19828f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 19928f3be51SDmitry Rokosov &fclk_div3_div.hw 20028f3be51SDmitry Rokosov }, 20128f3be51SDmitry Rokosov .num_parents = 1, 20228f3be51SDmitry Rokosov /* 20328f3be51SDmitry Rokosov * This clock is used by APB bus which is set in boot ROM code 20428f3be51SDmitry Rokosov * and is required by the platform to operate correctly. 20528f3be51SDmitry Rokosov */ 20628f3be51SDmitry Rokosov .flags = CLK_IS_CRITICAL, 20728f3be51SDmitry Rokosov }, 20828f3be51SDmitry Rokosov }; 20928f3be51SDmitry Rokosov 21028f3be51SDmitry Rokosov static struct clk_fixed_factor fclk_div5_div = { 21128f3be51SDmitry Rokosov .mult = 1, 21228f3be51SDmitry Rokosov .div = 5, 21328f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 21428f3be51SDmitry Rokosov .name = "fclk_div5_div", 21528f3be51SDmitry Rokosov .ops = &clk_fixed_factor_ops, 21628f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 21728f3be51SDmitry Rokosov &fixed_pll.hw 21828f3be51SDmitry Rokosov }, 21928f3be51SDmitry Rokosov .num_parents = 1, 22028f3be51SDmitry Rokosov }, 22128f3be51SDmitry Rokosov }; 22228f3be51SDmitry Rokosov 22328f3be51SDmitry Rokosov static struct clk_regmap fclk_div5 = { 22428f3be51SDmitry Rokosov .data = &(struct clk_regmap_gate_data){ 22528f3be51SDmitry Rokosov .offset = ANACTRL_FIXPLL_CTRL0, 22628f3be51SDmitry Rokosov .bit_idx = 23, 22728f3be51SDmitry Rokosov }, 22828f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 22928f3be51SDmitry Rokosov .name = "fclk_div5", 23028f3be51SDmitry Rokosov .ops = &clk_regmap_gate_ops, 23128f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 23228f3be51SDmitry Rokosov &fclk_div5_div.hw 23328f3be51SDmitry Rokosov }, 23428f3be51SDmitry Rokosov .num_parents = 1, 23528f3be51SDmitry Rokosov /* 23628f3be51SDmitry Rokosov * This clock is used by AXI bus which setted in Romcode 23728f3be51SDmitry Rokosov * and is required by the platform to operate correctly. 23828f3be51SDmitry Rokosov */ 23928f3be51SDmitry Rokosov .flags = CLK_IS_CRITICAL, 24028f3be51SDmitry Rokosov }, 24128f3be51SDmitry Rokosov }; 24228f3be51SDmitry Rokosov 24328f3be51SDmitry Rokosov static struct clk_fixed_factor fclk_div7_div = { 24428f3be51SDmitry Rokosov .mult = 1, 24528f3be51SDmitry Rokosov .div = 7, 24628f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 24728f3be51SDmitry Rokosov .name = "fclk_div7_div", 24828f3be51SDmitry Rokosov .ops = &clk_fixed_factor_ops, 24928f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 25028f3be51SDmitry Rokosov &fixed_pll.hw 25128f3be51SDmitry Rokosov }, 25228f3be51SDmitry Rokosov .num_parents = 1, 25328f3be51SDmitry Rokosov }, 25428f3be51SDmitry Rokosov }; 25528f3be51SDmitry Rokosov 25628f3be51SDmitry Rokosov static struct clk_regmap fclk_div7 = { 25728f3be51SDmitry Rokosov .data = &(struct clk_regmap_gate_data){ 25828f3be51SDmitry Rokosov .offset = ANACTRL_FIXPLL_CTRL0, 25928f3be51SDmitry Rokosov .bit_idx = 24, 26028f3be51SDmitry Rokosov }, 26128f3be51SDmitry Rokosov .hw.init = &(struct clk_init_data){ 26228f3be51SDmitry Rokosov .name = "fclk_div7", 26328f3be51SDmitry Rokosov .ops = &clk_regmap_gate_ops, 26428f3be51SDmitry Rokosov .parent_hws = (const struct clk_hw *[]) { 26528f3be51SDmitry Rokosov &fclk_div7_div.hw 26628f3be51SDmitry Rokosov }, 26728f3be51SDmitry Rokosov .num_parents = 1, 26828f3be51SDmitry Rokosov }, 26928f3be51SDmitry Rokosov }; 27028f3be51SDmitry Rokosov 27128f3be51SDmitry Rokosov /* Array of all clocks registered by this provider */ 272*c3f2801bSNeil Armstrong static struct clk_hw *a1_pll_hw_clks[] = { 27328f3be51SDmitry Rokosov [CLKID_FIXED_PLL_DCO] = &fixed_pll_dco.hw, 27428f3be51SDmitry Rokosov [CLKID_FIXED_PLL] = &fixed_pll.hw, 27528f3be51SDmitry Rokosov [CLKID_FCLK_DIV2_DIV] = &fclk_div2_div.hw, 27628f3be51SDmitry Rokosov [CLKID_FCLK_DIV3_DIV] = &fclk_div3_div.hw, 27728f3be51SDmitry Rokosov [CLKID_FCLK_DIV5_DIV] = &fclk_div5_div.hw, 27828f3be51SDmitry Rokosov [CLKID_FCLK_DIV7_DIV] = &fclk_div7_div.hw, 27928f3be51SDmitry Rokosov [CLKID_FCLK_DIV2] = &fclk_div2.hw, 28028f3be51SDmitry Rokosov [CLKID_FCLK_DIV3] = &fclk_div3.hw, 28128f3be51SDmitry Rokosov [CLKID_FCLK_DIV5] = &fclk_div5.hw, 28228f3be51SDmitry Rokosov [CLKID_FCLK_DIV7] = &fclk_div7.hw, 28328f3be51SDmitry Rokosov [CLKID_HIFI_PLL] = &hifi_pll.hw, 28428f3be51SDmitry Rokosov }; 28528f3be51SDmitry Rokosov 28628f3be51SDmitry Rokosov static struct clk_regmap *const a1_pll_regmaps[] = { 28728f3be51SDmitry Rokosov &fixed_pll_dco, 28828f3be51SDmitry Rokosov &fixed_pll, 28928f3be51SDmitry Rokosov &fclk_div2, 29028f3be51SDmitry Rokosov &fclk_div3, 29128f3be51SDmitry Rokosov &fclk_div5, 29228f3be51SDmitry Rokosov &fclk_div7, 29328f3be51SDmitry Rokosov &hifi_pll, 29428f3be51SDmitry Rokosov }; 29528f3be51SDmitry Rokosov 29628f3be51SDmitry Rokosov static struct regmap_config a1_pll_regmap_cfg = { 29728f3be51SDmitry Rokosov .reg_bits = 32, 29828f3be51SDmitry Rokosov .val_bits = 32, 29928f3be51SDmitry Rokosov .reg_stride = 4, 30028f3be51SDmitry Rokosov }; 30128f3be51SDmitry Rokosov 302*c3f2801bSNeil Armstrong static struct meson_clk_hw_data a1_pll_clks = { 303*c3f2801bSNeil Armstrong .hws = a1_pll_hw_clks, 304*c3f2801bSNeil Armstrong .num = ARRAY_SIZE(a1_pll_hw_clks), 305*c3f2801bSNeil Armstrong }; 306*c3f2801bSNeil Armstrong 30728f3be51SDmitry Rokosov static int meson_a1_pll_probe(struct platform_device *pdev) 30828f3be51SDmitry Rokosov { 30928f3be51SDmitry Rokosov struct device *dev = &pdev->dev; 31028f3be51SDmitry Rokosov void __iomem *base; 31128f3be51SDmitry Rokosov struct regmap *map; 31228f3be51SDmitry Rokosov int clkid, i, err; 31328f3be51SDmitry Rokosov 31428f3be51SDmitry Rokosov base = devm_platform_ioremap_resource(pdev, 0); 31528f3be51SDmitry Rokosov if (IS_ERR(base)) 31628f3be51SDmitry Rokosov return dev_err_probe(dev, PTR_ERR(base), 31728f3be51SDmitry Rokosov "can't ioremap resource\n"); 31828f3be51SDmitry Rokosov 31928f3be51SDmitry Rokosov map = devm_regmap_init_mmio(dev, base, &a1_pll_regmap_cfg); 32028f3be51SDmitry Rokosov if (IS_ERR(map)) 32128f3be51SDmitry Rokosov return dev_err_probe(dev, PTR_ERR(map), 32228f3be51SDmitry Rokosov "can't init regmap mmio region\n"); 32328f3be51SDmitry Rokosov 32428f3be51SDmitry Rokosov /* Populate regmap for the regmap backed clocks */ 32528f3be51SDmitry Rokosov for (i = 0; i < ARRAY_SIZE(a1_pll_regmaps); i++) 32628f3be51SDmitry Rokosov a1_pll_regmaps[i]->map = map; 32728f3be51SDmitry Rokosov 32828f3be51SDmitry Rokosov /* Register clocks */ 32928f3be51SDmitry Rokosov for (clkid = 0; clkid < a1_pll_clks.num; clkid++) { 33028f3be51SDmitry Rokosov err = devm_clk_hw_register(dev, a1_pll_clks.hws[clkid]); 33128f3be51SDmitry Rokosov if (err) 33228f3be51SDmitry Rokosov return dev_err_probe(dev, err, 33328f3be51SDmitry Rokosov "clock[%d] registration failed\n", 33428f3be51SDmitry Rokosov clkid); 33528f3be51SDmitry Rokosov } 33628f3be51SDmitry Rokosov 337*c3f2801bSNeil Armstrong return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, 33828f3be51SDmitry Rokosov &a1_pll_clks); 33928f3be51SDmitry Rokosov } 34028f3be51SDmitry Rokosov 34128f3be51SDmitry Rokosov static const struct of_device_id a1_pll_clkc_match_table[] = { 34228f3be51SDmitry Rokosov { .compatible = "amlogic,a1-pll-clkc", }, 34328f3be51SDmitry Rokosov {} 34428f3be51SDmitry Rokosov }; 34528f3be51SDmitry Rokosov MODULE_DEVICE_TABLE(of, a1_pll_clkc_match_table); 34628f3be51SDmitry Rokosov 34728f3be51SDmitry Rokosov static struct platform_driver a1_pll_clkc_driver = { 34828f3be51SDmitry Rokosov .probe = meson_a1_pll_probe, 34928f3be51SDmitry Rokosov .driver = { 35028f3be51SDmitry Rokosov .name = "a1-pll-clkc", 35128f3be51SDmitry Rokosov .of_match_table = a1_pll_clkc_match_table, 35228f3be51SDmitry Rokosov }, 35328f3be51SDmitry Rokosov }; 35428f3be51SDmitry Rokosov 35528f3be51SDmitry Rokosov module_platform_driver(a1_pll_clkc_driver); 35628f3be51SDmitry Rokosov MODULE_AUTHOR("Jian Hu <jian.hu@amlogic.com>"); 35728f3be51SDmitry Rokosov MODULE_AUTHOR("Dmitry Rokosov <ddrokosov@sberdevices.ru>"); 35828f3be51SDmitry Rokosov MODULE_LICENSE("GPL"); 359