1. 30 6月, 2016 1 次提交
    • A
      clk: tegra: Initialize UTMI PLL when enabling PLLU · 15d68e8c
      Andrew Bresticker 提交于
      Move the UTMI PLL initialization code form clk-tegra<chip>.c files into
      clk-pll.c. UTMI PLL was being configured and set in HW control right
      after registration. However, when the clock init_table is processed and
      child clks of PLLU are enabled, it will call in and enable PLLU as
      well, and initiate SW enabling sequence even though PLLU is already in
      HW control. This leads to getting UTMIPLL stuck with a SEQ_BUSY status.
      
      Doing the initialization once during pllu_enable means we configure it
      properly into HW control.
      
      A side effect of the commonization/localization of the UTMI PLL init
      code, is that it corrects some errors that were present for earlier
      generations. For instance, in clk-tegra124.c, it used to have:
      
          #define UTMIP_PLL_CFG1_ENABLE_DLY_COUNT(x) (((x) & 0x1f) << 6)
      
      when the correct shift to use is present in the new version:
      
          #define UTMIP_PLL_CFG1_ENABLE_DLY_COUNT(x) (((x) & 0x1f) << 27)
      
      which matches the Tegra124 TRM register definition.
      Signed-off-by: NAndrew Bresticker <abrestic@chromium.org>
      [rklein: Merged in some later fixes for potential deadlocks]
      Signed-off-by: NRhyland Klein <rklein@nvidia.com>
      [treding: coding style bike-shedding, remove unused variable]
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      15d68e8c
  2. 28 4月, 2016 1 次提交
  3. 02 2月, 2016 4 次提交
  4. 17 12月, 2015 10 次提交
  5. 21 11月, 2015 10 次提交
  6. 18 11月, 2015 1 次提交
  7. 25 8月, 2015 2 次提交
  8. 21 7月, 2015 1 次提交
    • S
      clk: tegra: Properly include clk.h · 584ac4e9
      Stephen Boyd 提交于
      Clock provider drivers generally shouldn't include clk.h because
      it's the consumer API. Only include clk.h in files that are using
      it. Also add in a clkdev.h include that was missing in a file
      using clkdev APIs.
      
      Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
      Cc: Thierry Reding <treding@nvidia.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      584ac4e9
  9. 10 4月, 2015 2 次提交
  10. 02 2月, 2015 2 次提交
  11. 08 7月, 2014 1 次提交
  12. 26 6月, 2014 1 次提交
  13. 23 5月, 2014 1 次提交
  14. 17 5月, 2014 1 次提交
  15. 17 4月, 2014 2 次提交