diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-04-22 12:30:41 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-04-22 12:30:41 +0100 |
commit | ed519dede3d705e1c0012acd5b8de4074aa30fa4 (patch) | |
tree | 4de79fbb96d8fcbdc84aaf7a1b823b3a628a2a47 /arch/arm | |
parent | 1b0646a033c370d6c7f5390f2cb452cc1884bb5b (diff) | |
download | blackbird-op-linux-ed519dede3d705e1c0012acd5b8de4074aa30fa4.tar.gz blackbird-op-linux-ed519dede3d705e1c0012acd5b8de4074aa30fa4.zip |
[ARM] Convert AMBA PL010 driver to use the clk infrastructure
Convert the AMBA PL010 serial driver to use the clock infrastructure
to allow EP93xx platforms to properly gate the clock to the UARTs.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-ep93xx/clock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c index f174d1a3b11c..9d7515c36bff 100644 --- a/arch/arm/mach-ep93xx/clock.c +++ b/arch/arm/mach-ep93xx/clock.c @@ -27,6 +27,10 @@ struct clk { u32 enable_mask; }; +static struct clk clk_uart = { + .name = "UARTCLK", + .rate = 14745600, +}; static struct clk clk_pll1 = { .name = "pll1", }; @@ -50,6 +54,7 @@ static struct clk clk_usb_host = { static struct clk *clocks[] = { + &clk_uart, &clk_pll1, &clk_f, &clk_h, |