1. 19 1月, 2013 2 次提交
    • J
      clk-divider: fix macros · 1a3cd184
      James Hogan 提交于
      The macro is_power_of_two() in clk-divider.c was defined as !(i & ~i)
      which is always true.  Instead use is_power_of_2() from log2.h.
      
      Also add brackets around the macro arguments in div_mask to avoid any
      future operator precedence problems.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Cc: Joe Perches <joe@perches.com>
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      [mturquette@linaro.org: use log2.h per Joe Perches; update changelog]
      1a3cd184
    • B
      clk: prima2: enable dt-binding clkdev mapping · eb8b8f2e
      Barry Song 提交于
      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: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      eb8b8f2e
  2. 16 1月, 2013 8 次提交
  3. 12 1月, 2013 6 次提交
  4. 08 1月, 2013 7 次提交
  5. 07 1月, 2013 7 次提交
  6. 06 1月, 2013 2 次提交
  7. 05 1月, 2013 7 次提交
  8. 04 1月, 2013 1 次提交