Lines Matching +full:stratix10 +full:- +full:clkmgr

1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
11 #include <dt-bindings/clock/stratix10-clock.h>
13 #include "stratix10-clk.h"
18 { .fw_name = "cb-intosc-hs-div2-clk",
19 .name = "cb-intosc-hs-div2-clk" },
20 { .fw_name = "f2s-free-clk",
21 .name = "f2s-free-clk" },
31 { .fw_name = "cb-intosc-hs-div2-clk",
32 .name = "cb-intosc-hs-div2-clk", },
33 { .fw_name = "f2s-free-clk",
34 .name = "f2s-free-clk", },
40 { .fw_name = "cb-intosc-hs-div2-clk",
41 .name = "cb-intosc-hs-div2-clk" },
51 { .fw_name = "cb-intosc-hs-div2-clk",
52 .name = "cb-intosc-hs-div2-clk", },
53 { .fw_name = "f2s-free-clk",
54 .name = "f2s-free-clk", },
114 { .fw_name = "f2s-free-clk",
115 .name = "f2s-free-clk", },
141 { .fw_name = "cb-intosc-hs-div2-clk",
142 .name = "cb-intosc-hs-div2-clk", },
143 { .fw_name = "f2s-free-clk",
144 .name = "f2s-free-clk", },
311 void __iomem *base = data->base; in s10_clk_register_c_perip()
321 data->clk_data.hws[clks[i].id] = hw_clk; in s10_clk_register_c_perip()
330 void __iomem *base = data->base; in s10_clk_register_cnt_perip()
340 data->clk_data.hws[clks[i].id] = hw_clk; in s10_clk_register_cnt_perip()
350 void __iomem *base = data->base; in s10_clk_register_gate()
360 data->clk_data.hws[clks[i].id] = hw_clk; in s10_clk_register_gate()
370 void __iomem *base = data->base; in s10_clk_register_pll()
380 data->clk_data.hws[clks[i].id] = hw_clk; in s10_clk_register_pll()
388 struct device_node *np = pdev->dev.of_node; in s10_clkmgr_init()
389 struct device *dev = &pdev->dev; in s10_clkmgr_init()
404 return -ENOMEM; in s10_clkmgr_init()
407 clk_data->clk_data.hws[i] = ERR_PTR(-ENOENT); in s10_clkmgr_init()
409 clk_data->base = base; in s10_clkmgr_init()
410 clk_data->clk_data.num = num_clks; in s10_clkmgr_init()
424 of_clk_add_hw_provider(np, of_clk_hw_onecell_get, &clk_data->clk_data); in s10_clkmgr_init()
434 { .compatible = "intel,stratix10-clkmgr",
442 .name = "stratix10-clkmgr",