ARM: Orion: SATA: Add per channel clk/clkdev support.
authorAndrew Lunn <andrew@lunn.ch>
Sat, 18 Feb 2012 21:26:42 +0000 (22:26 +0100)
committerMike Turquette <mturquette@linaro.org>
Tue, 8 May 2012 23:33:58 +0000 (16:33 -0700)
commiteee989902aab45f0ca2739727ef615420802649c
tree062debde96c0ffb0d13c151e81f9d41561cd20d0
parent74c335761acdfd94736d28ba0b941a2efb9c81f0
ARM: Orion: SATA: Add per channel clk/clkdev support.

The Orion kirkwood chips have a gatable clock per SATA channel. Add
code to get and enable this clk if it exists.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
arch/arm/mach-kirkwood/common.c
drivers/ata/sata_mv.c