On Mon, Jul 16, 2012 at 3:40 PM, Arnd Bergmann <[email protected]> wrote:

> One thing I've thought about
> before is to create some kind of very simple "system controller"
> framework based on regmap that lets you register a single global
> "struct regmap" pointer from an SoC specific driver, and have drivers
> call a function into that framework to get a reference to that
> regmap.

This sounds like a good idea. "misc-bit-poking" is something a lot
of systems are doing.

I haven't fully grasped regmap so that I can say whether that is the
proper abstraction or not though. But I trust you on this...

Yours,
Linus Walleij
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to