From: Maxime Ripard Date: Fri, 11 May 2012 13:35:36 +0000 (+0200) Subject: ARM: AT91: Add the ADC clock to the sam9x5 SoC file X-Git-Tag: accepted/tizen/common/20141203.182822~4586^2~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d449e4b2f4cd4c3f1fcf26b79222e6f5758df70;p=platform%2Fkernel%2Flinux-arm64.git ARM: AT91: Add the ADC clock to the sam9x5 SoC file Signed-off-by: Maxime Ripard Acked-by: Nicolas Ferre Acked-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- 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,