clk: mux: add set parent support

Add set parent support for clk mux

Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Peng Fan 2019-07-31 07:01:28 +00:00 committed by Lukasz Majewski
parent 5b27ff8986
commit 4b044082c1
2 changed files with 70 additions and 2 deletions

View file

@ -66,6 +66,8 @@ struct clk_mux {
};
#define to_clk_mux(_clk) container_of(_clk, struct clk_mux, clk)
extern const struct clk_ops clk_mux_ops;
u8 clk_mux_get_parent(struct clk *clk);
struct clk_div_table {
unsigned int val;