summaryrefslogtreecommitdiffstats
path: root/Documentation/clk.txt
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-04-27 14:10:18 -0700
committerMike Turquette <mturquette@linaro.org>2013-04-27 23:03:43 -0700
commit1e435256d625c203660f0105f1155cd2af283051 (patch)
treee3ec1f0d91aaaf7f7a559e2ed11937edcd6321f2 /Documentation/clk.txt
parentc700835bf8568f9c183c9b6aa7794d29266da15b (diff)
clk: add clk_ignore_unused option to keep boot clocks on
This is primarily useful when there's a driver that doesn't claim clocks properly, but the bootloader leaves them on. It's not expected to be used in normal cases, but for bringup and debug it's very useful to have the option to not gate unclaimed clocks that are still on. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Mike Turquette <mturquette@linaro.org> [mturquette@linaro.org: fixed up trivial merge issue]
Diffstat (limited to 'Documentation/clk.txt')
-rw-r--r--Documentation/clk.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/clk.txt b/Documentation/clk.txt
index 4274a546eb5..b9911c27f49 100644
--- a/Documentation/clk.txt
+++ b/Documentation/clk.txt
@@ -231,3 +231,14 @@ To better enforce this policy, always follow this simple rule: any
statically initialized clock data MUST be defined in a separate file
from the logic that implements its ops. Basically separate the logic
from the data and all is well.
+
+ Part 6 - Disabling clock gating of unused clocks
+
+Sometimes during development it can be useful to be able to bypass the
+default disabling of unused clocks. For example, if drivers aren't enabling
+clocks properly but rely on them being on from the bootloader, bypassing
+the disabling means that the driver will remain functional while the issues
+are sorted out.
+
+To bypass this disabling, include "clk_ignore_unused" in the bootargs to the
+kernel.