diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-11 09:49:25 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-11 10:02:36 +0100 |
commit | e0e87be220fa4f1182462e772aa77454f799d40d (patch) | |
tree | 5863ca74b18c16ebac47efdba18241f0d134478d /include | |
parent | c7cc27d006ccca5951b8fecb596d546998181f7c (diff) | |
download | barebox-e0e87be220fa4f1182462e772aa77454f799d40d.tar.gz barebox-e0e87be220fa4f1182462e772aa77454f799d40d.tar.xz |
clk: mux: Support CLK_SET_RATE_NO_REPARENT flag
Since barebox doesn't do reparenting on rate changes we only have
to define the flag.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/clk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index 2492608a15..b9c5e0ab04 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -286,6 +286,7 @@ static inline void clk_put(struct clk *clk) #define CLK_SET_RATE_PARENT (1 << 0) /* propagate rate change up one level */ #define CLK_IGNORE_UNUSED (1 << 3) /* do not gate even if unused */ +#define CLK_SET_RATE_NO_REPARENT (1 << 7) /* don't re-parent on rate change */ #define CLK_IS_CRITICAL (1 << 11) /* do not gate, ever */ /* parents need enable during gate/ungate, set rate and re-parent */ #define CLK_OPS_PARENT_ENABLE (1 << 12) |