alistair23-linux/arch/arm/plat-orion
Andrew Lunn 98d9986cb8 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>
2012-05-08 16:34:04 -07:00
..
include/plat ARM: Orion: UART: Get the clock rate via clk_get_rate(). 2012-05-08 16:33:57 -07:00
addr-map.c ARM: Orion: Get address map from plat-orion instead of via platform_data 2011-12-13 18:46:55 -05:00
common.c ARM: Orion: UART: Get the clock rate via clk_get_rate(). 2012-05-08 16:33:57 -07:00
gpio.c ARM: plat-orion: make gpiochip label unique 2011-12-19 20:55:36 -08:00
irq.c
Makefile ARM: Orion: Consolidate the address map setup 2011-12-13 18:46:20 -05:00
mpp.c ARM: orion: Fix Orion5x GPIO regression from MPP cleanup 2012-02-09 16:16:31 -08:00
pcie.c ARM: Kirkwood: Replace clock gating 2012-05-08 16:34:04 -07:00
time.c ARM: 7205/2: sched_clock: allow sched_clock to be selected at runtime 2011-12-18 23:00:26 +00:00