Issue with gpio and pinmux

Linus Walleij linus.walleij at linaro.org
Thu Jul 25 09:24:08 EDT 2013


On Thu, Jul 25, 2013 at 3:20 PM, Damien Riegel
<damien.riegel.ext at parrot.com> wrote:

> I don't know about pinctrl background but I don't really get why there
> is such a distinction between gpio and other functions in most cases.
>
> I understand that on some arch a pin can be muxed and used as a gpio at
> the same time. But on most arch, isn't gpio just another function that
> can be muxed on a pin, and therefore we should check that a pin can be
> requested as a gpio just by checking desc->mux_owner ?

Does this recently submitted documentation patch help in explaining
some of your questions?
http://marc.info/?l=linux-kernel&m=137442899829271&w=2

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list