[PATCH] ARM: dts: imx28: add gpio-ranges for internal gpio controller

Linus Walleij linus.walleij at linaro.org
Mon May 22 08:54:58 PDT 2017


On Mon, May 15, 2017 at 9:16 AM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
> On Mon, May 15, 2017 at 10:21:30AM +0800, Shawn Guo wrote:

>> You will need to free the GPIO before muxing it to a different function,
>> I think.
>
> IMHO this is a bad concept. This makes GPIOs more special than for
> example PWMs or LEDs. And it breaks some configurations (for example the
> make-pins-highz-on-idle setup in my previous mails).

So this is the reason why pin controllers can choose to be strict
or not: people disagree on the semantics.

But it's good if the driver maintainers agree for a certain driver :D

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list