diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-05-11 15:35:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-14 13:25:33 -0700 |
commit | 5d449e4b2f4cd4c3f1fcf26b79222e6f5758df70 (patch) | |
tree | 0c2dc70c780d9fc98579a4cc8af36069854b8e9c /arch/arm/mach-at91/at91sam9x5.c | |
parent | 4a5920e848173dafd3907c8789fdb6ec89d0d621 (diff) | |
download | op-kernel-dev-5d449e4b2f4cd4c3f1fcf26b79222e6f5758df70.zip op-kernel-dev-5d449e4b2f4cd4c3f1fcf26b79222e6f5758df70.tar.gz |
ARM: AT91: Add the ADC clock to the sam9x5 SoC file
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9x5.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9x5.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c index 13c8cae..1b144b4 100644 --- a/arch/arm/mach-at91/at91sam9x5.c +++ b/arch/arm/mach-at91/at91sam9x5.c @@ -120,6 +120,11 @@ static struct clk adc_clk = { .pmc_mask = 1 << AT91SAM9X5_ID_ADC, .type = CLK_TYPE_PERIPHERAL, }; +static struct clk adc_op_clk = { + .name = "adc_op_clk", + .type = CLK_TYPE_PERIPHERAL, + .rate_hz = 5000000, +}; static struct clk dma0_clk = { .name = "dma0_clk", .pmc_mask = 1 << AT91SAM9X5_ID_DMA0, @@ -205,6 +210,7 @@ static struct clk *periph_clocks[] __initdata = { &tcb0_clk, &pwm_clk, &adc_clk, + &adc_op_clk, &dma0_clk, &dma1_clk, &uhphs_clk, |