[PATCH 13/29] clk: introduce CLK_SET_RATE_PARENT flag

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 14 10:32:33 EDT 2014


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/linux/clk.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/clk.h b/include/linux/clk.h
index 7e5010a..2704b0f 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -196,6 +196,9 @@ static inline int clk_set_rate(struct clk *clk, unsigned long rate)
 #endif
 
 #ifdef CONFIG_COMMON_CLK
+
+#define CLK_SET_RATE_PARENT     (1 << 0) /* propagate rate change up one level */
+
 struct clk_ops {
 	int		(*enable)(struct clk *clk);
 	void		(*disable)(struct clk *clk);
-- 
1.9.0




More information about the barebox mailing list