Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2016-04-21 Thread Eddie Huang
Hi Matthias,

On Thu, 2016-04-21 at 12:58 +0200, Matthias Brugger wrote:
> 
> On 21/04/16 12:26, Matthias Brugger wrote:
> >
> >
> > On 02/09/15 19:23, Matthias Brugger wrote:
> >>
> >>
> >> On 02/09/15 08:45, Daniel Kurtz wrote:
> >>> Matthias,
> >>>
> >>> On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki
> >>>  wrote:
>  On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:
> > On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar
> >  wrote:
> >> On 26-08-15, 09:25, Pi-Cheng Chen wrote:
> >>> The [3/3] is based on Mediatek SoC maintainer tree[1] and the
> >>> patch which
> >>> introduce a new clock type[2] consumed by MT8173 cpufreq driver.
> >>> So it will
> >>> cause some conflicts if it goes through your tree. I am not sure
> >>> how this
> >>> should be handled, but should it be merged through Mediatek SoC
> >>> maintainer
> >>> tree?
> >>
> >> Just get that applied to MTK tree, it doesn't have any dependency on
> >> rest of the patches for build/boot. The only thing is that cpufreq
> >> wouldn't work and it will work as soon as Rafael's and MTK's trees
> >> are
> >> merged by Linus.
> >
> > Thanks for your explanation.
> >
> > @Rafael, Would you please apply [1,2] to your tree?
> 
>  Applied, thanks!
> >>>
> >>> Can you please apply [3] from this set to your dts tree?
> >>>
> >>
> >> I will as soon as v4.3-rc1 shows up.
> >
> > I somehow forgot this patch. Sorry for that.
> > Applied for v4.6-next/dts64 right now.
> >
> 
> I just realized that CLK_INFRA_CA53SEL and CLK_APMIXED_MAINPLL are not 
> part of the clk driver.
> 
> Pi-Cheng, can you check if they got renamed in the meanwhile? Or do we 
> need some clock driver patches that enable this clocks for the series?
> 

Thanks your notice. Unfortunately, we still have no chance let patch
with these two clock merged. The last version is [1]. This clock patch
will block cpufreq dts [2] and dynamic power dts [3]. Clock maintainer
is working on new architecture [4], hopefully we can send new clock
patch soon. After that, we will send new cpufreq and dynamic power dts.
So please ignore [2] [3] at this moment. 

[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-September/369737.html
[2] https://lkml.org/lkml/2015/7/9/206
[3]
http://lists.infradead.org/pipermail/linux-arm-kernel/2016-April/423899.html
[4]
http://lists.infradead.org/pipermail/linux-arm-kernel/2016-March/418796.html

Eddie
Thanks




Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2016-04-21 Thread Eddie Huang
Hi Matthias,

On Thu, 2016-04-21 at 12:58 +0200, Matthias Brugger wrote:
> 
> On 21/04/16 12:26, Matthias Brugger wrote:
> >
> >
> > On 02/09/15 19:23, Matthias Brugger wrote:
> >>
> >>
> >> On 02/09/15 08:45, Daniel Kurtz wrote:
> >>> Matthias,
> >>>
> >>> On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki
> >>>  wrote:
>  On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:
> > On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar
> >  wrote:
> >> On 26-08-15, 09:25, Pi-Cheng Chen wrote:
> >>> The [3/3] is based on Mediatek SoC maintainer tree[1] and the
> >>> patch which
> >>> introduce a new clock type[2] consumed by MT8173 cpufreq driver.
> >>> So it will
> >>> cause some conflicts if it goes through your tree. I am not sure
> >>> how this
> >>> should be handled, but should it be merged through Mediatek SoC
> >>> maintainer
> >>> tree?
> >>
> >> Just get that applied to MTK tree, it doesn't have any dependency on
> >> rest of the patches for build/boot. The only thing is that cpufreq
> >> wouldn't work and it will work as soon as Rafael's and MTK's trees
> >> are
> >> merged by Linus.
> >
> > Thanks for your explanation.
> >
> > @Rafael, Would you please apply [1,2] to your tree?
> 
>  Applied, thanks!
> >>>
> >>> Can you please apply [3] from this set to your dts tree?
> >>>
> >>
> >> I will as soon as v4.3-rc1 shows up.
> >
> > I somehow forgot this patch. Sorry for that.
> > Applied for v4.6-next/dts64 right now.
> >
> 
> I just realized that CLK_INFRA_CA53SEL and CLK_APMIXED_MAINPLL are not 
> part of the clk driver.
> 
> Pi-Cheng, can you check if they got renamed in the meanwhile? Or do we 
> need some clock driver patches that enable this clocks for the series?
> 

Thanks your notice. Unfortunately, we still have no chance let patch
with these two clock merged. The last version is [1]. This clock patch
will block cpufreq dts [2] and dynamic power dts [3]. Clock maintainer
is working on new architecture [4], hopefully we can send new clock
patch soon. After that, we will send new cpufreq and dynamic power dts.
So please ignore [2] [3] at this moment. 

[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-September/369737.html
[2] https://lkml.org/lkml/2015/7/9/206
[3]
http://lists.infradead.org/pipermail/linux-arm-kernel/2016-April/423899.html
[4]
http://lists.infradead.org/pipermail/linux-arm-kernel/2016-March/418796.html

Eddie
Thanks




Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2016-04-21 Thread Matthias Brugger



On 21/04/16 12:26, Matthias Brugger wrote:



On 02/09/15 19:23, Matthias Brugger wrote:



On 02/09/15 08:45, Daniel Kurtz wrote:

Matthias,

On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki
 wrote:

On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:

On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar
 wrote:

On 26-08-15, 09:25, Pi-Cheng Chen wrote:

The [3/3] is based on Mediatek SoC maintainer tree[1] and the
patch which
introduce a new clock type[2] consumed by MT8173 cpufreq driver.
So it will
cause some conflicts if it goes through your tree. I am not sure
how this
should be handled, but should it be merged through Mediatek SoC
maintainer
tree?


Just get that applied to MTK tree, it doesn't have any dependency on
rest of the patches for build/boot. The only thing is that cpufreq
wouldn't work and it will work as soon as Rafael's and MTK's trees
are
merged by Linus.


Thanks for your explanation.

@Rafael, Would you please apply [1,2] to your tree?


Applied, thanks!


Can you please apply [3] from this set to your dts tree?



I will as soon as v4.3-rc1 shows up.


I somehow forgot this patch. Sorry for that.
Applied for v4.6-next/dts64 right now.



I just realized that CLK_INFRA_CA53SEL and CLK_APMIXED_MAINPLL are not 
part of the clk driver.


Pi-Cheng, can you check if they got renamed in the meanwhile? Or do we 
need some clock driver patches that enable this clocks for the series?


Regards,
Matthias


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2016-04-21 Thread Matthias Brugger



On 21/04/16 12:26, Matthias Brugger wrote:



On 02/09/15 19:23, Matthias Brugger wrote:



On 02/09/15 08:45, Daniel Kurtz wrote:

Matthias,

On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki
 wrote:

On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:

On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar
 wrote:

On 26-08-15, 09:25, Pi-Cheng Chen wrote:

The [3/3] is based on Mediatek SoC maintainer tree[1] and the
patch which
introduce a new clock type[2] consumed by MT8173 cpufreq driver.
So it will
cause some conflicts if it goes through your tree. I am not sure
how this
should be handled, but should it be merged through Mediatek SoC
maintainer
tree?


Just get that applied to MTK tree, it doesn't have any dependency on
rest of the patches for build/boot. The only thing is that cpufreq
wouldn't work and it will work as soon as Rafael's and MTK's trees
are
merged by Linus.


Thanks for your explanation.

@Rafael, Would you please apply [1,2] to your tree?


Applied, thanks!


Can you please apply [3] from this set to your dts tree?



I will as soon as v4.3-rc1 shows up.


I somehow forgot this patch. Sorry for that.
Applied for v4.6-next/dts64 right now.



I just realized that CLK_INFRA_CA53SEL and CLK_APMIXED_MAINPLL are not 
part of the clk driver.


Pi-Cheng, can you check if they got renamed in the meanwhile? Or do we 
need some clock driver patches that enable this clocks for the series?


Regards,
Matthias


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2016-04-21 Thread Matthias Brugger



On 02/09/15 19:23, Matthias Brugger wrote:



On 02/09/15 08:45, Daniel Kurtz wrote:

Matthias,

On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki
 wrote:

On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:

On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar
 wrote:

On 26-08-15, 09:25, Pi-Cheng Chen wrote:

The [3/3] is based on Mediatek SoC maintainer tree[1] and the
patch which
introduce a new clock type[2] consumed by MT8173 cpufreq driver.
So it will
cause some conflicts if it goes through your tree. I am not sure
how this
should be handled, but should it be merged through Mediatek SoC
maintainer
tree?


Just get that applied to MTK tree, it doesn't have any dependency on
rest of the patches for build/boot. The only thing is that cpufreq
wouldn't work and it will work as soon as Rafael's and MTK's trees are
merged by Linus.


Thanks for your explanation.

@Rafael, Would you please apply [1,2] to your tree?


Applied, thanks!


Can you please apply [3] from this set to your dts tree?



I will as soon as v4.3-rc1 shows up.


I somehow forgot this patch. Sorry for that.
Applied for v4.6-next/dts64 right now.

Regards,
Matthias


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2016-04-21 Thread Matthias Brugger



On 02/09/15 19:23, Matthias Brugger wrote:



On 02/09/15 08:45, Daniel Kurtz wrote:

Matthias,

On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki
 wrote:

On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:

On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar
 wrote:

On 26-08-15, 09:25, Pi-Cheng Chen wrote:

The [3/3] is based on Mediatek SoC maintainer tree[1] and the
patch which
introduce a new clock type[2] consumed by MT8173 cpufreq driver.
So it will
cause some conflicts if it goes through your tree. I am not sure
how this
should be handled, but should it be merged through Mediatek SoC
maintainer
tree?


Just get that applied to MTK tree, it doesn't have any dependency on
rest of the patches for build/boot. The only thing is that cpufreq
wouldn't work and it will work as soon as Rafael's and MTK's trees are
merged by Linus.


Thanks for your explanation.

@Rafael, Would you please apply [1,2] to your tree?


Applied, thanks!


Can you please apply [3] from this set to your dts tree?



I will as soon as v4.3-rc1 shows up.


I somehow forgot this patch. Sorry for that.
Applied for v4.6-next/dts64 right now.

Regards,
Matthias


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-09-02 Thread Matthias Brugger



On 02/09/15 08:45, Daniel Kurtz wrote:

Matthias,

On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki  wrote:

On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:

On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar  wrote:

On 26-08-15, 09:25, Pi-Cheng Chen wrote:

The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
cause some conflicts if it goes through your tree. I am not sure how this
should be handled, but should it be merged through Mediatek SoC maintainer
tree?


Just get that applied to MTK tree, it doesn't have any dependency on
rest of the patches for build/boot. The only thing is that cpufreq
wouldn't work and it will work as soon as Rafael's and MTK's trees are
merged by Linus.


Thanks for your explanation.

@Rafael, Would you please apply [1,2] to your tree?


Applied, thanks!


Can you please apply [3] from this set to your dts tree?



I will as soon as v4.3-rc1 shows up.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-09-02 Thread Daniel Kurtz
Matthias,

On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki  wrote:
> On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:
>> On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar  
>> wrote:
>> > On 26-08-15, 09:25, Pi-Cheng Chen wrote:
>> >> The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
>> >> introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it 
>> >> will
>> >> cause some conflicts if it goes through your tree. I am not sure how this
>> >> should be handled, but should it be merged through Mediatek SoC maintainer
>> >> tree?
>> >
>> > Just get that applied to MTK tree, it doesn't have any dependency on
>> > rest of the patches for build/boot. The only thing is that cpufreq
>> > wouldn't work and it will work as soon as Rafael's and MTK's trees are
>> > merged by Linus.
>>
>> Thanks for your explanation.
>>
>> @Rafael, Would you please apply [1,2] to your tree?
>
> Applied, thanks!

Can you please apply [3] from this set to your dts tree?

> --
> I speak only for myself.
> Rafael J. Wysocki, Intel Open Source Technology Center.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-09-02 Thread Daniel Kurtz
Matthias,

On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki  wrote:
> On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:
>> On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar  
>> wrote:
>> > On 26-08-15, 09:25, Pi-Cheng Chen wrote:
>> >> The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
>> >> introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it 
>> >> will
>> >> cause some conflicts if it goes through your tree. I am not sure how this
>> >> should be handled, but should it be merged through Mediatek SoC maintainer
>> >> tree?
>> >
>> > Just get that applied to MTK tree, it doesn't have any dependency on
>> > rest of the patches for build/boot. The only thing is that cpufreq
>> > wouldn't work and it will work as soon as Rafael's and MTK's trees are
>> > merged by Linus.
>>
>> Thanks for your explanation.
>>
>> @Rafael, Would you please apply [1,2] to your tree?
>
> Applied, thanks!

Can you please apply [3] from this set to your dts tree?

> --
> I speak only for myself.
> Rafael J. Wysocki, Intel Open Source Technology Center.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-09-02 Thread Matthias Brugger



On 02/09/15 08:45, Daniel Kurtz wrote:

Matthias,

On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki  wrote:

On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:

On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar  wrote:

On 26-08-15, 09:25, Pi-Cheng Chen wrote:

The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
cause some conflicts if it goes through your tree. I am not sure how this
should be handled, but should it be merged through Mediatek SoC maintainer
tree?


Just get that applied to MTK tree, it doesn't have any dependency on
rest of the patches for build/boot. The only thing is that cpufreq
wouldn't work and it will work as soon as Rafael's and MTK's trees are
merged by Linus.


Thanks for your explanation.

@Rafael, Would you please apply [1,2] to your tree?


Applied, thanks!


Can you please apply [3] from this set to your dts tree?



I will as soon as v4.3-rc1 shows up.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-28 Thread Rafael J. Wysocki
On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:
> On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar  
> wrote:
> > On 26-08-15, 09:25, Pi-Cheng Chen wrote:
> >> The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
> >> introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
> >> cause some conflicts if it goes through your tree. I am not sure how this
> >> should be handled, but should it be merged through Mediatek SoC maintainer
> >> tree?
> >
> > Just get that applied to MTK tree, it doesn't have any dependency on
> > rest of the patches for build/boot. The only thing is that cpufreq
> > wouldn't work and it will work as soon as Rafael's and MTK's trees are
> > merged by Linus.
> 
> Thanks for your explanation.
> 
> @Rafael, Would you please apply [1,2] to your tree?

Applied, thanks!


-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-28 Thread Rafael J. Wysocki
On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote:
 On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar viresh.ku...@linaro.org 
 wrote:
  On 26-08-15, 09:25, Pi-Cheng Chen wrote:
  The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
  introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
  cause some conflicts if it goes through your tree. I am not sure how this
  should be handled, but should it be merged through Mediatek SoC maintainer
  tree?
 
  Just get that applied to MTK tree, it doesn't have any dependency on
  rest of the patches for build/boot. The only thing is that cpufreq
  wouldn't work and it will work as soon as Rafael's and MTK's trees are
  merged by Linus.
 
 Thanks for your explanation.
 
 @Rafael, Would you please apply [1,2] to your tree?

Applied, thanks!


-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-26 Thread Pi-Cheng Chen
On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar  wrote:
> On 26-08-15, 09:25, Pi-Cheng Chen wrote:
>> The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
>> introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
>> cause some conflicts if it goes through your tree. I am not sure how this
>> should be handled, but should it be merged through Mediatek SoC maintainer
>> tree?
>
> Just get that applied to MTK tree, it doesn't have any dependency on
> rest of the patches for build/boot. The only thing is that cpufreq
> wouldn't work and it will work as soon as Rafael's and MTK's trees are
> merged by Linus.

Thanks for your explanation.

@Rafael, Would you please apply [1,2] to your tree?

@Matthias, Would you please apply [3/3] of this series?

Thanks.

Best Regards,
Pi-Cheng

>
> --
> viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-26 Thread Pi-Cheng Chen
On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar viresh.ku...@linaro.org wrote:
 On 26-08-15, 09:25, Pi-Cheng Chen wrote:
 The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
 introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
 cause some conflicts if it goes through your tree. I am not sure how this
 should be handled, but should it be merged through Mediatek SoC maintainer
 tree?

 Just get that applied to MTK tree, it doesn't have any dependency on
 rest of the patches for build/boot. The only thing is that cpufreq
 wouldn't work and it will work as soon as Rafael's and MTK's trees are
 merged by Linus.

Thanks for your explanation.

@Rafael, Would you please apply [1,2] to your tree?

@Matthias, Would you please apply [3/3] of this series?

Thanks.

Best Regards,
Pi-Cheng


 --
 viresh
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-25 Thread Viresh Kumar
On 26-08-15, 09:25, Pi-Cheng Chen wrote:
> The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
> introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
> cause some conflicts if it goes through your tree. I am not sure how this
> should be handled, but should it be merged through Mediatek SoC maintainer
> tree?

Just get that applied to MTK tree, it doesn't have any dependency on
rest of the patches for build/boot. The only thing is that cpufreq
wouldn't work and it will work as soon as Rafael's and MTK's trees are
merged by Linus.

-- 
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-25 Thread Pi-Cheng Chen
Hi Rafael,

On Wed, Aug 26, 2015 at 7:01 AM, Rafael J. Wysocki  wrote:
> On Tuesday, August 25, 2015 10:10:44 AM Pi-Cheng Chen wrote:
>> On Mon, Aug 17, 2015 at 5:24 PM, Pi-Cheng Chen  
>> wrote:
>> > MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
>> > share the same power and clock domain. This series tries to add cpufreq 
>> > support
>> > for MT8173 SoC. The v6 of this series is resent with Acks added.
>>
>> Hi Rafael,
>>
>> Not sure if I has missed the merge window.
>> Do I have chance to have this series merged for 4.3?
>
> Yes, it should make it.
>
>> Would you please take [1,2] of this series?

Thanks.

>
> I'm not sure what you mean.  Are you withdrawing the [3/3]?

The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
cause some conflicts if it goes through your tree. I am not sure how this
should be handled, but should it be merged through Mediatek SoC maintainer
tree?

@Matthias?

Thanks

Best Regards,
Pi-Cheng

[1] https://github.com/mbgg/linux-mediatek.git v4.2-next/arm64
[2] http://article.gmane.org/gmane.linux.kernel/2021379

>
> Thanks,
> Rafael
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-25 Thread Rafael J. Wysocki
On Tuesday, August 25, 2015 10:10:44 AM Pi-Cheng Chen wrote:
> On Mon, Aug 17, 2015 at 5:24 PM, Pi-Cheng Chen  
> wrote:
> > MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
> > share the same power and clock domain. This series tries to add cpufreq 
> > support
> > for MT8173 SoC. The v6 of this series is resent with Acks added.
> 
> Hi Rafael,
> 
> Not sure if I has missed the merge window.
> Do I have chance to have this series merged for 4.3?

Yes, it should make it.

> Would you please take [1,2] of this series?

I'm not sure what you mean.  Are you withdrawing the [3/3]?

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-25 Thread Rafael J. Wysocki
On Tuesday, August 25, 2015 10:10:44 AM Pi-Cheng Chen wrote:
 On Mon, Aug 17, 2015 at 5:24 PM, Pi-Cheng Chen pi-cheng.c...@linaro.org 
 wrote:
  MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
  share the same power and clock domain. This series tries to add cpufreq 
  support
  for MT8173 SoC. The v6 of this series is resent with Acks added.
 
 Hi Rafael,
 
 Not sure if I has missed the merge window.
 Do I have chance to have this series merged for 4.3?

Yes, it should make it.

 Would you please take [1,2] of this series?

I'm not sure what you mean.  Are you withdrawing the [3/3]?

Thanks,
Rafael

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-25 Thread Pi-Cheng Chen
Hi Rafael,

On Wed, Aug 26, 2015 at 7:01 AM, Rafael J. Wysocki r...@rjwysocki.net wrote:
 On Tuesday, August 25, 2015 10:10:44 AM Pi-Cheng Chen wrote:
 On Mon, Aug 17, 2015 at 5:24 PM, Pi-Cheng Chen pi-cheng.c...@linaro.org 
 wrote:
  MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
  share the same power and clock domain. This series tries to add cpufreq 
  support
  for MT8173 SoC. The v6 of this series is resent with Acks added.

 Hi Rafael,

 Not sure if I has missed the merge window.
 Do I have chance to have this series merged for 4.3?

 Yes, it should make it.

 Would you please take [1,2] of this series?

Thanks.


 I'm not sure what you mean.  Are you withdrawing the [3/3]?

The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
cause some conflicts if it goes through your tree. I am not sure how this
should be handled, but should it be merged through Mediatek SoC maintainer
tree?

@Matthias?

Thanks

Best Regards,
Pi-Cheng

[1] https://github.com/mbgg/linux-mediatek.git v4.2-next/arm64
[2] http://article.gmane.org/gmane.linux.kernel/2021379


 Thanks,
 Rafael

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-25 Thread Viresh Kumar
On 26-08-15, 09:25, Pi-Cheng Chen wrote:
 The [3/3] is based on Mediatek SoC maintainer tree[1] and the patch which
 introduce a new clock type[2] consumed by MT8173 cpufreq driver. So it will
 cause some conflicts if it goes through your tree. I am not sure how this
 should be handled, but should it be merged through Mediatek SoC maintainer
 tree?

Just get that applied to MTK tree, it doesn't have any dependency on
rest of the patches for build/boot. The only thing is that cpufreq
wouldn't work and it will work as soon as Rafael's and MTK's trees are
merged by Linus.

-- 
viresh
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-24 Thread Pi-Cheng Chen
On Mon, Aug 17, 2015 at 5:24 PM, Pi-Cheng Chen  wrote:
> MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
> share the same power and clock domain. This series tries to add cpufreq 
> support
> for MT8173 SoC. The v6 of this series is resent with Acks added.

Hi Rafael,

Not sure if I has missed the merge window.
Do I have chance to have this series merged for 4.3?
Would you please take [1,2] of this series?
Thanks.

Best Regards,
Pi-Cheng

>
> changes in v6:
> - Move clock and regulator consumer properties document to the device tree
>   bindings documents of MT8173 CPU DVFS clock driver
> - Add change log to describe what is implemented in the MT8173 cpufreq driver
> - Add missed rcu_read_unlock() in the error path
> - Move of_init_opp_table() call to make sure all required hardware resources
>   are already there before it is called
> - Add comments to describe why both platform driver and deivce registration
>   codes are put in the initcall function
> - Use the term "voltage tracking" instead of "voltage trace" according to an
>   internal SoC document
>
> changes in v5:
> - Move resource allocation code from init() into probe() and remove some 
> unused
>   functions due to this change
> - Fix descriptions for device tree binding document
> - Address review comments for last version
> - Register CPU cooling device
>
> Changes in v4:
> - Add bindings for MT8173 cpufreq driver
> - Move OPP table back into device tree
> - Address comments for last version
>
> Changes in v3:
> - Implement MT8173 specific standalone cpufreq driver instead of using
>   cpufreq-dt driver
> - Define OPP table in the driver source code until new OPP binding is ready
>
> Changes in v2:
> - Add intermediate frequency support in cpufreq-dt driver
> - Use voltage scaling code of cpufreq-dt for little cluster instead of
>   implementaion in notifier of mtk-cpufreq driver
> - Code refinement for mtk-cpufreq driver
>
> Pi-Cheng Chen (3):
>   dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings
>   cpufreq: mediatek: Add MT8173 cpufreq driver
>   arm64: dts: mt8173: Add mt8173 cpufreq driver support
>
>  .../devicetree/bindings/clock/mt8173-cpu-dvfs.txt  |  83 
>  arch/arm64/boot/dts/mediatek/mt8173-evb.dts|  18 +
>  arch/arm64/boot/dts/mediatek/mt8173.dtsi   |  64 +++
>  drivers/cpufreq/Kconfig.arm|   7 +
>  drivers/cpufreq/Makefile   |   1 +
>  drivers/cpufreq/mt8173-cpufreq.c   | 524 
> +
>  6 files changed, 697 insertions(+)
>  create mode 100644 
> Documentation/devicetree/bindings/clock/mt8173-cpu-dvfs.txt
>  create mode 100644 drivers/cpufreq/mt8173-cpufreq.c
>
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-24 Thread Pi-Cheng Chen
On Mon, Aug 17, 2015 at 5:24 PM, Pi-Cheng Chen pi-cheng.c...@linaro.org wrote:
 MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
 share the same power and clock domain. This series tries to add cpufreq 
 support
 for MT8173 SoC. The v6 of this series is resent with Acks added.

Hi Rafael,

Not sure if I has missed the merge window.
Do I have chance to have this series merged for 4.3?
Would you please take [1,2] of this series?
Thanks.

Best Regards,
Pi-Cheng


 changes in v6:
 - Move clock and regulator consumer properties document to the device tree
   bindings documents of MT8173 CPU DVFS clock driver
 - Add change log to describe what is implemented in the MT8173 cpufreq driver
 - Add missed rcu_read_unlock() in the error path
 - Move of_init_opp_table() call to make sure all required hardware resources
   are already there before it is called
 - Add comments to describe why both platform driver and deivce registration
   codes are put in the initcall function
 - Use the term voltage tracking instead of voltage trace according to an
   internal SoC document

 changes in v5:
 - Move resource allocation code from init() into probe() and remove some 
 unused
   functions due to this change
 - Fix descriptions for device tree binding document
 - Address review comments for last version
 - Register CPU cooling device

 Changes in v4:
 - Add bindings for MT8173 cpufreq driver
 - Move OPP table back into device tree
 - Address comments for last version

 Changes in v3:
 - Implement MT8173 specific standalone cpufreq driver instead of using
   cpufreq-dt driver
 - Define OPP table in the driver source code until new OPP binding is ready

 Changes in v2:
 - Add intermediate frequency support in cpufreq-dt driver
 - Use voltage scaling code of cpufreq-dt for little cluster instead of
   implementaion in notifier of mtk-cpufreq driver
 - Code refinement for mtk-cpufreq driver

 Pi-Cheng Chen (3):
   dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings
   cpufreq: mediatek: Add MT8173 cpufreq driver
   arm64: dts: mt8173: Add mt8173 cpufreq driver support

  .../devicetree/bindings/clock/mt8173-cpu-dvfs.txt  |  83 
  arch/arm64/boot/dts/mediatek/mt8173-evb.dts|  18 +
  arch/arm64/boot/dts/mediatek/mt8173.dtsi   |  64 +++
  drivers/cpufreq/Kconfig.arm|   7 +
  drivers/cpufreq/Makefile   |   1 +
  drivers/cpufreq/mt8173-cpufreq.c   | 524 
 +
  6 files changed, 697 insertions(+)
  create mode 100644 
 Documentation/devicetree/bindings/clock/mt8173-cpu-dvfs.txt
  create mode 100644 drivers/cpufreq/mt8173-cpufreq.c

 --
 1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-17 Thread Pi-Cheng Chen
MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
share the same power and clock domain. This series tries to add cpufreq support
for MT8173 SoC. The v6 of this series is resent with Acks added.

changes in v6:
- Move clock and regulator consumer properties document to the device tree
  bindings documents of MT8173 CPU DVFS clock driver
- Add change log to describe what is implemented in the MT8173 cpufreq driver
- Add missed rcu_read_unlock() in the error path
- Move of_init_opp_table() call to make sure all required hardware resources
  are already there before it is called
- Add comments to describe why both platform driver and deivce registration
  codes are put in the initcall function
- Use the term "voltage tracking" instead of "voltage trace" according to an
  internal SoC document

changes in v5:
- Move resource allocation code from init() into probe() and remove some unused
  functions due to this change
- Fix descriptions for device tree binding document
- Address review comments for last version
- Register CPU cooling device

Changes in v4:
- Add bindings for MT8173 cpufreq driver
- Move OPP table back into device tree
- Address comments for last version

Changes in v3:
- Implement MT8173 specific standalone cpufreq driver instead of using
  cpufreq-dt driver
- Define OPP table in the driver source code until new OPP binding is ready

Changes in v2:
- Add intermediate frequency support in cpufreq-dt driver
- Use voltage scaling code of cpufreq-dt for little cluster instead of
  implementaion in notifier of mtk-cpufreq driver
- Code refinement for mtk-cpufreq driver

Pi-Cheng Chen (3):
  dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings
  cpufreq: mediatek: Add MT8173 cpufreq driver
  arm64: dts: mt8173: Add mt8173 cpufreq driver support

 .../devicetree/bindings/clock/mt8173-cpu-dvfs.txt  |  83 
 arch/arm64/boot/dts/mediatek/mt8173-evb.dts|  18 +
 arch/arm64/boot/dts/mediatek/mt8173.dtsi   |  64 +++
 drivers/cpufreq/Kconfig.arm|   7 +
 drivers/cpufreq/Makefile   |   1 +
 drivers/cpufreq/mt8173-cpufreq.c   | 524 +
 6 files changed, 697 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/mt8173-cpu-dvfs.txt
 create mode 100644 drivers/cpufreq/mt8173-cpufreq.c

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-17 Thread Pi-Cheng Chen
MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
share the same power and clock domain. This series tries to add cpufreq support
for MT8173 SoC. The v6 of this series is resent with Acks added.

changes in v6:
- Move clock and regulator consumer properties document to the device tree
  bindings documents of MT8173 CPU DVFS clock driver
- Add change log to describe what is implemented in the MT8173 cpufreq driver
- Add missed rcu_read_unlock() in the error path
- Move of_init_opp_table() call to make sure all required hardware resources
  are already there before it is called
- Add comments to describe why both platform driver and deivce registration
  codes are put in the initcall function
- Use the term voltage tracking instead of voltage trace according to an
  internal SoC document

changes in v5:
- Move resource allocation code from init() into probe() and remove some unused
  functions due to this change
- Fix descriptions for device tree binding document
- Address review comments for last version
- Register CPU cooling device

Changes in v4:
- Add bindings for MT8173 cpufreq driver
- Move OPP table back into device tree
- Address comments for last version

Changes in v3:
- Implement MT8173 specific standalone cpufreq driver instead of using
  cpufreq-dt driver
- Define OPP table in the driver source code until new OPP binding is ready

Changes in v2:
- Add intermediate frequency support in cpufreq-dt driver
- Use voltage scaling code of cpufreq-dt for little cluster instead of
  implementaion in notifier of mtk-cpufreq driver
- Code refinement for mtk-cpufreq driver

Pi-Cheng Chen (3):
  dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings
  cpufreq: mediatek: Add MT8173 cpufreq driver
  arm64: dts: mt8173: Add mt8173 cpufreq driver support

 .../devicetree/bindings/clock/mt8173-cpu-dvfs.txt  |  83 
 arch/arm64/boot/dts/mediatek/mt8173-evb.dts|  18 +
 arch/arm64/boot/dts/mediatek/mt8173.dtsi   |  64 +++
 drivers/cpufreq/Kconfig.arm|   7 +
 drivers/cpufreq/Makefile   |   1 +
 drivers/cpufreq/mt8173-cpufreq.c   | 524 +
 6 files changed, 697 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/mt8173-cpu-dvfs.txt
 create mode 100644 drivers/cpufreq/mt8173-cpufreq.c

-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/