All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: Kukjin Kim <kgene@kernel.org>
Cc: 'Javier Martinez Canillas' <javier@dowhile0.org>,
	'Olof Johansson' <olof@lixom.net>,
	'Arnd Bergmann' <arnd@arndb.de>,
	linux-samsung-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	'Chanwoo Choi' <cw00.choi@samsung.com>
Subject: Re: [GIT PULL 2/2] Samsung defconfig updates for v3.18
Date: Fri, 17 Oct 2014 08:00:47 +0900	[thread overview]
Message-ID: <54404E1F.7040607@samsung.com> (raw)
In-Reply-To: <014e01cfe917$20adbb90$620932b0$@kernel.org>

On 10/16/14 16:59, Kukjin Kim wrote:
> Javier Martinez Canillas wrote:
>>
>> Hello Kukjin,
>>
> Hi,
>
>> On Thu, Oct 16, 2014 at 3:01 AM, Kukjin Kim<kgene@kernel.org>  wrote:
>>> Sjoerd Simons wrote:
>>>>> On Tue, 2014-10-14 at 23:32 -0700, Olof Johansson wrote:
>>>>> On Tue, Oct 14, 2014 at 4:27 PM, Kukjin Kim<kgene.kim@samsung.com>  wrote:
>>>>>>    git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
>>>>>> tags/samsung-defconfig
>>>>>>
>>>>>> for you to fetch changes up to 508423bebcda29eb0ba7c627f895387dad7cdcd6:
>>>>>>
>>>>>>    ARM: exynos_defconfig: enable USB gadget support (2014-09-25 18:20:18
>>>>>> +0900)
>>>>>
>>>>> Merged, thanks.
>>>>
>>>> Hrm, enabling USB gadget support will actually regress USB on Exynos
>>>> peach boards and Arndale Octa without some of the DT fixes that landed
>>>> in armsoc next/late branch. Specifically:
>>>>
>>>> 5c42acdbffff9bab595482b966b22ab5e2f6f359
>>>> dbb62ef9ade6e92737d3fac199665b8b7c455959
>>>>
>>> Yeah...I've missed it. Sorry.
>>>
>>>> Might be good to cherry-pick those into for-next at this point (they're
>>>> rather trivial)
>>>>
>>> So...Olof, can you please cherry pick them into arm-soc/fixes? Or shall I send
>>> pull-request for them again?
>>>
>>
> + Arnd, Olof and regarding MLs
>
>> There are other bugfixes for 3.18 that ended in next/late so it would
>> be good if you do a new pull request to include those as well.
>>
>> The commits (with hashes from linux-next) are:
>>
>> 3f3d046 ARM: dts: Remove display timings node from exynos5250-snow
>> dd12ac7 ARM: dts: Fix chip select GPIO on exynos5250-smdk5250
>
Above patches are not required because there is no my wrong merge ;)

>> c04c92e ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow
>> 8bd43b6 ARM: dts: Add rtc_src clk for s3c-rtc on exynos Peach boards
>>
> I checked its dependent clock patches have been merged into mainline just now.
> As you know, the patches blocked dt patches in this time :( Anyway, I'll try
> to send a pull-request with including above patches tonight.
>
Hmm...

+ Chanwoo

I didn't look at the Chanwoo's patch closely at that time but I think we 
don't need to register rtc_src clock for all other Samsung stuff if we 
don't want to gate the clock for rtc driver. So the rtc driver would be 
fixed like below for all Samsung stuff...

diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index a6b1252..84f3cbd 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -535,13 +535,14 @@ static int s3c_rtc_probe(struct platform_device *pdev)
  	}
  	clk_prepare_enable(info->rtc_clk);

-	info->rtc_src_clk = devm_clk_get(&pdev->dev, "rtc_src");
-	if (IS_ERR(info->rtc_src_clk)) {
-		dev_err(&pdev->dev, "failed to find rtc source clock\n");
-		return PTR_ERR(info->rtc_src_clk);
+	if (info->data->needs_src_clk)
+		info->rtc_src_clk = devm_clk_get(&pdev->dev, "rtc_src");
+		if (IS_ERR(info->rtc_src_clk)) {
+			dev_err(&pdev->dev, "failed to find rtc source clock\n");
+			return PTR_ERR(info->rtc_src_clk);
+		}
+		clk_prepare_enable(info->rtc_src_clk);
  	}
-	clk_prepare_enable(info->rtc_src_clk);
-

  	/* check to see if everything is setup correctly */
  	if (info->data->enable)


> Thanks for your gentle reminder.
>
> Olof, I think it makes sense because it is related fixes for 3.18 ;)
>
> Sorry for late noise...
>
> Thanks,
> Kukjin

WARNING: multiple messages have this Message-ID (diff)
From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL 2/2] Samsung defconfig updates for v3.18
Date: Fri, 17 Oct 2014 08:00:47 +0900	[thread overview]
Message-ID: <54404E1F.7040607@samsung.com> (raw)
In-Reply-To: <014e01cfe917$20adbb90$620932b0$@kernel.org>

On 10/16/14 16:59, Kukjin Kim wrote:
> Javier Martinez Canillas wrote:
>>
>> Hello Kukjin,
>>
> Hi,
>
>> On Thu, Oct 16, 2014 at 3:01 AM, Kukjin Kim<kgene@kernel.org>  wrote:
>>> Sjoerd Simons wrote:
>>>>> On Tue, 2014-10-14 at 23:32 -0700, Olof Johansson wrote:
>>>>> On Tue, Oct 14, 2014 at 4:27 PM, Kukjin Kim<kgene.kim@samsung.com>  wrote:
>>>>>>    git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
>>>>>> tags/samsung-defconfig
>>>>>>
>>>>>> for you to fetch changes up to 508423bebcda29eb0ba7c627f895387dad7cdcd6:
>>>>>>
>>>>>>    ARM: exynos_defconfig: enable USB gadget support (2014-09-25 18:20:18
>>>>>> +0900)
>>>>>
>>>>> Merged, thanks.
>>>>
>>>> Hrm, enabling USB gadget support will actually regress USB on Exynos
>>>> peach boards and Arndale Octa without some of the DT fixes that landed
>>>> in armsoc next/late branch. Specifically:
>>>>
>>>> 5c42acdbffff9bab595482b966b22ab5e2f6f359
>>>> dbb62ef9ade6e92737d3fac199665b8b7c455959
>>>>
>>> Yeah...I've missed it. Sorry.
>>>
>>>> Might be good to cherry-pick those into for-next at this point (they're
>>>> rather trivial)
>>>>
>>> So...Olof, can you please cherry pick them into arm-soc/fixes? Or shall I send
>>> pull-request for them again?
>>>
>>
> + Arnd, Olof and regarding MLs
>
>> There are other bugfixes for 3.18 that ended in next/late so it would
>> be good if you do a new pull request to include those as well.
>>
>> The commits (with hashes from linux-next) are:
>>
>> 3f3d046 ARM: dts: Remove display timings node from exynos5250-snow
>> dd12ac7 ARM: dts: Fix chip select GPIO on exynos5250-smdk5250
>
Above patches are not required because there is no my wrong merge ;)

>> c04c92e ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow
>> 8bd43b6 ARM: dts: Add rtc_src clk for s3c-rtc on exynos Peach boards
>>
> I checked its dependent clock patches have been merged into mainline just now.
> As you know, the patches blocked dt patches in this time :( Anyway, I'll try
> to send a pull-request with including above patches tonight.
>
Hmm...

+ Chanwoo

I didn't look at the Chanwoo's patch closely at that time but I think we 
don't need to register rtc_src clock for all other Samsung stuff if we 
don't want to gate the clock for rtc driver. So the rtc driver would be 
fixed like below for all Samsung stuff...

diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index a6b1252..84f3cbd 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -535,13 +535,14 @@ static int s3c_rtc_probe(struct platform_device *pdev)
  	}
  	clk_prepare_enable(info->rtc_clk);

-	info->rtc_src_clk = devm_clk_get(&pdev->dev, "rtc_src");
-	if (IS_ERR(info->rtc_src_clk)) {
-		dev_err(&pdev->dev, "failed to find rtc source clock\n");
-		return PTR_ERR(info->rtc_src_clk);
+	if (info->data->needs_src_clk)
+		info->rtc_src_clk = devm_clk_get(&pdev->dev, "rtc_src");
+		if (IS_ERR(info->rtc_src_clk)) {
+			dev_err(&pdev->dev, "failed to find rtc source clock\n");
+			return PTR_ERR(info->rtc_src_clk);
+		}
+		clk_prepare_enable(info->rtc_src_clk);
  	}
-	clk_prepare_enable(info->rtc_src_clk);
-

  	/* check to see if everything is setup correctly */
  	if (info->data->enable)


> Thanks for your gentle reminder.
>
> Olof, I think it makes sense because it is related fixes for 3.18 ;)
>
> Sorry for late noise...
>
> Thanks,
> Kukjin

  reply	other threads:[~2014-10-16 23:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 23:27 [GIT PULL 2/2] Samsung defconfig updates for v3.18 Kukjin Kim
2014-10-14 23:27 ` Kukjin Kim
2014-10-15  6:32 ` Olof Johansson
2014-10-15  6:32   ` Olof Johansson
2014-10-15 13:37   ` Sjoerd Simons
2014-10-15 13:37     ` Sjoerd Simons
2014-10-16  1:01     ` Kukjin Kim
2014-10-16  1:01       ` Kukjin Kim
     [not found]       ` <CABxcv==HK5F5vv7g7XXBLofTVxx9Q8ZYj6bPfeMS7rWKTMb5pg@mail.gmail.com>
2014-10-16  7:59         ` Kukjin Kim
2014-10-16  7:59           ` Kukjin Kim
2014-10-16 23:00           ` Kukjin Kim [this message]
2014-10-16 23:00             ` Kukjin Kim
2014-10-16 23:42             ` Chanwoo Choi
2014-10-16 23:42               ` Chanwoo Choi
2014-10-17  6:16             ` Javier Martinez Canillas
2014-10-17  6:16               ` Javier Martinez Canillas

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=54404E1F.7040607@samsung.com \
    --to=kgene.kim@samsung.com \
    --cc=arnd@arndb.de \
    --cc=cw00.choi@samsung.com \
    --cc=javier@dowhile0.org \
    --cc=kgene@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=olof@lixom.net \
    /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.