[PATCH v2 1/2] pinctrl: pinctrl-imx: add support for set bits for general purpose registers

Linus Walleij linus.walleij at linaro.org
Mon Jul 16 18:15:14 EDT 2012


On Mon, Jul 16, 2012 at 3:40 PM, Arnd Bergmann <arnd at arndb.de> 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



More information about the linux-arm-kernel mailing list