summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d60baa)
raw | patch | inline | side by side (parent: 6d60baa)
author | Grygorii Strashko <grygorii.strashko@ti.com> | |
Wed, 7 Nov 2018 05:55:17 +0000 (11:25 +0530) | ||
committer | Tero Kristo <t-kristo@ti.com> | |
Wed, 7 Nov 2018 07:51:02 +0000 (09:51 +0200) |
This patch changes definition of ARM_GLOBAL_TIMER so it can be
enabled manually. This is required because ARM Global timer
has some limitations:
- It is not always-on timer on am437x and it can't be
used as clocksource device if CPU_IDLE=y
- It doesn't support CPUfreq now
which can't be resolved properly by using kconfig dependencies
in case of multiplatform build.
For example, ARM_GLOBAL_TIMER can't be selected by default
for TI AM437x SOC, because it expected to support cpuidle
and cpufreq in multiplatform build from one side. From
another side - will cpuidle and cpufreq really work depends
not only from kconfig options, but also from PM driver
which has to be loaded.
LKML version:
https://patchwork.ozlabs.org/patch/579071/
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
enabled manually. This is required because ARM Global timer
has some limitations:
- It is not always-on timer on am437x and it can't be
used as clocksource device if CPU_IDLE=y
- It doesn't support CPUfreq now
which can't be resolved properly by using kconfig dependencies
in case of multiplatform build.
For example, ARM_GLOBAL_TIMER can't be selected by default
for TI AM437x SOC, because it expected to support cpuidle
and cpufreq in multiplatform build from one side. From
another side - will cpuidle and cpufreq really work depends
not only from kconfig options, but also from PM driver
which has to be loaded.
LKML version:
https://patchwork.ozlabs.org/patch/579071/
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/clocksource/Kconfig | patch | blob | history |
index a11f4ba98b05c57d08b211ac933f93fcf7cb4616..6bca4426a8a0d007d61bde1dea90fed24166df30 100644 (file)
core is detected.
config ARM_GLOBAL_TIMER
- bool "Support for the ARM global timer" if COMPILE_TEST
+ bool "Support for the ARM global timer"
select TIMER_OF if OF
depends on ARM
help