1. 30 Oct, 2017 12 commits
  2. 29 Oct, 2017 5 commits
  3. 19 Oct, 2017 22 commits
  4. 18 Oct, 2017 1 commit
    • Fabio Estevam's avatar
      cpufreq: imx6q: Move speed grading check to cpufreq driver · 8e2b04b0
      Fabio Estevam authored
      On some i.MX6 SoCs (like i.MX6SL, i.MX6SX and i.MX6UL) that do not have
      speed grading check, opp table will not be created in platform code,
      so cpufreq driver prints the following error message:
      
      cpu cpu0: dev_pm_opp_get_opp_count: OPP table not found (-19)
      
      However, this is not really an error in this case because the
      imx6q-cpufreq driver first calls dev_pm_opp_get_opp_count()
      and if it fails, it means that platform code does not provide
      OPP and then dev_pm_opp_of_add_table() will be called.
      
      In order to avoid such confusing error message, move the speed grading
      check from platform code to the imx6q-cpufreq driver.
      
      This way the imx6q-cpufreq no longer has to check whether OPP table
      is supplied by platform code.
      
      Tested on a i.MX6Q and i.MX6UL based boards.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      8e2b04b0