1. 16 7月, 2014 2 次提交
    • S
      clk: qcom: Fix MN frequency tables, parent map, and jpegd · ff20783f
      Stephen Boyd 提交于
      Clocks that don't have a pre-divider don't list any pre-divider
      in their frequency tables, but their tables are initialized using
      aggregate initializers. Use tagged initializers so we properly
      assign the m and n values for each frequency. Furthermore, the
      mmcc_pxo_pll8_pll2_pll3 array improperly mapped the second
      element to pll2 instead of pll8, causing the clock driver to
      recalculate the wrong rate for any clocks using this array along
      with a rate that uses pll2. Plus the .num_parents field is 3
      instead of 4 so you can't even switch the parent to pll3. Finally
      I noticed that the jpegd clock improperly indicates that the
      pre-divider width is only 2, when it's actually 4 bits wide.
      
      Fixes: 6d00b56f "clk: qcom: Add support for MSM8960's multimedia clock controller (MMCC)"
      Tested-by: NRob Clark <robdclark@gmail.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      ff20783f
    • S
      clk: qcom: Support bypass RCG configuration · 404c1ff6
      Stephen Boyd 提交于
      In the case of HDMI clocks, we want to bypass the RCG's ability
      to divide the output clock and pass through the parent HDMI PLL
      rate. Add a simple set of clk_ops to configure the RCG to do
      this. This removes the need to keep adding more frequency entries
      to the tv_src clock whenever we want to support a new rate.
      Tested-by: NRob Clark <robdclark@gmail.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      404c1ff6
  2. 01 5月, 2014 1 次提交
  3. 17 1月, 2014 1 次提交