[PATCH v10] pinctrl: add a driver for the U300 pinmux

Barry Song 21cnbao at gmail.com
Mon Oct 10 07:57:51 EDT 2011


2011/10/10 Linus Walleij <linus.walleij at stericsson.com>:
> From: Linus Walleij <linus.walleij at linaro.org>
>
> This adds a driver for the U300 pinmux portions of the system
> controller "SYSCON". It also serves as an example of how to use
> the pinmux subsystem. This driver also houses the platform data
> for the only supported platform.
>
> This deletes the old U300 driver in arch/arm/mach-u300 and
> replace it with a driver using the new subsystem.
>
> The new driver is considerably fatter than the old one, but it
> also registers all 467 pins of the system and adds the power
> and EMIF pin groups and corresponding functions. The idea
> is to use this driver as a a reference for other
> implementation so it needs to be as complete and verbose
> as possible.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Reviewed-by: Barry Song <21cnbao at gmail.com>

> ---
> ChangeLog v9 -> v10
> - Removed debug register dump (review from Barry Song)
> - Allocate sizeof(*ptr) instead of sizeof(struct foo)


-barry



More information about the linux-arm-kernel mailing list