Skip to content

Commit

Permalink
clk: qcom: ipq4019: add some fixed clocks for ddrppl and fepll
Browse files Browse the repository at this point in the history
Drivers for these don't exist yet so we will add them as fixed clocks
so we don't BUG() if we change clocks that reference these clocks.

Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
  • Loading branch information
Matthew McClintock authored and Stephen Boyd committed Mar 29, 2016
1 parent bc95d4f commit 2aac7dd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/clk/qcom/gcc-ipq4019.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,16 @@ MODULE_DEVICE_TABLE(of, gcc_ipq4019_match_table);

static int gcc_ipq4019_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;

clk_register_fixed_rate(dev, "fepll125", "xo", 0, 200000000);
clk_register_fixed_rate(dev, "fepll125dly", "xo", 0, 200000000);
clk_register_fixed_rate(dev, "fepllwcss2g", "xo", 0, 200000000);
clk_register_fixed_rate(dev, "fepllwcss5g", "xo", 0, 200000000);
clk_register_fixed_rate(dev, "fepll200", "xo", 0, 200000000);
clk_register_fixed_rate(dev, "fepll500", "xo", 0, 200000000);
clk_register_fixed_rate(dev, "ddrpllapss", "xo", 0, 666000000);

return qcom_cc_probe(pdev, &gcc_ipq4019_desc);
}

Expand Down

0 comments on commit 2aac7dd

Please sign in to comment.