summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-23 03:55:07 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-23 03:55:07 -0800
commit85a244de8769e5f8dc0a5c516d5a53765a6d07cb (patch)
tree4bd0f26fdd24a81d82bcb5c6b825b112238514da /include/linux
parent66fa9513e630e682513081003391a83895bb576b (diff)
parentd8d0e55ed104252f0295767d5e2e026c93404870 (diff)
Merge "clk: introduce CLK_ENABLE_HAND_OFF flag"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/clk-provider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 744167a9ca8b..f91991b97888 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -33,6 +33,9 @@
#define CLK_GET_ACCURACY_NOCACHE BIT(8) /* do not use the cached clk accuracy */
#define CLK_RECALC_NEW_RATES BIT(9) /* recalc rates after notifications */
#define CLK_IS_CRITICAL BIT(11) /* do not gate, ever */
+#define CLK_ENABLE_HAND_OFF BIT(12) /* enable clock when registered.
+ hand-off enable_count & prepare_count
+ to first consumer that enables clk */
#define CLK_IS_MEASURE BIT(14) /* measure clock */
struct clk;