diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-07 11:54:19 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-07 11:54:19 +0100 |
commit | 6bbb1b51bf6fcc7ecc4ff3cb7c3cf472943faeac (patch) | |
tree | b7ee7acbf6928e3ff528e5633227bd6f91b86d21 /include/linux/clk.h | |
parent | 10ac493e963c9eea05f9e7f6c7e7d3e3db532ea7 (diff) | |
parent | 5a12d9036109f2a819e5e455102eb68db936608e (diff) | |
download | barebox-6bbb1b51bf6fcc7ecc4ff3cb7c3cf472943faeac.tar.gz barebox-6bbb1b51bf6fcc7ecc4ff3cb7c3cf472943faeac.tar.xz |
Merge branch 'pu/clk' into for-next/clk
Conflicts:
include/linux/clk.h
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r-- | include/linux/clk.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index 1030b50c63..4389cf8b93 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -184,9 +184,17 @@ struct clk { #define CLK_ALWAYS_ENABLED (1 << 0) +struct clk_div_table { + unsigned int val; + unsigned int div; +}; + struct clk *clk_fixed(const char *name, int rate); struct clk *clk_divider(const char *name, const char *parent, void __iomem *reg, u8 shift, u8 width); +struct clk *clk_divider_table(const char *name, + const char *parent, void __iomem *reg, u8 shift, u8 width, + const struct clk_div_table *table); struct clk *clk_fixed_factor(const char *name, const char *parent, unsigned int mult, unsigned int div); struct clk *clk_mux(const char *name, void __iomem *reg, |