1. 22 Dec, 2015 2 commits
  2. 08 Dec, 2015 5 commits
  3. 03 Dec, 2015 3 commits
    • Stephen Boyd's avatar
      Merge branch 'clk-fixes' into clk-next · 41cabbc2
      Stephen Boyd authored
      * 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
    • Maxime Ripard's avatar
      clk: sunxi: pll2: Fix clock running too fast · 59f0ec23
      Maxime Ripard authored
      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: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
      Fixes: eb662f85 ("clk: sunxi: pll2: Add A13 support")
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      59f0ec23
    • Masahiro Yamada's avatar
      clk: let of_clk_get_parent_name() fail for invalid clock-indices · 8da411cc
      Masahiro Yamada authored
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      8da411cc
  4. 01 Dec, 2015 8 commits
  5. 30 Nov, 2015 6 commits
  6. 25 Nov, 2015 1 commit
    • Arnd Bergmann's avatar
      clk: mmp: add linux/clk.h includes · c21ac066
      Arnd Bergmann authored
      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: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 61ae7656 ("clk: Remove clk.h from clk-provider.h")
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      c21ac066
  7. 24 Nov, 2015 4 commits
  8. 21 Nov, 2015 2 commits
  9. 20 Nov, 2015 9 commits