diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-04-15 14:06:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-20 08:44:22 +0200 |
commit | 707fb7ada577b4cb6988b9dc820a357959c626a3 (patch) | |
tree | ad6d8b4787aafa8d4d1935049949baa3de4c5d5d /include/linux/clk.h | |
parent | c7e41dac4fdb297be6a542389f017d725947649f (diff) | |
download | barebox-707fb7ada577b4cb6988b9dc820a357959c626a3.tar.gz barebox-707fb7ada577b4cb6988b9dc820a357959c626a3.tar.xz |
clk: gate: Add inverted gate support
This adds support for gates which need 0 to enable.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r-- | include/linux/clk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index 9c41cb8994..718faa0fb9 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -214,6 +214,8 @@ struct clk *clk_mux(const char *name, void __iomem *reg, u8 shift, u8 width, const char **parents, u8 num_parents); struct clk *clk_gate(const char *name, const char *parent, void __iomem *reg, u8 shift); +struct clk *clk_gate_inverted(const char *name, const char *parent, void __iomem *reg, + u8 shift); int clk_is_enabled_always(struct clk *clk); |