remarkable-linux/arch/arm/mach-kirkwood
Simon Baatz b5409430ff ARM: Kirkwood: Fix PHY disable clk problems
Commit 98d9986 (ARM: Kirkwood: Replace clock gating) and the fix 5fb2ce
(ARM: Kirkwood: clk_register_gate_fn: add fn assignment) introduced a custom
variant of clock gating which allows to define a function to be called
before gating the clock off.

This is used to disable the SATA and PCIe PHYs if the respective clocks
are unused after initialization.

However, of these two drivers, the SATA driver may be compiled as a module.
The driver re-enables the clocks at module init but the PHYs stay disabled.

Since the custom clock gating disabled the PHYs when gating the clock off,
it should also re-enable them when enabling the clock gate.  This is done by
adding a second function that may be used to enable the PHYs.

Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
2012-07-25 16:51:10 +02:00
..
include/mach ARM: Orion: Fix Virtual/Physical mixup with watchdog 2012-06-23 16:19:21 -07:00
addr-map.c
board-dnskw.c ARM: kirkwood: Basic support for DNS-320 and DNS-325 2012-05-15 02:28:01 +00:00
board-dreamplug.c ARM: Orion: SPI: Add clk/clkdev support. 2012-05-08 16:33:55 -07:00
board-dt.c arm-soc: clock driver changes 2012-05-26 12:42:29 -07:00
board-ib62x0.c ARM: kirkwood: Add support for RaidSonic IB-NAS6210/6220 using devicetree 2012-05-15 03:18:49 +00:00
board-iconnect.c ARM: iconnect: Remove include of removed linux/spi/orion_spi.h 2012-06-17 10:51:49 -07:00
common.c ARM: Kirkwood: Fix PHY disable clk problems 2012-07-25 16:51:10 +02:00
common.h arm-soc: clock driver changes 2012-05-26 12:42:29 -07:00
cpuidle.c ARM: kirkwood: Consolidate time keeping and irq enable 2012-03-21 02:00:25 -04:00
d2net_v2-setup.c
db88f6281-bp-setup.c
dockstar-setup.c
guruplug-setup.c
irq.c
Kconfig ARM: kirkwood: Add support for RaidSonic IB-NAS6210/6220 using devicetree 2012-05-15 03:18:49 +00:00
lacie_v2-common.c
lacie_v2-common.h
Makefile ARM: kirkwood: Add support for RaidSonic IB-NAS6210/6220 using devicetree 2012-05-15 03:18:49 +00:00
Makefile.boot ARM: kirkwood: Add support for RaidSonic IB-NAS6210/6220 using devicetree 2012-05-15 03:18:49 +00:00
mpp.c
mpp.h ARM: orion: Fix Orion5x GPIO regression from MPP cleanup 2012-02-09 16:16:31 -08:00
mv88f6281gtw_ge-setup.c ARM: Orion: SPI: Add clk/clkdev support. 2012-05-08 16:33:55 -07:00
netspace_v2-setup.c
netxbig_v2-setup.c
openrd-setup.c ASoC: Convert kirkwood-openrd to use snd_soc_register_card() 2012-02-07 19:40:53 +00:00
pcie.c arm-soc: clock driver changes 2012-05-26 12:42:29 -07:00
rd88f6192-nas-setup.c ARM: Orion: SPI: Add clk/clkdev support. 2012-05-08 16:33:55 -07:00
rd88f6281-setup.c
sheevaplug-setup.c Merge branch 'restart' into for-linus 2012-01-05 13:25:27 +00:00
t5325-setup.c ARM: Orion: SPI: Add clk/clkdev support. 2012-05-08 16:33:55 -07:00
ts41x-setup.c
ts219-setup.c
tsx1x-common.c ARM: Orion: SPI: Add clk/clkdev support. 2012-05-08 16:33:55 -07:00
tsx1x-common.h