[PATCH] gpio: stmpe: Add DT support for stmpe gpio

Linus Walleij linus.walleij at linaro.org
Sun Dec 2 06:55:13 EST 2012


On Sat, Dec 1, 2012 at 8:34 PM, Linus Walleij <linus.walleij at linaro.org> wrote:

> The crucial question is: can the STMPE controllers be
> used for GPIO, PWM, keypad and touchscreen at the
> *same time* or are they nailed to *one* usecase during
> electronics design?

Looking closer at the datasheet it seems to mux pins on individual per-pin
basis, so it is indeed pin-controller-like.

Was this driver submitted today, I would probably request that the
pinctrl + GPIO properties be properly exposed in the pinctrl
subsystem instead.

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list