1. 23 12月, 2015 2 次提交
  2. 08 12月, 2015 5 次提交
  3. 03 12月, 2015 3 次提交
    • S
      Merge branch 'clk-fixes' into clk-next · 41cabbc2
      Stephen Boyd 提交于
      * clk-fixes:
        clk: sunxi: pll2: Fix clock running too fast
        clk: scpi: add missing of_node_put
        clk: qoriq: fix memory leak
        imx/clk-pllv2: fix wrong do_div() usage
        imx/clk-pllv1: fix wrong do_div() usage
        clk: mmp: add linux/clk.h includes
        clk: ti: drop locking code from mux/divider drivers
        clk: ti816x: Add missing dmtimer clkdev entries
        clk: ti: fapll: fix wrong do_div() usage
        clk: ti: clkt_dpll: fix wrong do_div() usage
        clk: gpio: Get parent clk names in of_gpio_clk_setup()
      41cabbc2
    • M
      clk: sunxi: pll2: Fix clock running too fast · 59f0ec23
      Maxime Ripard 提交于
      Contrary to what the datasheet says, the pre divider doesn't seem to be
      incremented by one in the PLL2, but just uses the value from the register,
      with 0 being a bypass.
      
      This fixes the audio playing too fast.
      
      Since we now have the same pre-divider flags, and the only difference with
      the A10 is the post-divider offset, also remove the structure to just pass
      the offset as an argument.
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Fixes: eb662f85 ("clk: sunxi: pll2: Add A13 support")
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      59f0ec23
    • M
      clk: let of_clk_get_parent_name() fail for invalid clock-indices · 8da411cc
      Masahiro Yamada 提交于
      Currently, of_clk_get_parent_name() returns a wrong parent clock name
      when "clock-indices" property exists and the target index is not
      found in the property.  In this case, NULL should be returned.
      
      For example,
      
              oscillator {
                      compatible = "myclocktype";
                      #clock-cells = <1>;
                      clock-indices = <1>, <3>;
                      clock-output-names = "clka", "clkb";
              };
      
              consumer {
                      compatible = "myclockconsumer";
                      clocks = <&oscillator 0>, <&oscillator 1>;
              };
      
      Currently, of_clk_get_parent_name(consumer_np, 0) returns "clka"
      (and of_clk_get_parent_name(consumer_np, 1) also returns "clka",
      this is correct).   Because the "clock-indices" in the clock parent
      does not contain <0>, of_clk_get_parent_name(consumer_np, 0) should
      return NULL.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      8da411cc
  4. 01 12月, 2015 14 次提交
  5. 26 11月, 2015 1 次提交
    • A
      clk: mmp: add linux/clk.h includes · c21ac066
      Arnd Bergmann 提交于
      The common clk implementation for MMP broke without anyone noticing
      when we stopped including linux/clk.h from the clk-provider header.
      
      This did not show up in the defconfig builds because those use the
      legacy MMP clk drivers, and it did not show up in my randconfig tests
      either because I was testing with my mmp multiplatform series
      applied, which at some point gained the fixup.
      
      This fixes the three broken files.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 61ae7656 ("clk: Remove clk.h from clk-provider.h")
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      c21ac066
  6. 24 11月, 2015 4 次提交
  7. 21 11月, 2015 11 次提交