From: Kukjin Kim <kgene.kim@samsung.com>
To: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Chander Kashyap <chander.kashyap@linaro.org>,
linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
linux-arm-kernel@lists.infradead.org, patches@linaro.org
Subject: Re: [PATCH] ARM: Exynos4: Turn off clocks for NAND, OneNAND and TSI controllers
Date: Tue, 28 Aug 2012 16:20:18 -0700 [thread overview]
Message-ID: <503D5232.5040101@samsung.com> (raw)
In-Reply-To: <CAJuYYwSFMR1cJm7SB-eF_aYM9SPMaopvw3K9stiPvabCfjH=QA@mail.gmail.com>
On 08/28/12 01:15, Thomas Abraham wrote:
> On 24 August 2012 20:22, Chander Kashyap<chander.kashyap@linaro.org> wrote:
>> The clocks for NAND, OneNAND and Transport Stream Interface(TSI)
>> controllers could be either enabled or disabled at boot. To ensure
>> that these are turned off until used, add them to the list of clocks
>> to be turned off during boot.
>>
>> Signed-off-by: Chander Kashyap<chander.kashyap@linaro.org>
>> ---
>> arch/arm/mach-exynos/clock-exynos4.c | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c
>> index 2f51293..7cc5491 100644
>> --- a/arch/arm/mach-exynos/clock-exynos4.c
>> +++ b/arch/arm/mach-exynos/clock-exynos4.c
>> @@ -501,6 +501,10 @@ static struct clk exynos4_init_clocks_off[] = {
>> .enable = exynos4_clk_ip_cam_ctrl,
>> .ctrlbit = (1<< 3),
>> }, {
>> + .name = "tsi",
>> + .enable = exynos4_clk_ip_fsys_ctrl,
>> + .ctrlbit = (1<< 4),
>> + }, {
>> .name = "hsmmc",
>> .devname = "exynos4-sdhci.0",
>> .parent =&exynos4_clk_aclk_133.clk,
>> @@ -530,6 +534,14 @@ static struct clk exynos4_init_clocks_off[] = {
>> .enable = exynos4_clk_ip_fsys_ctrl,
>> .ctrlbit = (1<< 9),
>> }, {
>> + .name = "onenand",
>> + .enable = exynos4_clk_ip_fsys_ctrl,
>> + .ctrlbit = (1<< 15),
>> + }, {
>> + .name = "nfcon",
>> + .enable = exynos4_clk_ip_fsys_ctrl,
>> + .ctrlbit = (1<< 16),
>> + }, {
>> .name = "dac",
>> .devname = "s5p-sdo",
>> .enable = exynos4_clk_ip_tv_ctrl,
>> --
>> 1.7.9.5
>
> Reviewed-by: Thomas Abraham<thomas.abraham@linaro.org>
Applied, thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
WARNING: multiple messages have this Message-ID (diff)
From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Exynos4: Turn off clocks for NAND, OneNAND and TSI controllers
Date: Tue, 28 Aug 2012 16:20:18 -0700 [thread overview]
Message-ID: <503D5232.5040101@samsung.com> (raw)
In-Reply-To: <CAJuYYwSFMR1cJm7SB-eF_aYM9SPMaopvw3K9stiPvabCfjH=QA@mail.gmail.com>
On 08/28/12 01:15, Thomas Abraham wrote:
> On 24 August 2012 20:22, Chander Kashyap<chander.kashyap@linaro.org> wrote:
>> The clocks for NAND, OneNAND and Transport Stream Interface(TSI)
>> controllers could be either enabled or disabled at boot. To ensure
>> that these are turned off until used, add them to the list of clocks
>> to be turned off during boot.
>>
>> Signed-off-by: Chander Kashyap<chander.kashyap@linaro.org>
>> ---
>> arch/arm/mach-exynos/clock-exynos4.c | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c
>> index 2f51293..7cc5491 100644
>> --- a/arch/arm/mach-exynos/clock-exynos4.c
>> +++ b/arch/arm/mach-exynos/clock-exynos4.c
>> @@ -501,6 +501,10 @@ static struct clk exynos4_init_clocks_off[] = {
>> .enable = exynos4_clk_ip_cam_ctrl,
>> .ctrlbit = (1<< 3),
>> }, {
>> + .name = "tsi",
>> + .enable = exynos4_clk_ip_fsys_ctrl,
>> + .ctrlbit = (1<< 4),
>> + }, {
>> .name = "hsmmc",
>> .devname = "exynos4-sdhci.0",
>> .parent =&exynos4_clk_aclk_133.clk,
>> @@ -530,6 +534,14 @@ static struct clk exynos4_init_clocks_off[] = {
>> .enable = exynos4_clk_ip_fsys_ctrl,
>> .ctrlbit = (1<< 9),
>> }, {
>> + .name = "onenand",
>> + .enable = exynos4_clk_ip_fsys_ctrl,
>> + .ctrlbit = (1<< 15),
>> + }, {
>> + .name = "nfcon",
>> + .enable = exynos4_clk_ip_fsys_ctrl,
>> + .ctrlbit = (1<< 16),
>> + }, {
>> .name = "dac",
>> .devname = "s5p-sdo",
>> .enable = exynos4_clk_ip_tv_ctrl,
>> --
>> 1.7.9.5
>
> Reviewed-by: Thomas Abraham<thomas.abraham@linaro.org>
Applied, thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
next prev parent reply other threads:[~2012-08-28 23:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-24 14:52 [PATCH] ARM: Exynos4: Turn off clocks for NAND, OneNAND and TSI controllers Chander Kashyap
2012-08-24 14:52 ` Chander Kashyap
2012-08-28 8:15 ` Thomas Abraham
2012-08-28 8:15 ` Thomas Abraham
2012-08-28 23:20 ` Kukjin Kim [this message]
2012-08-28 23:20 ` Kukjin Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503D5232.5040101@samsung.com \
--to=kgene.kim@samsung.com \
--cc=chander.kashyap@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=patches@linaro.org \
--cc=thomas.abraham@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.