Skip to contentSkip to conversation

ARM: Exynos4: Put PCM, Slimbus, Spdif clocks to off state

PATCH New Chander Kashyap 4 participants 6 messages Sep 6, 2012 – Sep 19, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: Exynos4: Put PCM, Slimbus, Spdif clocks to off state

The clocks for PCM, Slimbus, Spdif added to off list in order to turn them off at boot time.

---
 arch/arm/mach-exynos/clock-exynos4.c |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
arch/arm/mach-exynos/clock-exynos4.c +19 -0
index 7cc5491..6a45c9a 100644
@@ -627,6 +627,25 @@ static struct clk exynos4_init_clocks_off[] = {
 		.enable		= exynos4_clk_ip_peril_ctrl,
 		.ctrlbit	= (1 << 21),
 	}, {
+		.name		= "pcm",
+		.devname	= "samsung-pcm.1",
+		.enable		= exynos4_clk_ip_peril_ctrl,
+		.ctrlbit	= (1 << 22),
+	}, {
+		.name		= "pcm",
+		.devname	= "samsung-pcm.2",
+		.enable		= exynos4_clk_ip_peril_ctrl,
+		.ctrlbit	= (1 << 23),
+	}, {
+		.name		= "slimbus",
+		.enable		= exynos4_clk_ip_peril_ctrl,
+		.ctrlbit	= (1 << 25),
+	}, {
+		.name		= "spdif",
+		.devname	= "samsung-spdif",
+		.enable		= exynos4_clk_ip_peril_ctrl,
+		.ctrlbit	= (1 << 26),
+	}, {
 		.name		= "ac97",
 		.devname	= "samsung-ac97",
 		.enable		= exynos4_clk_ip_peril_ctrl,
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/2 ARM: Exynos4: Put PCM, Slimbus, Spdif clocks to off state

ping

Quoted 41 lines · Chander Kashyap

The clocks for PCM, Slimbus, Spdif added to off list in order to turn them off at boot time.

---
 arch/arm/mach-exynos/clock-exynos4.c |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
arch/arm/mach-exynos/clock-exynos4.c +19 -1
index 7cc5491..6a45c9a 100644
@@ -627,6 +627,25 @@ static struct clk exynos4_init_clocks_off[] = {
                .enable         = exynos4_clk_ip_peril_ctrl,
                .ctrlbit        = (1 << 21),
        }, {
+               .name           = "pcm",
+               .devname        = "samsung-pcm.1",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 22),
+       }, {
+               .name           = "pcm",
+               .devname        = "samsung-pcm.2",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 23),
+       }, {
+               .name           = "slimbus",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 25),
+       }, {
+               .name           = "spdif",
+               .devname        = "samsung-spdif",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 26),
+       }, {
                .name           = "ac97",
                .devname        = "samsung-ac97",
                .enable         = exynos4_clk_ip_peril_ctrl,
--

1.7.9.5

Signature · 2 lines
with warm regards,
Chander Kashyap
#2 lore raw

PATCH 1/2 ARM: Exynos4: Put PCM, Slimbus, Spdif clocks to off state

In reply to Chander Kashyap
Quoted 39 lines · Chander Kashyap

The clocks for PCM, Slimbus, Spdif added to off list in order to turn them off at boot time.

---
 arch/arm/mach-exynos/clock-exynos4.c |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
arch/arm/mach-exynos/clock-exynos4.c +19 -1
index 7cc5491..6a45c9a 100644
@@ -627,6 +627,25 @@ static struct clk exynos4_init_clocks_off[] = {
                .enable         = exynos4_clk_ip_peril_ctrl,
                .ctrlbit        = (1 << 21),
        }, {
+               .name           = "pcm",
+               .devname        = "samsung-pcm.1",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 22),
+       }, {
+               .name           = "pcm",
+               .devname        = "samsung-pcm.2",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 23),
+       }, {
+               .name           = "slimbus",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 25),
+       }, {
+               .name           = "spdif",
+               .devname        = "samsung-spdif",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 26),
+       }, {
                .name           = "ac97",
                .devname        = "samsung-ac97",
                .enable         = exynos4_clk_ip_peril_ctrl,
--
Quoted 1 line

1.7.9.5

#3 lore raw

PATCH 1/2 ARM: Exynos4: Put PCM, Slimbus, Spdif clocks to off state

Quoted 38 lines · Thomas Abraham

arch/arm/mach-

Quoted 9 lines · Chander Kashyap

The clocks for PCM, Slimbus, Spdif added to off list in order to turn them off at boot time.

---
 arch/arm/mach-exynos/clock-exynos4.c |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
arch/arm/mach- renamed from arch/arm/mach-exynos/clock-exynos4.c +0 -0

exynos/clock-exynos4.c

Quoted 25 lines

index 7cc5491..6a45c9a 100644

arch/arm/mach-exynos/clock-exynos4.c +18 -0
@@ -627,6 +627,25 @@ static struct clk exynos4_init_clocks_off[] = {
                .enable         = exynos4_clk_ip_peril_ctrl,
                .ctrlbit        = (1 << 21),
        }, {
+               .name           = "pcm",
+               .devname        = "samsung-pcm.1",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 22),
+       }, {
+               .name           = "pcm",
+               .devname        = "samsung-pcm.2",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 23),
+       }, {
+               .name           = "slimbus",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 25),
+       }, {
+               .name           = "spdif",
+               .devname        = "samsung-spdif",
+               .enable         = exynos4_clk_ip_peril_ctrl,
+               .ctrlbit        = (1 << 26),
Quoted 8 lines
Quoted 6 lines
arch/arm/mach-exynos/clock-exynos4.c +1 -1
+       }, {
                .name           = "ac97",
                .devname        = "samsung-ac97",
                .enable         = exynos4_clk_ip_peril_ctrl,
--

1.7.9.5

Sangbeom, could you please check this one more?

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

#5 lore raw

PATCH 1/2 ARM: Exynos4: Put PCM, Slimbus, Spdif clocks to off state

Quoted 4 lines · Sangbeom Kim

Hi!
On Thursday, Sep 20, 2012 at 08:24 AM, Kukjin Kim wrote:

Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

The clocks for PCM, Slimbus, Spdif added to off list in order to turn them off at boot time.

Thanks, will apply.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.