diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-04-11 23:07:45 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-05-09 03:34:04 +0400 |
commit | 98d9986cb8bf65f8316b45244fdafc1d12c303be (patch) | |
tree | 88e6367c63a01ea8fe2c6480eea6d9d0782fa502 /include/linux/clk-provider.h | |
parent | e919c71665d2386eec6dc2ecd58d01bae69fc0fd (diff) | |
download | linux-98d9986cb8bf65f8316b45244fdafc1d12c303be.tar.xz |
ARM: Kirkwood: Replace clock gating
Add a varient of the basic clk-gate code. This variant calls a
function before gating the clock off. This function is used to disable
the SATA or PCIe PHY.
Now that all the drivers prepare and enable there clk as needed, there
is no need for the common code to keep track of which clocks need
gating on. Let the common clock framework turn off clocks which are
not used.
Buy using the added clk varient, when the clk framework turns off SATA
or PCIe clocks, we also disabled SATA and PCIe PHYs which were not
needed.
The function kirkwood_pcie_id() can now be called outside of __init
code, so remove this property for it, and functions it calls.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/clk-provider.h')
0 files changed, 0 insertions, 0 deletions