diff mbox

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

Message ID 1346940968-4423-1-git-send-email-chander.kashyap@linaro.org
State Accepted
Headers show

Commit Message

Chander Kashyap Sept. 6, 2012, 2:16 p.m. UTC
The clocks for PCM, Slimbus, Spdif added to off list in order
to turn them off at boot time.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
---
 arch/arm/mach-exynos/clock-exynos4.c |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Comments

Chander Kashyap Sept. 14, 2012, 9:21 a.m. UTC | #1
ping

On 6 September 2012 19:46, Chander Kashyap <chander.kashyap@linaro.org> wrote:
> The clocks for PCM, Slimbus, Spdif added to off list in order
> to turn them off at boot time.
>
> Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
> ---
>  arch/arm/mach-exynos/clock-exynos4.c |   19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>
> diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c
> index 7cc5491..6a45c9a 100644
> --- a/arch/arm/mach-exynos/clock-exynos4.c
> +++ b/arch/arm/mach-exynos/clock-exynos4.c
> @@ -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
>
thomas.abraham@linaro.org Sept. 18, 2012, 4:16 a.m. UTC | #2
On 6 September 2012 19:46, Chander Kashyap <chander.kashyap@linaro.org> wrote:
> The clocks for PCM, Slimbus, Spdif added to off list in order
> to turn them off at boot time.
>
> Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
> ---
>  arch/arm/mach-exynos/clock-exynos4.c |   19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>
> diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c
> index 7cc5491..6a45c9a 100644
> --- a/arch/arm/mach-exynos/clock-exynos4.c
> +++ b/arch/arm/mach-exynos/clock-exynos4.c
> @@ -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

Acked-by: Thomas Abraham <thomas.abraham@linaro.org>
Kukjin Kim Sept. 19, 2012, 11:23 p.m. UTC | #3
Thomas Abraham wrote:
> 
> On 6 September 2012 19:46, Chander Kashyap <chander.kashyap@linaro.org>
> wrote:
> > The clocks for PCM, Slimbus, Spdif added to off list in order
> > to turn them off at boot time.
> >
> > Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
> > ---
> >  arch/arm/mach-exynos/clock-exynos4.c |   19 +++++++++++++++++++
> >  1 file changed, 19 insertions(+)
> >
> > diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-
> exynos/clock-exynos4.c
> > index 7cc5491..6a45c9a 100644
> > --- a/arch/arm/mach-exynos/clock-exynos4.c
> > +++ b/arch/arm/mach-exynos/clock-exynos4.c
> > @@ -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
> 
> Acked-by: Thomas Abraham <thomas.abraham@linaro.org>

Sangbeom, could you please check this one more?

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
Sangbeom Kim Sept. 19, 2012, 11:52 p.m. UTC | #4
Hi!
On Thursday, Sep 20, 2012 at 08:24 AM, Kukjin Kim wrote:

> > > The clocks for PCM, Slimbus, Spdif added to off list in order
> > > to turn them off at boot time.
> > >
> > > Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
> > Acked-by: Thomas Abraham <thomas.abraham@linaro.org>

Acked-by: Sangbeom Kim <sbkim73@samsung.com>

Thanks,
Sangbeom.
Kukjin Kim Sept. 19, 2012, 11:55 p.m. UTC | #5
Sangbeom Kim wrote:
> 
> Hi!
> On Thursday, Sep 20, 2012 at 08:24 AM, Kukjin Kim wrote:
> 
> > > > The clocks for PCM, Slimbus, Spdif added to off list in order
> > > > to turn them off at boot time.
> > > >
> > > > Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
> > > Acked-by: Thomas Abraham <thomas.abraham@linaro.org>
> 
> Acked-by: Sangbeom Kim <sbkim73@samsung.com>
> 
Thanks, will apply.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
diff mbox

Patch

diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c
index 7cc5491..6a45c9a 100644
--- a/arch/arm/mach-exynos/clock-exynos4.c
+++ b/arch/arm/mach-exynos/clock-exynos4.c
@@ -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,