1. 26 Oct, 2015 1 commit
    • Stephen Boyd's avatar
      clk: Add stubs for of_clk_*() APIs when CONFIG_OF=n · 679c51cf
      Stephen Boyd authored
      Compiling the versatile clock driver with COMPILE_TEST=y and CONFIG_OF=n
      leads to the following error:
      
         drivers/clk/versatile/clk-sp810.c: In function 'clk_sp810_of_setup':
         drivers/clk/versatile/clk-sp810.c:103:6: error: implicit declaration of
      function 'of_clk_parent_fill' [-Werror=implicit-function-declaration]
      
      Silence it by providing stubs APIs for of_clk_parent_fill().
      Throw in a stub for of_clk_get_parent_count() too because we're
      in the area.
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Cc: Javier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      679c51cf
  2. 23 Oct, 2015 2 commits
  3. 22 Oct, 2015 7 commits
  4. 21 Oct, 2015 18 commits
  5. 20 Oct, 2015 7 commits
  6. 19 Oct, 2015 1 commit
  7. 16 Oct, 2015 4 commits
    • Stephen Boyd's avatar
      clk: mvebu: Use of_clk_get_parent_name() · 61e22fff
      Stephen Boyd authored
      This reverts commit e79b202c.
      
      Now that we use of_clk_get() inside of_clk_get_parent_name() we
      can safely use it here.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      61e22fff
    • Archit Taneja's avatar
      clk: qcom: mmcc-8960: Add DSI related clocks · 5532cfb5
      Archit Taneja authored
      Add rcg and branch clk structs for DSI1 and DSI2 blocks found in MSM8960
      and APQ8064. Each DSI instance has 4 pairs of rcg and branch clocks.
      Populate arrays mmcc_msm8960_clks and mmcc_apq8064_clks with these clocks.
      Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      5532cfb5
    • Archit Taneja's avatar
      clk: qcom: clk-rcg: Add customized clk_ops for DSI RCGs · d8aa2bee
      Archit Taneja authored
      DSI specific RCG clocks required customized clk_ops. There are
      a total of 4 RCGs per DSI block: DSI, BYTE, ESC and PIXEL.
      
      There are a total of 2 clocks coming from the DSI PLL, which serve as
      inputs to these RCGs. The BYTE and ESC RCGs are fed by one of the
      post dividers of DSI1 or DSI2 PLLs, and the DSI and PIXEL RCGs are fed by
      another divider of the PLL.
      
      In each of the 2 groups above, only one of the clocks sets its parent.
      These are BYTE RCG and DSI RCG for each of the groups respectively, as
      shown in the diagram below.
      
      The DSI and BYTE RCGs serve as bypass clocks. We create a new set of ops
      clk_rcg_bypass2_ops, which are like the regular bypass ops, but don't
      take in a freq table, since the DSI driver using these clocks is
      parent-able.
      
      The PIXEL RCG needs to derive the required pixel clock using dsixpll.
      It parses a m/n frac table to retrieve the correct clock.
      
      The ESC RCG doesn't have a frac M/N block, it can just apply a pre-
      divider. Its ops simply check if the required clock rate can be
      achieved by the pre-divider.
      
            +-------------------+
            |                   |---dsixpllbyte---o---> To byte RCG
            |                   |                 | (sets parent rate)
            |                   |                 |
            |                   |                 |
            |    DSI 1/2 PLL    |                 |
            |                   |                 o---> To esc RCG
            |                   |                 (doesn't set parent rate)
            |                   |
            |                   |----dsixpll-----o---> To dsi RCG
            +-------------------+                | (sets parent rate)
                                   ( x = 1, 2 )  |
                                                 |
                                                 o---> To pixel rcg
                                                 (doesn't set parent rate)
      Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      d8aa2bee
    • Stephen Boyd's avatar
      clk: xgene: Remove unused setup.h include · b1a0eeb4
      Stephen Boyd authored
      This include doesn't look to be used, and compiling this file on
      arm64 still works, so remove it.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      b1a0eeb4