1. 07 3月, 2015 1 次提交
    • R
      ARM: dts: DRA7x: Fix the bypass clock source for dpll_iva and others · d2192ea0
      Ravikumar Kattekola 提交于
      Fixes: ee6c7507 (ARM: dts: dra7 clock data)
      
      On DRA7x, For DPLL_IVA, the ref clock(CLKINP) is connected to sys_clk1 and
      the bypass input(CLKINPULOW) is connected to iva_dpll_hs_clk_div clock.
      But the bypass input is not directly routed to bypass clkout instead
      both CLKINP and CLKINPULOW are connected to bypass clkout via a mux.
      
      This mux is controlled by the bit - CM_CLKSEL_DPLL_IVA[23]:DPLL_BYP_CLKSEL
      and it's POR value is zero which selects the CLKINP as bypass clkout.
      which means iva_dpll_hs_clk_div is not the bypass clock for dpll_iva_ck
      
      Fix this by adding another mux clock as parent in bypass mode.
      
      This design is common to most of the PLLs and the rest have only one bypass
      clock. Below is a list of the DPLLs that need this fix:
      
      DPLL_IVA, DPLL_DDR,
      DPLL_DSP, DPLL_EVE,
      DPLL_GMAC, DPLL_PER,
      DPLL_USB and DPLL_CORE
      Signed-off-by: NRavikumar Kattekola <rk@ti.com>
      Acked-by: NTero Kristo <t-kristo@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      d2192ea0
  2. 15 11月, 2014 1 次提交
  3. 15 7月, 2014 5 次提交
  4. 04 7月, 2014 1 次提交
    • R
      ARM: dts: dra7xx-clocks: Fix the l3 and l4 clock rates · dd94324b
      Rajendra Nayak 提交于
      Without the patch:
      /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck # cat clk_rate
      532000000
      /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck/l3_iclk_div # cat clk_rate
      532000000
      /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck/l3_iclk_div/l4_root_clk_div # cat clk_rate
      532000000
      
      With the patch:
      /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck # cat clk_rate
      532000000
      /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck/l3_iclk_div # cat clk_rate
      266000000
      /debug/.../dpll_core_x2_ck/dpll_core_h12x2_ck/l3_iclk_div/l4_root_clk_div # cat clk_rate
      133000000
      
      The l3 clock derived from core DPLL is actually a divider clock,
      with the default divider set to 2. l4 then derived from l3 is a fixed factor
      clock, but the fixed divider is 2 and not 1. Which means the l3 clock is
      half of core DPLLs h12x2 and l4 is half of l3 (as seen with this patch)
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NTero Kristo <t-kristo@ti.com>
      dd94324b
  5. 16 6月, 2014 1 次提交
  6. 07 6月, 2014 1 次提交
  7. 28 5月, 2014 1 次提交
  8. 15 5月, 2014 1 次提交
  9. 19 4月, 2014 1 次提交
  10. 18 1月, 2014 4 次提交