On Thu, Aug 25, 2011 at 12:12:59PM +0200, Linus Walleij wrote:
mach-msm:
Hard to tell how this works and what's available, support seems to be incomplete. Currently it seems to be wired to do either a dedicated function (like some UART pin) or GPIO, like each pin can be used for two specific things, and not phone-exchange type.
There are some pins on MSMs that can be connected to different hw blocks, we just haven't gotten the support into the kernel yet.
There are some things where two devices share pins, and you have to choose one or the other.
I believe there are also configurations where something such as the SD controller can either be configured in 8-bit data mode, or in 4-bit data mode, and those 4 pins connected to something else.
Much of the current pin configuration in our product kernel seems to be about current and pull up/down configuration.
I've added Rohit Vaswani, and Greg Bean to this thread who should have a bit better understanding of this.
David