ARM: Orion: NAND: Add support for clk, if there is one.
authorAndrew Lunn <andrew@lunn.ch>
Sun, 19 Feb 2012 10:01:22 +0000 (11:01 +0100)
committerMike Turquette <mturquette@linaro.org>
Tue, 8 May 2012 23:33:59 +0000 (16:33 -0700)
commit9c2bd504b55ce3e680ae0d3768e78c15fef3448d
tree01ca9fcb81c8d0bdf6680ceeb071f0120ad89c44
parent8c869edaee07c623066266827371235fb9c12e01
ARM: Orion: NAND: Add support for clk, if there is one.

Not all orion platforms can gate the clock, but if it does exist,
enable/disable it as appropriate.

v2: Fix the name of the clkdev entry.

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/mtd/nand/orion_nand.c