1. 10 12月, 2015 1 次提交
  2. 24 11月, 2015 1 次提交
  3. 19 11月, 2015 1 次提交
    • A
      cpufreq: mediatek: fix build error · 2d4ee303
      Arnd Bergmann 提交于
      The recently added mt8173 cpufreq driver relies on the cpu topology
      that is always present on ARM64 but optional on ARM32:
      
      drivers/cpufreq/mt8173-cpufreq.c: In function 'mtk_cpufreq_init':
      drivers/cpufreq/mt8173-cpufreq.c:441:30: error: 'cpu_topology' undeclared (first use in this function)
        cpumask_copy(policy->cpus, &cpu_topology[policy->cpu].core_sibling);
      
      This refines the Kconfig dependencies so that we can still build on
      ARM32, but only if COMPILE_TEST is selected and the CPU topology
      code is present.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      2d4ee303
  4. 13 10月, 2015 1 次提交
  5. 28 9月, 2015 1 次提交
  6. 05 9月, 2015 1 次提交
  7. 01 9月, 2015 1 次提交
    • P
      cpufreq: mediatek: Add MT8173 cpufreq driver · 1453863f
      Pi-Cheng Chen 提交于
      Mediatek MT8173 is an ARMv8 based quad-core (2*Cortex-A53 and
      2*Cortex-A72) SoC with duall clusters. For each cluster, two voltage
      inputs, Vproc and Vsram are supplied by two regulators. For the big
      cluster, two regulators come from different PMICs. In this case, when
      scaling voltage inputs of the cluster, the voltages of two regulator
      inputs need to be controlled by software explicitly under the SoC
      specific limitation:
      
      	100mV < Vsram - Vproc < 200mV
      
      which is called 'voltage tracking' mechanism. And when scaling the
      frequency of cluster clock input, the input MUX need to be parented to
      another "intermediate" stable PLL first and reparented to the original
      PLL once the original PLL is stable at the target frequency. This patch
      implements those mechanisms to enable CPU DVFS support for Mediatek
      MT8173 SoC.
      Signed-off-by: NPi-Cheng Chen <pi-cheng.chen@linaro.org>
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      1453863f
  8. 14 8月, 2015 1 次提交
  9. 24 7月, 2015 1 次提交
  10. 16 7月, 2015 2 次提交
  11. 21 6月, 2015 1 次提交
  12. 15 5月, 2015 1 次提交
  13. 02 4月, 2015 1 次提交
  14. 01 2月, 2015 1 次提交
    • A
      cpufreq: exynos: allow modular build · 8b2b4a4e
      Arnd Bergmann 提交于
      The exynos cpufreq driver code recently gained a dependency on the
      cooling code, which may be a loadable module. This breaks an ARM
      allmodconfig build:
      
      drivers/built-in.o: In function `exynos_cpufreq_probe':
      :(.text+0x1748e8): undefined reference to `of_cpufreq_cooling_register'
      
      To avoid this problem, change cpufreq Kconfig to allow the drivers
      to be loadable modules as well and enforce a dependency on the
      thermal module.
      
      This change, in order to allow module builds on this cpufreq
      driver, properly constructs the driver into a single module,
      instead of several modules. The change also keeps the proper
      platform dependency, and therefore, it wont load in platforms
      that are not supposed to be loaded. The user will be able to
      build the support for all platforms, or select which platforms
      (s)he wants (as originally), except that now it can be a module,
      instead.
      
      Besides, it will still keep the driver only on those configs
      that expect it to be on. And it won't compile/load on platforms
      that it is not supposed to. It brings the config ARM_EXYNOS_CPU_FREQ_BOOST_SW
      closer to this driver, so it looks better in the menuconfig.
      
      We intentionally change ARM_EXYNOS5440_CPUFREQ to be tristate too, to
      avoid future troubles.
      
      Cc: Viresh Kumar <viresh.kumar@linaro.org>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-pm@vger.kernel.org
      Cc: linux-samsung-soc@vger.kernel.org
      Fixes: e725d26c ("cpufreq: exynos: Use device tree to determine if cpufreq cooling should be registered")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
      8b2b4a4e
  15. 27 11月, 2014 1 次提交
  16. 03 10月, 2014 1 次提交
  17. 09 9月, 2014 1 次提交
  18. 05 9月, 2014 1 次提交
    • X
      ARM: cns3xxx: fix allmodconfig panic in pci driver · 0a2e912d
      Xia Kaixu 提交于
      The kernel panic occurs when running an allmodconfig kernel on
      OMAP4460. The inicall "cns3xxx_pcie_init" does not check which
      hardware it's running on and just tries to access to its specific
      registers. Now call it from .init_late callback from the two
      machine descriptors.
      Signed-off-by: NXia Kaixu <kaixu.xia@linaro.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Anton Vorontsov <anton@enomsg.org>
      Cc: Felix Fietkau <nbd@openwrt.org>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: linaro-kernel@lists.linaro.org
      Cc: linux-arm-kernel@lists.infradead.org
      0a2e912d
  19. 16 7月, 2014 2 次提交
  20. 07 6月, 2014 1 次提交
  21. 31 5月, 2014 1 次提交
  22. 17 5月, 2014 1 次提交
  23. 01 5月, 2014 1 次提交
  24. 22 4月, 2014 1 次提交
  25. 07 4月, 2014 1 次提交
  26. 19 3月, 2014 1 次提交
    • V
      cpufreq: arm_big_little: make vexpress driver depend on bL core driver · 3b84d58d
      viresh kumar 提交于
      Currently vexpress big LITTLE driver selects ARM_BIG_LITTLE_CPUFREQ, so
      if CONFIG_BIG_LITTLE isn't enabled and CONFIG_ARM_VEXPRESS_SPC_CPUFREQ
      is enabled, we get the following build warnings:
      
      warning: (ARM_VEXPRESS_SPC_CPUFREQ) selects ARM_BIG_LITTLE_CPUFREQ which has
      unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && (ARM || ARM64) && ARM
      && BIG_LITTLE && ARM_CPU_TOPOLOGY && HAVE_CLK)
      
      To fix this, make ARM_VEXPRESS_SPC_CPUFREQ depend on ARM_BIG_LITTLE_CPUFREQ
      instead of selecting it.
      
      This also moves the entry for ARM_VEXPRESS_SPC_CPUFREQ along with other
      big LITTLE config entries.
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      3b84d58d
  27. 25 2月, 2014 1 次提交
  28. 17 1月, 2014 1 次提交
  29. 06 1月, 2014 2 次提交
  30. 23 12月, 2013 2 次提交
  31. 30 10月, 2013 1 次提交
  32. 16 10月, 2013 1 次提交
  33. 12 8月, 2013 1 次提交
    • B
      cpufreq: fix EXYNOS drivers selection · 45e12086
      Bartlomiej Zolnierkiewicz 提交于
      * remove superfluous pr_debug() call from exynos_cpufreq_init()
        (init errors are always logged anyway)
      * add dummy per-SoC type init functions to exynos-cpufreq.h
      * make per-SoC type cpufreq config options selectable
      * make CONFIG_ARM_EXYNOS_CPUFREQ config option invisible to user and
        automatically enable it when needed
      
      This patch fixes following issues:
      * EXYNOS per-SoC type cpufreq support (i.e. exynos4210-cpufreq.c) being
        always built if given SoC support was enabled (i.e. CPU_EXYNOS4210),
        even if common EXYNOS cpufreq support was disabled
      * inability to select cpufreq for each SoC type separately (it could
        be only enabled/disabled for all SoCs for which support was enabled)
      * EXYNOS5440 cpufreq support was always enabled when EXYNOS5440
        support was enabled and couldn't be disabled
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      45e12086
  34. 18 6月, 2013 3 次提交