diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-03-09 01:10:34 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-13 20:30:46 -0400 |
commit | 835879a8848e9de93d38cdae99bda18d08545586 (patch) | |
tree | 044c0778e5232ad887e193562f415883e5893f4c /arch/arm/mach-s3c64xx | |
parent | 1aede2ea50a56a83dd95e7d1139a948212be2446 (diff) |
ARM: S3C6410: Declare IISv4 audio-bus clock
Declare 'audio-bus' clock for IISv4 controller of S3C6410.
Even though the name is same as that for IISv3, the id is
set to -1(just one instance of the controller is available)
which helps always fetch the correct clock.
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/clock.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c index 6c286d551e0b..da8359589019 100644 --- a/arch/arm/mach-s3c64xx/clock.c +++ b/arch/arm/mach-s3c64xx/clock.c | |||
@@ -670,6 +670,16 @@ static struct clksrc_clk clksrcs[] = { | |||
670 | .sources = &clkset_audio1, | 670 | .sources = &clkset_audio1, |
671 | }, { | 671 | }, { |
672 | .clk = { | 672 | .clk = { |
673 | .name = "audio-bus", | ||
674 | .id = -1, /* There's only one IISv4 port */ | ||
675 | .ctrlbit = S3C6410_CLKCON_SCLK_AUDIO2, | ||
676 | .enable = s3c64xx_sclk_ctrl, | ||
677 | }, | ||
678 | .reg_src = { .reg = S3C6410_CLK_SRC2, .shift = 0, .size = 3 }, | ||
679 | .reg_div = { .reg = S3C_CLK_DIV2, .shift = 24, .size = 4 }, | ||
680 | .sources = &clkset_audio2, | ||
681 | }, { | ||
682 | .clk = { | ||
673 | .name = "irda-bus", | 683 | .name = "irda-bus", |
674 | .id = 0, | 684 | .id = 0, |
675 | .ctrlbit = S3C_CLKCON_SCLK_IRDA, | 685 | .ctrlbit = S3C_CLKCON_SCLK_IRDA, |