Skip to contentSkip to conversation

S3C64XX I2S: I2S controller-2 clock declare

PATCH New Jassi 2 participants 2 messages Sep 15, 2009 – Sep 16, 2009

Subsystems (3)
lore
Share & tools
lore

Jassi

author
#0 lore raw

PATCH 4/10 S3C64XX I2S: I2S controller-2 clock declare

Defined main clock for I2S controller-2 for S3C6410.

---
 arch/arm/plat-s3c64xx/clock.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
arch/arm/plat-s3c64xx/clock.c +8 -0
index 7a36e89..858c2d3 100644
@@ -129,6 +129,14 @@ static struct clk init_clocks_disable[] = {
 		.enable		= s3c64xx_pclk_ctrl,
 		.ctrlbit	= S3C_CLKCON_PCLK_IIS1,
 	}, {
+#ifdef CONFIG_CPU_S3C6410
+		.name		= "iis",
+		.id		= 2,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C6410_CLKCON_PCLK_IIS2,
+	}, {
+#endif
 		.name		= "spi",
 		.id		= 0,
 		.parent		= &clk_p,
Signature · 1 line
1.6.2.5
#1 lore raw

PATCH 4/10 S3C64XX I2S: I2S controller-2 clock declare

Quoted 3 lines · Jassi

Defined main clock for I2S controller-2 for S3C6410.

You're also going to need to ensure that the audio-bus clock is handled befoer the IISv4 driver is going to probe.