[U-Boot] [PATCH V2 04/16] clk: export mux/divider ops
Peng Fan
peng.fan at nxp.com
Tue Jul 30 07:52:37 UTC 2019
Export mux/divider ops and divider_recalc_rate for composite usage
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
V2:
Rebase to master
export divider_recalc_rate
include/linux/clk-provider.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 7e44045c16..6d62f862d2 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -96,6 +96,11 @@ struct clk_divider {
#define CLK_DIVIDER_ROUND_CLOSEST BIT(4)
#define CLK_DIVIDER_READ_ONLY BIT(5)
#define CLK_DIVIDER_MAX_AT_ZERO BIT(6)
+extern const struct clk_ops clk_divider_ops;
+unsigned long divider_recalc_rate(struct clk *hw, unsigned long parent_rate,
+ unsigned int val,
+ const struct clk_div_table *table,
+ unsigned long flags, unsigned long width);
struct clk_fixed_factor {
struct clk clk;
--
2.16.4
More information about the U-Boot
mailing list