--- On Mon, 8/30/10, MyungJoo Ham <myungjoo.ham@samsung.com> wrote:
NAK.
Note that Documentation/gpio.txt specifies such
pinmux/configuration as out of scope. There isn't
even uniformity of models about such things between
SOCs (and ASICs etc).
Put these kinds of things in arch-specific code,
which has good reason to know about all the ways
each platform differs from others, and to cope.
Look at OMAP and AT91 for some examples of SOCs
which have addressed these issues cleanly, and
without committing mayhem on the GPIO framework.
--