On Fri, Oct 23, 2015 at 6:24 PM, Stephen Boyd wrote:
> On 10/23, Linus Walleij wrote:
>> On Thu, Oct 15, 2015 at 9:08 PM, Stephen Boyd wrote:
>> > On 10/15, Linus Walleij wrote:
>> >> @@ -151,10 +174,19 @@ struct clk *icst_clk_register(struct device *dev,
>> >> init.flags = CLK_IS_ROOT;
>>
On 10/23, Linus Walleij wrote:
> On Thu, Oct 15, 2015 at 9:08 PM, Stephen Boyd wrote:
> > On 10/15, Linus Walleij wrote:
> >> @@ -151,10 +174,19 @@ struct clk *icst_clk_register(struct device *dev,
> >> init.flags = CLK_IS_ROOT;
> >> init.parent_names = (parent_name ? &parent_name : NU
On Fri, Oct 23, 2015 at 11:27 AM, Linus Walleij
wrote:
> On Thu, Oct 15, 2015 at 9:08 PM, Stephen Boyd wrote:
>> On 10/15, Linus Walleij wrote:
>>> @@ -151,10 +174,19 @@ struct clk *icst_clk_register(struct device *dev,
>>> init.flags = CLK_IS_ROOT;
>>> init.parent_names = (parent_nam
On Thu, Oct 15, 2015 at 9:08 PM, Stephen Boyd wrote:
> On 10/15, Linus Walleij wrote:
>> @@ -151,10 +174,19 @@ struct clk *icst_clk_register(struct device *dev,
>> init.flags = CLK_IS_ROOT;
>> init.parent_names = (parent_name ? &parent_name : NULL);
>> init.num_parents = (parent_
On 10/15, Linus Walleij wrote:
> @@ -151,10 +174,19 @@ struct clk *icst_clk_register(struct device *dev,
> init.flags = CLK_IS_ROOT;
> init.parent_names = (parent_name ? &parent_name : NULL);
> init.num_parents = (parent_name ? 1 : 0);
> + icst->map = regmap_init_mmio(NULL, ba
Instead of passing around register bases, pass around a regmap
in this driver. This refactoring make things so much easier when
we later want to manage an ICST that is part of a syscon.
Cc: Michael Turquette
Cc: Stephen Boyd
Cc: linux-clk@vger.kernel.org
Signed-off-by: Linus Walleij
---
I'm loo