diff options
author | Padmavathi Venna <padma.v@samsung.com> | 2012-12-19 09:49:29 -0800 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-12-19 09:49:29 -0800 |
commit | eaff82ed0f18022d089dbb157df49c0d79379168 (patch) | |
tree | 7df742af3d5bd0890205366f8edb6d3a5a69b392 /arch/arm/mach-s5pc100/dev-audio.c | |
parent | db7af96ee96d1c2f208611022740f9469158d3a8 (diff) | |
download | blackbird-op-linux-eaff82ed0f18022d089dbb157df49c0d79379168.tar.gz blackbird-op-linux-eaff82ed0f18022d089dbb157df49c0d79379168.zip |
ARM: S5PC100: Add I2S clkdev support
I2S controller has an internal mux for RCLK source clk. The list
of source clk names were passed through platform data in non-dt case.
Register the existing RCLK source clocks with clkdev using generic
connection id. This is required as part of adding DT support
for I2S controller driver.
Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pc100/dev-audio.c')
-rw-r--r-- | arch/arm/mach-s5pc100/dev-audio.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-s5pc100/dev-audio.c b/arch/arm/mach-s5pc100/dev-audio.c index 1cc252cef268..46f488b09391 100644 --- a/arch/arm/mach-s5pc100/dev-audio.c +++ b/arch/arm/mach-s5pc100/dev-audio.c @@ -39,18 +39,12 @@ static int s5pc100_cfg_i2s(struct platform_device *pdev) return 0; } -static const char *rclksrc_v5[] = { - [0] = "iis", - [1] = "i2sclkd2", -}; - static struct s3c_audio_pdata i2sv5_pdata = { .cfg_gpio = s5pc100_cfg_i2s, .type = { .i2s = { .quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI | QUIRK_NEED_RSTCLR, - .src_clk = rclksrc_v5, }, }, }; @@ -72,18 +66,8 @@ struct platform_device s5pc100_device_iis0 = { }, }; -static const char *rclksrc_v3[] = { - [0] = "iis", - [1] = "sclk_audio", -}; - static struct s3c_audio_pdata i2sv3_pdata = { .cfg_gpio = s5pc100_cfg_i2s, - .type = { - .i2s = { - .src_clk = rclksrc_v3, - }, - }, }; static struct resource s5pc100_iis1_resource[] = { |