diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-05-11 09:35:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-14 16:25:33 -0400 |
commit | 5d449e4b2f4cd4c3f1fcf26b79222e6f5758df70 (patch) | |
tree | 0c2dc70c780d9fc98579a4cc8af36069854b8e9c /arch/arm/mach-at91 | |
parent | 4a5920e848173dafd3907c8789fdb6ec89d0d621 (diff) |
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')
-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 13c8cae60462..1b144b4d3ce1 100644 --- a/arch/arm/mach-at91/at91sam9x5.c +++ b/arch/arm/mach-at91/at91sam9x5.c | |||
@@ -120,6 +120,11 @@ static struct clk adc_clk = { | |||
120 | .pmc_mask = 1 << AT91SAM9X5_ID_ADC, | 120 | .pmc_mask = 1 << AT91SAM9X5_ID_ADC, |
121 | .type = CLK_TYPE_PERIPHERAL, | 121 | .type = CLK_TYPE_PERIPHERAL, |
122 | }; | 122 | }; |
123 | static struct clk adc_op_clk = { | ||
124 | .name = "adc_op_clk", | ||
125 | .type = CLK_TYPE_PERIPHERAL, | ||
126 | .rate_hz = 5000000, | ||
127 | }; | ||
123 | static struct clk dma0_clk = { | 128 | static struct clk dma0_clk = { |
124 | .name = "dma0_clk", | 129 | .name = "dma0_clk", |
125 | .pmc_mask = 1 << AT91SAM9X5_ID_DMA0, | 130 | .pmc_mask = 1 << AT91SAM9X5_ID_DMA0, |
@@ -205,6 +210,7 @@ static struct clk *periph_clocks[] __initdata = { | |||
205 | &tcb0_clk, | 210 | &tcb0_clk, |
206 | &pwm_clk, | 211 | &pwm_clk, |
207 | &adc_clk, | 212 | &adc_clk, |
213 | &adc_op_clk, | ||
208 | &dma0_clk, | 214 | &dma0_clk, |
209 | &dma1_clk, | 215 | &dma1_clk, |
210 | &uhphs_clk, | 216 | &uhphs_clk, |