Re: [RFC PATCH] GPIO: add control of powerdown modes and pull-up/down configurations.

From: David Brownell
Date: Mon Aug 30 2010 - 13:35:11 EST




--- On Mon, 8/30/10, MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx> wrote:

> From: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
> Subject: [RFC PATCH] GPIO: add control of powerdown modes and pull-up/down configurations.

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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/