]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4365/1: Add AC97 clock to s3c2443 machine
authorGraeme Gregory <gg@opensource.wolfsonmicro.com>
Wed, 9 May 2007 14:55:24 +0000 (15:55 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 11 May 2007 16:19:26 +0000 (17:19 +0100)
This adds the ac97 clock to the s3c2443 machine files. It seems to
have been simply missed out previously.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2443/clock.c
include/asm-arm/arch-s3c2410/regs-s3c2443-clock.h

index dd2272fb1131c53e99b2ba75a85369ecafd7ffd8..0b6e360aeae7d23945400c4f9c0ef6819cc05e92 100644 (file)
@@ -791,6 +791,10 @@ static struct clk init_clocks[] = {
                .name           = "usb-bus-host",
                .id             = -1,
                .parent         = &clk_usb_bus_host,
+       }, {    .name           = "ac97",
+               .id             = -1,
+               .parent         = &clk_p,
+               .ctrlbit        = S3C2443_PCLKCON_AC97,
        }
 };
 
index cd9e26568f858254fd15f3895d083a7782567fee..c1414658d1c5d757624faff55ee7431cb9369589 100644 (file)
 #define S3C2443_PCLKCON_IIC            (1<<4)
 #define S3C2443_PCLKCON_SDI            (1<<5)
 #define S3C2443_PCLKCON_ADC            (1<<7)
+#define S3C2443_PCLKCON_AC97           (1<<8)
 #define S3C2443_PCLKCON_IIS            (1<<9)
 #define S3C2443_PCLKCON_PWMT           (1<<10)
 #define S3C2443_PCLKCON_WDT            (1<<11)