diff options
author | Padmavathi Venna <padma.v@samsung.com> | 2012-12-19 12:49:29 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-12-19 12:49:29 -0500 |
commit | fb0a20594787f8a1f10389eec46a2cd51fa6a533 (patch) | |
tree | 0aea1cecd985b78aab88fcbd6dacad9966bf221f /arch/arm | |
parent | 1fa49e46972d76b2e7d80410d95aff7ab59a3d23 (diff) |
ARM: EXYNOS: Avoid passing the clks through platform data
I2S controller has an internal mux for RCLK source clks. The list
of source clk names were passed through platform data in non-dt case.
The variable holding the list of RCLK source clk names is not
required, as the list of clks need to be registered 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')
-rw-r--r-- | arch/arm/mach-exynos/dev-audio.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-exynos/dev-audio.c b/arch/arm/mach-exynos/dev-audio.c index a1cb42c39590..9d1a60951d7b 100644 --- a/arch/arm/mach-exynos/dev-audio.c +++ b/arch/arm/mach-exynos/dev-audio.c | |||
@@ -23,11 +23,6 @@ | |||
23 | #include <mach/irqs.h> | 23 | #include <mach/irqs.h> |
24 | #include <mach/regs-audss.h> | 24 | #include <mach/regs-audss.h> |
25 | 25 | ||
26 | static const char *rclksrc[] = { | ||
27 | [0] = "busclk", | ||
28 | [1] = "i2sclk", | ||
29 | }; | ||
30 | |||
31 | static int exynos4_cfg_i2s(struct platform_device *pdev) | 26 | static int exynos4_cfg_i2s(struct platform_device *pdev) |
32 | { | 27 | { |
33 | /* configure GPIO for i2s port */ | 28 | /* configure GPIO for i2s port */ |
@@ -55,7 +50,6 @@ static struct s3c_audio_pdata i2sv5_pdata = { | |||
55 | .i2s = { | 50 | .i2s = { |
56 | .quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI | 51 | .quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI |
57 | | QUIRK_NEED_RSTCLR, | 52 | | QUIRK_NEED_RSTCLR, |
58 | .src_clk = rclksrc, | ||
59 | .idma_addr = EXYNOS4_AUDSS_INT_MEM, | 53 | .idma_addr = EXYNOS4_AUDSS_INT_MEM, |
60 | }, | 54 | }, |
61 | }, | 55 | }, |
@@ -78,17 +72,11 @@ struct platform_device exynos4_device_i2s0 = { | |||
78 | }, | 72 | }, |
79 | }; | 73 | }; |
80 | 74 | ||
81 | static const char *rclksrc_v3[] = { | ||
82 | [0] = "sclk_i2s", | ||
83 | [1] = "no_such_clock", | ||
84 | }; | ||
85 | |||
86 | static struct s3c_audio_pdata i2sv3_pdata = { | 75 | static struct s3c_audio_pdata i2sv3_pdata = { |
87 | .cfg_gpio = exynos4_cfg_i2s, | 76 | .cfg_gpio = exynos4_cfg_i2s, |
88 | .type = { | 77 | .type = { |
89 | .i2s = { | 78 | .i2s = { |
90 | .quirks = QUIRK_NO_MUXPSR, | 79 | .quirks = QUIRK_NO_MUXPSR, |
91 | .src_clk = rclksrc_v3, | ||
92 | }, | 80 | }, |
93 | }, | 81 | }, |
94 | }; | 82 | }; |