Skip to content
  • Barry Song's avatar
    clk: prima2: enable dt-binding clkdev mapping · eb8b8f2e
    Barry Song authored
    
    
    this patche deletes hard code that registers clkdev by things like:
    clk_register_clkdev(clk, NULL, "b0030000.nand");
    clk_register_clkdev(clk, NULL, "b0040000.audio");
    clk_register_clkdev(clk, NULL, "b0080000.usp");
    prima2 clock controller becomes a clock provider and  every dt node
    just declares its clock sources by dt prop.
    
    it also makes us easier to extend this driver to support both prima2
    and marco as marco has different address mapping with prima2.
    
    Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
    Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
    eb8b8f2e