Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-24 Thread Daniel Lezcano
On Mon, Apr 24, 2017 at 10:31:54AM +0100, Lee Jones wrote: > On Sat, 08 Apr 2017, Daniel Lezcano wrote: > > > The hi655x multi function device is a PMIC providing regulators. > > > > The PMIC also provides a clock for the WiFi and the Bluetooth, let's > > implement > > this clock in order to

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-24 Thread Daniel Lezcano
On Mon, Apr 24, 2017 at 10:31:54AM +0100, Lee Jones wrote: > On Sat, 08 Apr 2017, Daniel Lezcano wrote: > > > The hi655x multi function device is a PMIC providing regulators. > > > > The PMIC also provides a clock for the WiFi and the Bluetooth, let's > > implement > > this clock in order to

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-24 Thread Lee Jones
On Sat, 08 Apr 2017, Daniel Lezcano wrote: > The hi655x multi function device is a PMIC providing regulators. > > The PMIC also provides a clock for the WiFi and the Bluetooth, let's implement > this clock in order to add it in the hi655x MFD and allow proper wireless > initialization. > >

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-24 Thread Lee Jones
On Sat, 08 Apr 2017, Daniel Lezcano wrote: > The hi655x multi function device is a PMIC providing regulators. > > The PMIC also provides a clock for the WiFi and the Bluetooth, let's implement > this clock in order to add it in the hi655x MFD and allow proper wireless > initialization. > >

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-21 Thread Stephen Boyd
On 04/19, Daniel Lezcano wrote: > On Wed, Apr 19, 2017 at 09:00:05AM -0700, Stephen Boyd wrote: > > On 04/16, Daniel Lezcano wrote: > > > On Wed, Apr 12, 2017 at 08:02:45AM -0700, Stephen Boyd wrote: > > > > On 04/08, Daniel Lezcano wrote: > > [ ... ] > > > > > > + ret =

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-21 Thread Stephen Boyd
On 04/19, Daniel Lezcano wrote: > On Wed, Apr 19, 2017 at 09:00:05AM -0700, Stephen Boyd wrote: > > On 04/16, Daniel Lezcano wrote: > > > On Wed, Apr 12, 2017 at 08:02:45AM -0700, Stephen Boyd wrote: > > > > On 04/08, Daniel Lezcano wrote: > > [ ... ] > > > > > > + ret =

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-19 Thread Daniel Lezcano
On Wed, Apr 19, 2017 at 09:00:05AM -0700, Stephen Boyd wrote: > On 04/16, Daniel Lezcano wrote: > > On Wed, Apr 12, 2017 at 08:02:45AM -0700, Stephen Boyd wrote: > > > On 04/08, Daniel Lezcano wrote: [ ... ] > > > > + ret = clk_hw_register_clkdev(_clk->clk_hw, clk_name, > > > > NULL); > >

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-19 Thread Daniel Lezcano
On Wed, Apr 19, 2017 at 09:00:05AM -0700, Stephen Boyd wrote: > On 04/16, Daniel Lezcano wrote: > > On Wed, Apr 12, 2017 at 08:02:45AM -0700, Stephen Boyd wrote: > > > On 04/08, Daniel Lezcano wrote: [ ... ] > > > > + ret = clk_hw_register_clkdev(_clk->clk_hw, clk_name, > > > > NULL); > >

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-19 Thread Stephen Boyd
On 04/16, Daniel Lezcano wrote: > On Wed, Apr 12, 2017 at 08:02:45AM -0700, Stephen Boyd wrote: > > On 04/08, Daniel Lezcano wrote: > > > > + struct hi655x_clk *hi655x_clk; > > > + const char *clk_name = "hi655x-clk"; > > > + int ret; > > > + > > > + hi655x_clk = devm_kzalloc(>dev,

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-19 Thread Stephen Boyd
On 04/16, Daniel Lezcano wrote: > On Wed, Apr 12, 2017 at 08:02:45AM -0700, Stephen Boyd wrote: > > On 04/08, Daniel Lezcano wrote: > > > > + struct hi655x_clk *hi655x_clk; > > > + const char *clk_name = "hi655x-clk"; > > > + int ret; > > > + > > > + hi655x_clk = devm_kzalloc(>dev,

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-16 Thread Daniel Lezcano
On Wed, Apr 12, 2017 at 08:02:45AM -0700, Stephen Boyd wrote: > On 04/08, Daniel Lezcano wrote: > > > > Example: > > pmic: pmic@f800 { > > @@ -24,4 +29,5 @@ Example: > > interrupt-controller; > > #interrupt-cells = <2>; > > pmic-gpios = < 2

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-16 Thread Daniel Lezcano
On Wed, Apr 12, 2017 at 08:02:45AM -0700, Stephen Boyd wrote: > On 04/08, Daniel Lezcano wrote: > > > > Example: > > pmic: pmic@f800 { > > @@ -24,4 +29,5 @@ Example: > > interrupt-controller; > > #interrupt-cells = <2>; > > pmic-gpios = < 2

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-12 Thread Stephen Boyd
On 04/08, Daniel Lezcano wrote: > > Example: > pmic: pmic@f800 { > @@ -24,4 +29,5 @@ Example: > interrupt-controller; > #interrupt-cells = <2>; > pmic-gpios = < 2 GPIO_ACTIVE_HIGH>; > + clock-cells = <0>; Should be #clock-cells

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-12 Thread Stephen Boyd
On 04/08, Daniel Lezcano wrote: > > Example: > pmic: pmic@f800 { > @@ -24,4 +29,5 @@ Example: > interrupt-controller; > #interrupt-cells = <2>; > pmic-gpios = < 2 GPIO_ACTIVE_HIGH>; > + clock-cells = <0>; Should be #clock-cells

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-12 Thread Lee Jones
On Wed, 12 Apr 2017, Daniel Lezcano wrote: > On 12/04/2017 10:00, Lee Jones wrote: > > On Tue, 11 Apr 2017, Daniel Lezcano wrote: > > > >> On Tue, Apr 11, 2017 at 03:06:13PM +0100, Lee Jones wrote: > >>> On Sat, 08 Apr 2017, Daniel Lezcano wrote: > >>> > The hi655x multi function device is

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-12 Thread Lee Jones
On Wed, 12 Apr 2017, Daniel Lezcano wrote: > On 12/04/2017 10:00, Lee Jones wrote: > > On Tue, 11 Apr 2017, Daniel Lezcano wrote: > > > >> On Tue, Apr 11, 2017 at 03:06:13PM +0100, Lee Jones wrote: > >>> On Sat, 08 Apr 2017, Daniel Lezcano wrote: > >>> > The hi655x multi function device is

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-12 Thread Daniel Lezcano
On 12/04/2017 10:00, Lee Jones wrote: > On Tue, 11 Apr 2017, Daniel Lezcano wrote: > >> On Tue, Apr 11, 2017 at 03:06:13PM +0100, Lee Jones wrote: >>> On Sat, 08 Apr 2017, Daniel Lezcano wrote: >>> The hi655x multi function device is a PMIC providing regulators. The PMIC also

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-12 Thread Daniel Lezcano
On 12/04/2017 10:00, Lee Jones wrote: > On Tue, 11 Apr 2017, Daniel Lezcano wrote: > >> On Tue, Apr 11, 2017 at 03:06:13PM +0100, Lee Jones wrote: >>> On Sat, 08 Apr 2017, Daniel Lezcano wrote: >>> The hi655x multi function device is a PMIC providing regulators. The PMIC also

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-12 Thread Lee Jones
On Tue, 11 Apr 2017, Daniel Lezcano wrote: > On Tue, Apr 11, 2017 at 03:06:13PM +0100, Lee Jones wrote: > > On Sat, 08 Apr 2017, Daniel Lezcano wrote: > > > > > The hi655x multi function device is a PMIC providing regulators. > > > > > > The PMIC also provides a clock for the WiFi and the

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-12 Thread Lee Jones
On Tue, 11 Apr 2017, Daniel Lezcano wrote: > On Tue, Apr 11, 2017 at 03:06:13PM +0100, Lee Jones wrote: > > On Sat, 08 Apr 2017, Daniel Lezcano wrote: > > > > > The hi655x multi function device is a PMIC providing regulators. > > > > > > The PMIC also provides a clock for the WiFi and the

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-11 Thread Daniel Lezcano
On Tue, Apr 11, 2017 at 03:06:13PM +0100, Lee Jones wrote: > On Sat, 08 Apr 2017, Daniel Lezcano wrote: > > > The hi655x multi function device is a PMIC providing regulators. > > > > The PMIC also provides a clock for the WiFi and the Bluetooth, let's > > implement > > this clock in order to

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-11 Thread Daniel Lezcano
On Tue, Apr 11, 2017 at 03:06:13PM +0100, Lee Jones wrote: > On Sat, 08 Apr 2017, Daniel Lezcano wrote: > > > The hi655x multi function device is a PMIC providing regulators. > > > > The PMIC also provides a clock for the WiFi and the Bluetooth, let's > > implement > > this clock in order to

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-11 Thread Lee Jones
On Sat, 08 Apr 2017, Daniel Lezcano wrote: > The hi655x multi function device is a PMIC providing regulators. > > The PMIC also provides a clock for the WiFi and the Bluetooth, let's implement > this clock in order to add it in the hi655x MFD and allow proper wireless > initialization. > >

Re: [PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-11 Thread Lee Jones
On Sat, 08 Apr 2017, Daniel Lezcano wrote: > The hi655x multi function device is a PMIC providing regulators. > > The PMIC also provides a clock for the WiFi and the Bluetooth, let's implement > this clock in order to add it in the hi655x MFD and allow proper wireless > initialization. > >

[PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-08 Thread Daniel Lezcano
The hi655x multi function device is a PMIC providing regulators. The PMIC also provides a clock for the WiFi and the Bluetooth, let's implement this clock in order to add it in the hi655x MFD and allow proper wireless initialization. Signed-off-by: Daniel Lezcano ---

[PATCH V2] clk: hi6220: Add the hi655x's pmic clock

2017-04-08 Thread Daniel Lezcano
The hi655x multi function device is a PMIC providing regulators. The PMIC also provides a clock for the WiFi and the Bluetooth, let's implement this clock in order to add it in the hi655x MFD and allow proper wireless initialization. Signed-off-by: Daniel Lezcano --- Changelog: V2: -