All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tushar Behera <tushar.behera@linaro.org>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: 'Jingoo Han' <jg1.han@samsung.com>,
	'Paul Mundt' <lethal@linux-sh.org>,
	linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org,
	'Jonghun Han' <jonghun.han@samsung.com>,
	'Ben Dooks' <ben-linux@fluff.org>
Subject: Re: [PATCH V8 1/5] ARM: EXYNOS4: Change clock name for FIMD
Date: Tue, 30 Aug 2011 14:56:34 +0000	[thread overview]
Message-ID: <4E5CF752.6060505@linaro.org> (raw)
In-Reply-To: <006501cc4776$2ee2a4a0$8ca7ede0$%kim@samsung.com>

On Thursday 21 July 2011 12:46 PM, Kukjin Kim wrote:
> Jingoo Han wrote:
>>
>> This patch changes clock for FIMD from 'fimd' to 'lcd'.
>> Also, devname for FIMD is changed from 's5pv310-fb' to 'exynos4-fb'.
>>
>> Signed-off-by: Jingoo Han<jg1.han@samsung.com>
>> ---
>>   arch/arm/mach-exynos4/clock.c |   12 ++++++------
>>   1 files changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/arch/arm/mach-exynos4/clock.c b/arch/arm/mach-exynos4/clock.c
>> index 98b5cc4..778a202 100644
>> --- a/arch/arm/mach-exynos4/clock.c
>> +++ b/arch/arm/mach-exynos4/clock.c
>> @@ -405,13 +405,13 @@ static struct clk init_clocks_off[] = {
>>   		.enable		= exynos4_clk_ip_cam_ctrl,
>>   		.ctrlbit	= (1<<  3),
>>   	}, {
>> -		.name		= "fimd",
>> -		.devname	= "s5pv310-fb.0",
>> +		.name		= "lcd",
>> +		.devname	= "exynos4-fb.0",
>>   		.enable		= exynos4_clk_ip_lcd0_ctrl,
>>   		.ctrlbit	= (1<<  0),
>>   	}, {
>> -		.name		= "fimd",
>> -		.devname	= "s5pv310-fb.1",
>> +		.name		= "lcd",
>
> As I remember, some guys discussed about the clock name before.
>
> Please refer to the following diagram. Before EXYNOS4210 clk 'lcd' was used
> for FIMD IP core clock and source of the LCD pixel clock. But the mux used
> to select source of LCD pixel clock is removed. So 'lcd' clock is only used
> for core clock of FIMD IP. It isn't used for LCD pixel clock.
>
> As a result clock name was changed from lcd to fimd in the EXYNOS4210
> datasheet.
>
In drivers/video/s3c-fb.c:s3c_fb_probe(), the bus clock is assumed to be 
'lcd'. The bus clock name in all other related machine folder is 'lcd'. 
Hence for consistency, we might consider renaming 'fimd'=>'lcd', even 
though the clock name is different in the datasheet.


-- 
Tushar Behera

WARNING: multiple messages have this Message-ID (diff)
From: Tushar Behera <tushar.behera@linaro.org>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: 'Jingoo Han' <jg1.han@samsung.com>,
	'Paul Mundt' <lethal@linux-sh.org>,
	linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org,
	'Jonghun Han' <jonghun.han@samsung.com>,
	'Ben Dooks' <ben-linux@fluff.org>
Subject: Re: [PATCH V8 1/5] ARM: EXYNOS4: Change clock name for FIMD
Date: Tue, 30 Aug 2011 20:14:34 +0530	[thread overview]
Message-ID: <4E5CF752.6060505@linaro.org> (raw)
In-Reply-To: <006501cc4776$2ee2a4a0$8ca7ede0$%kim@samsung.com>

On Thursday 21 July 2011 12:46 PM, Kukjin Kim wrote:
> Jingoo Han wrote:
>>
>> This patch changes clock for FIMD from 'fimd' to 'lcd'.
>> Also, devname for FIMD is changed from 's5pv310-fb' to 'exynos4-fb'.
>>
>> Signed-off-by: Jingoo Han<jg1.han@samsung.com>
>> ---
>>   arch/arm/mach-exynos4/clock.c |   12 ++++++------
>>   1 files changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/arch/arm/mach-exynos4/clock.c b/arch/arm/mach-exynos4/clock.c
>> index 98b5cc4..778a202 100644
>> --- a/arch/arm/mach-exynos4/clock.c
>> +++ b/arch/arm/mach-exynos4/clock.c
>> @@ -405,13 +405,13 @@ static struct clk init_clocks_off[] = {
>>   		.enable		= exynos4_clk_ip_cam_ctrl,
>>   		.ctrlbit	= (1<<  3),
>>   	}, {
>> -		.name		= "fimd",
>> -		.devname	= "s5pv310-fb.0",
>> +		.name		= "lcd",
>> +		.devname	= "exynos4-fb.0",
>>   		.enable		= exynos4_clk_ip_lcd0_ctrl,
>>   		.ctrlbit	= (1<<  0),
>>   	}, {
>> -		.name		= "fimd",
>> -		.devname	= "s5pv310-fb.1",
>> +		.name		= "lcd",
>
> As I remember, some guys discussed about the clock name before.
>
> Please refer to the following diagram. Before EXYNOS4210 clk 'lcd' was used
> for FIMD IP core clock and source of the LCD pixel clock. But the mux used
> to select source of LCD pixel clock is removed. So 'lcd' clock is only used
> for core clock of FIMD IP. It isn't used for LCD pixel clock.
>
> As a result clock name was changed from lcd to fimd in the EXYNOS4210
> datasheet.
>
In drivers/video/s3c-fb.c:s3c_fb_probe(), the bus clock is assumed to be 
'lcd'. The bus clock name in all other related machine folder is 'lcd'. 
Hence for consistency, we might consider renaming 'fimd'==>'lcd', even 
though the clock name is different in the datasheet.


-- 
Tushar Behera

  reply	other threads:[~2011-08-30 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 22:54 [PATCH V8 1/5] ARM: EXYNOS4: Change clock name for FIMD Jingoo Han
2011-07-20 22:54 ` Jingoo Han
2011-07-21  7:16 ` Kukjin Kim
2011-07-21  7:16   ` Kukjin Kim
2011-08-30 14:44   ` Tushar Behera [this message]
2011-08-30 14:56     ` Tushar Behera

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=4E5CF752.6060505@linaro.org \
    --to=tushar.behera@linaro.org \
    --cc=ben-linux@fluff.org \
    --cc=jg1.han@samsung.com \
    --cc=jonghun.han@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.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.