Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-25 Thread Sekhar Nori
On Thursday 25 January 2018 09:48 PM, David Lechner wrote: > On 01/25/2018 06:53 AM, Sekhar Nori wrote: >> On Wednesday 24 January 2018 01:33 PM, Bartosz Golaszewski wrote: >>> 2018-01-23 21:23 GMT+01:00 David Lechner : On 01/23/2018 02:05 PM, David Lechner wrote: >

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-25 Thread Sekhar Nori
On Thursday 25 January 2018 09:48 PM, David Lechner wrote: > On 01/25/2018 06:53 AM, Sekhar Nori wrote: >> On Wednesday 24 January 2018 01:33 PM, Bartosz Golaszewski wrote: >>> 2018-01-23 21:23 GMT+01:00 David Lechner : On 01/23/2018 02:05 PM, David Lechner wrote: > > On 01/23/2018

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-25 Thread David Lechner
On 01/25/2018 06:53 AM, Sekhar Nori wrote: On Wednesday 24 January 2018 01:33 PM, Bartosz Golaszewski wrote: 2018-01-23 21:23 GMT+01:00 David Lechner : On 01/23/2018 02:05 PM, David Lechner wrote: On 01/23/2018 02:01 PM, David Lechner wrote: On 01/23/2018 01:53 PM,

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-25 Thread David Lechner
On 01/25/2018 06:53 AM, Sekhar Nori wrote: On Wednesday 24 January 2018 01:33 PM, Bartosz Golaszewski wrote: 2018-01-23 21:23 GMT+01:00 David Lechner : On 01/23/2018 02:05 PM, David Lechner wrote: On 01/23/2018 02:01 PM, David Lechner wrote: On 01/23/2018 01:53 PM, Bartosz Golaszewski

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-25 Thread Bartosz Golaszewski
2018-01-25 13:53 GMT+01:00 Sekhar Nori : > On Wednesday 24 January 2018 01:33 PM, Bartosz Golaszewski wrote: >> 2018-01-23 21:23 GMT+01:00 David Lechner : >>> On 01/23/2018 02:05 PM, David Lechner wrote: On 01/23/2018 02:01 PM, David Lechner wrote:

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-25 Thread Bartosz Golaszewski
2018-01-25 13:53 GMT+01:00 Sekhar Nori : > On Wednesday 24 January 2018 01:33 PM, Bartosz Golaszewski wrote: >> 2018-01-23 21:23 GMT+01:00 David Lechner : >>> On 01/23/2018 02:05 PM, David Lechner wrote: On 01/23/2018 02:01 PM, David Lechner wrote: > > On 01/23/2018 01:53 PM,

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-25 Thread Sekhar Nori
On Wednesday 24 January 2018 01:33 PM, Bartosz Golaszewski wrote: > 2018-01-23 21:23 GMT+01:00 David Lechner : >> On 01/23/2018 02:05 PM, David Lechner wrote: >>> >>> On 01/23/2018 02:01 PM, David Lechner wrote: On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote:

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-25 Thread Sekhar Nori
On Wednesday 24 January 2018 01:33 PM, Bartosz Golaszewski wrote: > 2018-01-23 21:23 GMT+01:00 David Lechner : >> On 01/23/2018 02:05 PM, David Lechner wrote: >>> >>> On 01/23/2018 02:01 PM, David Lechner wrote: On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: > > > In the

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-24 Thread Bartosz Golaszewski
2018-01-23 21:23 GMT+01:00 David Lechner : > On 01/23/2018 02:05 PM, David Lechner wrote: >> >> On 01/23/2018 02:01 PM, David Lechner wrote: >>> >>> On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: In the mdio case - the problem is that devm_clk_get() doesn't

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-24 Thread Bartosz Golaszewski
2018-01-23 21:23 GMT+01:00 David Lechner : > On 01/23/2018 02:05 PM, David Lechner wrote: >> >> On 01/23/2018 02:01 PM, David Lechner wrote: >>> >>> On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: In the mdio case - the problem is that devm_clk_get() doesn't fail, but

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 02:05 PM, David Lechner wrote: On 01/23/2018 02:01 PM, David Lechner wrote: On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: In the mdio case - the problem is that devm_clk_get() doesn't fail, but somehow the clock doesn't end up in the list of the device's clocks - which is

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 02:05 PM, David Lechner wrote: On 01/23/2018 02:01 PM, David Lechner wrote: On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: In the mdio case - the problem is that devm_clk_get() doesn't fail, but somehow the clock doesn't end up in the list of the device's clocks - which is

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 02:01 PM, David Lechner wrote: On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: In the mdio case - the problem is that devm_clk_get() doesn't fail, but somehow the clock doesn't end up in the list of the device's clocks - which is why it's not enabled by pm_runtime_get_sync().

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 02:01 PM, David Lechner wrote: On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: In the mdio case - the problem is that devm_clk_get() doesn't fail, but somehow the clock doesn't end up in the list of the device's clocks - which is why it's not enabled by pm_runtime_get_sync().

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: 2018-01-23 20:24 GMT+01:00 David Lechner : On 01/23/2018 12:34 PM, Bartosz Golaszewski wrote: 2018-01-23 19:26 GMT+01:00 David Lechner : On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote:

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 01:53 PM, Bartosz Golaszewski wrote: 2018-01-23 20:24 GMT+01:00 David Lechner : On 01/23/2018 12:34 PM, Bartosz Golaszewski wrote: 2018-01-23 19:26 GMT+01:00 David Lechner : On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: 2018-01-23 18:03 GMT+01:00 Adam Ford : On Tue,

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-23 20:24 GMT+01:00 David Lechner : > On 01/23/2018 12:34 PM, Bartosz Golaszewski wrote: >> >> 2018-01-23 19:26 GMT+01:00 David Lechner : >>> >>> On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: 2018-01-23 18:03 GMT+01:00 Adam

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-23 20:24 GMT+01:00 David Lechner : > On 01/23/2018 12:34 PM, Bartosz Golaszewski wrote: >> >> 2018-01-23 19:26 GMT+01:00 David Lechner : >>> >>> On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: 2018-01-23 18:03 GMT+01:00 Adam Ford : > > > On Tue, Jan 23, 2018

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 12:34 PM, Bartosz Golaszewski wrote: 2018-01-23 19:26 GMT+01:00 David Lechner : On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: 2018-01-23 18:03 GMT+01:00 Adam Ford : On Tue, Jan 23, 2018 at 10:06 AM, David Lechner

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 12:34 PM, Bartosz Golaszewski wrote: 2018-01-23 19:26 GMT+01:00 David Lechner : On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: 2018-01-23 18:03 GMT+01:00 Adam Ford : On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: On 01/23/2018 10:03 AM, David Lechner wrote:

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-23 19:26 GMT+01:00 David Lechner : > On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: >> >> 2018-01-23 18:03 GMT+01:00 Adam Ford : >>> >>> On Tue, Jan 23, 2018 at 10:06 AM, David Lechner >>> wrote: On 01/23/2018

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-23 19:26 GMT+01:00 David Lechner : > On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: >> >> 2018-01-23 18:03 GMT+01:00 Adam Ford : >>> >>> On Tue, Jan 23, 2018 at 10:06 AM, David Lechner >>> wrote: On 01/23/2018 10:03 AM, David Lechner wrote: > > > You can see if

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: 2018-01-23 18:03 GMT+01:00 Adam Ford : On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: On 01/23/2018 10:03 AM, David Lechner wrote: You can see if the clock is enabled by running: cat

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: 2018-01-23 18:03 GMT+01:00 Adam Ford : On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: On 01/23/2018 10:03 AM, David Lechner wrote: You can see if the clock is enabled by running: cat /sys/kernel/debug/clk/clk_summary I

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-23 18:03 GMT+01:00 Adam Ford : > On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: >> On 01/23/2018 10:03 AM, David Lechner wrote: >>> >>> You can see if the clock is enabled by running: >>> >>> cat /sys/kernel/debug/clk/clk_summary >>>

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-23 18:03 GMT+01:00 Adam Ford : > On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: >> On 01/23/2018 10:03 AM, David Lechner wrote: >>> >>> You can see if the clock is enabled by running: >>> >>> cat /sys/kernel/debug/clk/clk_summary >>> >> >> I just realized if you can't boot,

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-23 17:03 GMT+01:00 David Lechner : > On 01/23/2018 08:54 AM, Bartosz Golaszewski wrote: >> >> 2018-01-22 18:30 GMT+01:00 David Lechner : >>> >>> On 01/22/2018 05:14 AM, Bartosz Golaszewski wrote: 2018-01-20 18:13 GMT+01:00 David

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-23 17:03 GMT+01:00 David Lechner : > On 01/23/2018 08:54 AM, Bartosz Golaszewski wrote: >> >> 2018-01-22 18:30 GMT+01:00 David Lechner : >>> >>> On 01/22/2018 05:14 AM, Bartosz Golaszewski wrote: 2018-01-20 18:13 GMT+01:00 David Lechner : > > > This series

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Adam Ford
On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: > On 01/23/2018 10:03 AM, David Lechner wrote: >> >> You can see if the clock is enabled by running: >> >> cat /sys/kernel/debug/clk/clk_summary >> > > I just realized if you can't boot, you can't do this. :-/ I

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Adam Ford
On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: > On 01/23/2018 10:03 AM, David Lechner wrote: >> >> You can see if the clock is enabled by running: >> >> cat /sys/kernel/debug/clk/clk_summary >> > > I just realized if you can't boot, you can't do this. :-/ I can boot with the latest

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 10:03 AM, David Lechner wrote: You can see if the clock is enabled by running:     cat /sys/kernel/debug/clk/clk_summary I just realized if you can't boot, you can't do this. :-/

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 10:03 AM, David Lechner wrote: You can see if the clock is enabled by running:     cat /sys/kernel/debug/clk/clk_summary I just realized if you can't boot, you can't do this. :-/

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 08:54 AM, Bartosz Golaszewski wrote: 2018-01-22 18:30 GMT+01:00 David Lechner : On 01/22/2018 05:14 AM, Bartosz Golaszewski wrote: 2018-01-20 18:13 GMT+01:00 David Lechner : This series converts mach-davinci to use the common clock

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread David Lechner
On 01/23/2018 08:54 AM, Bartosz Golaszewski wrote: 2018-01-22 18:30 GMT+01:00 David Lechner : On 01/22/2018 05:14 AM, Bartosz Golaszewski wrote: 2018-01-20 18:13 GMT+01:00 David Lechner : This series converts mach-davinci to use the common clock framework. The series works like this, the

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-22 18:11 GMT+01:00 David Lechner : > On 01/22/2018 07:29 AM, Bartosz Golaszewski wrote: >> >> 2018-01-20 18:13 GMT+01:00 David Lechner : >>> >>> This series converts mach-davinci to use the common clock framework. >>> >>> The series works like

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-22 18:11 GMT+01:00 David Lechner : > On 01/22/2018 07:29 AM, Bartosz Golaszewski wrote: >> >> 2018-01-20 18:13 GMT+01:00 David Lechner : >>> >>> This series converts mach-davinci to use the common clock framework. >>> >>> The series works like this, the first 19 patches create new clock

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-22 18:30 GMT+01:00 David Lechner : > On 01/22/2018 05:14 AM, Bartosz Golaszewski wrote: >> >> 2018-01-20 18:13 GMT+01:00 David Lechner : >>> >>> This series converts mach-davinci to use the common clock framework. >>> >>> The series works like

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-23 Thread Bartosz Golaszewski
2018-01-22 18:30 GMT+01:00 David Lechner : > On 01/22/2018 05:14 AM, Bartosz Golaszewski wrote: >> >> 2018-01-20 18:13 GMT+01:00 David Lechner : >>> >>> This series converts mach-davinci to use the common clock framework. >>> >>> The series works like this, the first 19 patches create new clock

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-22 Thread David Lechner
On 01/22/2018 05:14 AM, Bartosz Golaszewski wrote: 2018-01-20 18:13 GMT+01:00 David Lechner : This series converts mach-davinci to use the common clock framework. The series works like this, the first 19 patches create new clock drivers using the common clock framework.

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-22 Thread David Lechner
On 01/22/2018 05:14 AM, Bartosz Golaszewski wrote: 2018-01-20 18:13 GMT+01:00 David Lechner : This series converts mach-davinci to use the common clock framework. The series works like this, the first 19 patches create new clock drivers using the common clock framework. There are basically 3

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-22 Thread David Lechner
On 01/22/2018 07:29 AM, Bartosz Golaszewski wrote: 2018-01-20 18:13 GMT+01:00 David Lechner : This series converts mach-davinci to use the common clock framework. The series works like this, the first 19 patches create new clock drivers using the common clock framework.

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-22 Thread David Lechner
On 01/22/2018 07:29 AM, Bartosz Golaszewski wrote: 2018-01-20 18:13 GMT+01:00 David Lechner : This series converts mach-davinci to use the common clock framework. The series works like this, the first 19 patches create new clock drivers using the common clock framework. There are basically 3

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-22 Thread Bartosz Golaszewski
2018-01-20 18:13 GMT+01:00 David Lechner : > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 19 patches create new clock drivers > using the common clock framework. There are basically 3 groups of clocks - > PLL,

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-22 Thread Bartosz Golaszewski
2018-01-20 18:13 GMT+01:00 David Lechner : > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 19 patches create new clock drivers > using the common clock framework. There are basically 3 groups of clocks - > PLL, PSC and CFGCHIP

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-22 Thread Bartosz Golaszewski
2018-01-20 18:13 GMT+01:00 David Lechner : > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 19 patches create new clock drivers > using the common clock framework. There are basically 3 groups of clocks - > PLL,

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-22 Thread Bartosz Golaszewski
2018-01-20 18:13 GMT+01:00 David Lechner : > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 19 patches create new clock drivers > using the common clock framework. There are basically 3 groups of clocks - > PLL, PSC and CFGCHIP

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-21 Thread Adam Ford
On Sat, Jan 20, 2018 at 11:13 AM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 19 patches create new clock drivers > using the common clock framework. There are basically 3 groups of

Re: [PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-21 Thread Adam Ford
On Sat, Jan 20, 2018 at 11:13 AM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 19 patches create new clock drivers > using the common clock framework. There are basically 3 groups of clocks - > PLL, PSC and

[PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-20 Thread David Lechner
This series converts mach-davinci to use the common clock framework. The series works like this, the first 19 patches create new clock drivers using the common clock framework. There are basically 3 groups of clocks - PLL, PSC and CFGCHIP (syscon). There are six different SoCs that each have

[PATCH v6 00/41] ARM: davinci: convert to common clock framework​

2018-01-20 Thread David Lechner
This series converts mach-davinci to use the common clock framework. The series works like this, the first 19 patches create new clock drivers using the common clock framework. There are basically 3 groups of clocks - PLL, PSC and CFGCHIP (syscon). There are six different SoCs that each have