diff options
author | Graeme Gregory <gg@opensource.wolfsonmicro.com> | 2007-05-09 10:55:24 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-11 12:19:26 -0400 |
commit | b8b6970b4fe08397554295b0c5169bec7575f7c9 (patch) | |
tree | 429e80c7b12321b1f26806d0222e4b38939c69a8 | |
parent | c9184f58cac9efa5d7d90a0e979f398a99d91641 (diff) |
[ARM] 4365/1: Add AC97 clock to s3c2443 machine
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>
-rw-r--r-- | arch/arm/mach-s3c2443/clock.c | 4 | ||||
-rw-r--r-- | include/asm-arm/arch-s3c2410/regs-s3c2443-clock.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2443/clock.c b/arch/arm/mach-s3c2443/clock.c index dd2272fb1131..0b6e360aeae7 100644 --- a/arch/arm/mach-s3c2443/clock.c +++ b/arch/arm/mach-s3c2443/clock.c | |||
@@ -791,6 +791,10 @@ static struct clk init_clocks[] = { | |||
791 | .name = "usb-bus-host", | 791 | .name = "usb-bus-host", |
792 | .id = -1, | 792 | .id = -1, |
793 | .parent = &clk_usb_bus_host, | 793 | .parent = &clk_usb_bus_host, |
794 | }, { .name = "ac97", | ||
795 | .id = -1, | ||
796 | .parent = &clk_p, | ||
797 | .ctrlbit = S3C2443_PCLKCON_AC97, | ||
794 | } | 798 | } |
795 | }; | 799 | }; |
796 | 800 | ||
diff --git a/include/asm-arm/arch-s3c2410/regs-s3c2443-clock.h b/include/asm-arm/arch-s3c2410/regs-s3c2443-clock.h index cd9e26568f85..c1414658d1c5 100644 --- a/include/asm-arm/arch-s3c2410/regs-s3c2443-clock.h +++ b/include/asm-arm/arch-s3c2410/regs-s3c2443-clock.h | |||
@@ -129,6 +129,7 @@ | |||
129 | #define S3C2443_PCLKCON_IIC (1<<4) | 129 | #define S3C2443_PCLKCON_IIC (1<<4) |
130 | #define S3C2443_PCLKCON_SDI (1<<5) | 130 | #define S3C2443_PCLKCON_SDI (1<<5) |
131 | #define S3C2443_PCLKCON_ADC (1<<7) | 131 | #define S3C2443_PCLKCON_ADC (1<<7) |
132 | #define S3C2443_PCLKCON_AC97 (1<<8) | ||
132 | #define S3C2443_PCLKCON_IIS (1<<9) | 133 | #define S3C2443_PCLKCON_IIS (1<<9) |
133 | #define S3C2443_PCLKCON_PWMT (1<<10) | 134 | #define S3C2443_PCLKCON_PWMT (1<<10) |
134 | #define S3C2443_PCLKCON_WDT (1<<11) | 135 | #define S3C2443_PCLKCON_WDT (1<<11) |