ARM: AT91: Add the ADC clock to the sam9x5 SoC file
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 11 May 2012 13:35:36 +0000 (15:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:25:33 +0000 (13:25 -0700)
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>
arch/arm/mach-at91/at91sam9x5.c

index 13c8cae..1b144b4 100644 (file)
@@ -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,