mbox

[GIT,PULL,2/2] Samsung defconfig updates for v3.18

Message ID 543DB158.7030303@samsung.com
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git

Message

Kukjin Kim Oct. 14, 2014, 11:27 p.m. UTC
The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

   Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)

are available in the git repository at:

   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)

----------------------------------------------------------------
Samsung defconfig, actually exynos_defconig updates for v3.18
- enable USB gadget support
- enable Maxim77802 support
- enable Maxim77693 and I2C GPIO drivers
- enable Atmel maXTouch support
- enable SBS battery support
- enable Control Groups support

----------------------------------------------------------------
Javier Martinez Canillas (3):
       ARM: exynos_defconfig: Enable Atmel maXTouch support
       ARM: exynos_defconfig: Enable Control Groups support
       ARM: exynos_defconfig: Enable SBS battery support

Krzysztof Kozlowski (1):
       ARM: exynos_defconfig: Enable Maxim 77693 and I2C GPIO drivers

Sjoerd Simons (1):
       ARM: exynos_defconfig: enable USB gadget support

Vivek Gautam (1):
       ARM: exynos_defconfig: Enable MAX77802

  arch/arm/configs/exynos_defconfig | 10 ++++++++++
  1 file changed, 10 insertions(+)

Comments

Olof Johansson Oct. 15, 2014, 6:32 a.m. UTC | #1
On Tue, Oct 14, 2014 at 4:27 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:
>
>   Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)
>
> are available in the git repository at:
>
>   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.


-Olof
Sjoerd Simons Oct. 15, 2014, 1:37 p.m. UTC | #2
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

Might be good to cherry-pick those into for-next at this point (they're
rather trivial)
'Kukjin Kim' Oct. 16, 2014, 1:01 a.m. UTC | #3
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?

- Kukjin
'Kukjin Kim' Oct. 16, 2014, 7:59 a.m. UTC | #4
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

> 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.

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
Chanwoo Choi Oct. 16, 2014, 11:42 p.m. UTC | #5
Dear Kukjin,

On 10/17/2014 08:00 AM, Kukjin Kim wrote:
> 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...

You are right. It is my mistake when sending rtc patchset.
So, Marek sent a patch[1] to fix this bug as following:
 [1] https://lkml.org/lkml/2014/10/15/605
  - [PATCH] drivers: rtc: fix s3c-rtc initialization failure without rtc source clock

And then Andrew Morton (akpm@linux-foundation.org) picked up this patch and will apply it on linux-next branch.
http://ozlabs.org/~akpm/mmots/broken-out/drivers-rtc-fix-s3c-rtc-initialization-failure-without-rtc-source-clock.patch

Best Regards,
Chanwoo Choi

> 
> 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
>
Javier Martinez Canillas Oct. 17, 2014, 6:16 a.m. UTC | #6
Hello Kukjin,

On Fri, Oct 17, 2014 at 1:00 AM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> 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 ;)
>

Right, for some reason I thought that Andreas' rebased patches ended
in for-next but now I see that are in next/late as well so yes, those
patches are not required for 3.18.

Sorry for the noise then, -ETOOMANYBRANCHES

>>> 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)
>
>
>

The Snow/Peach rtc_src clk for s3c-rtc patches are still needed on
those platforms since the S3C RTC uses the Maxim 77802 32kHz AP clock
as its source clock and this will be disabled by the common clock
framework if are not used.

In practice, most people using mainline are booting with a U-Boot
version that passes the clk_ignore_unused parameter to the kernel
command line so if Marek's patch makes for the 3.18 rc cycle, the
Snow/Peach rtc_src patches can indeed wait for 3.19.

Best regards,
Javier