Re: [PATCH 2/2] pinctrl: add a generic control interface

From: Linus Walleij
Date: Thu Oct 20 2011 - 09:44:18 EST


On Thu, Oct 20, 2011 at 4:45 AM, Shawn Guo <shawn.guo@xxxxxxxxxxxxx> wrote:

> We should not require device driver to call these APIs directly.  There
> are so many pinctrl subsystem internal details left to its users.

As explained I already have drivers that need to do this. OK they
are out-of-tree, but they do exist.

For U5500 we have a SIM card driver which sets pull down resistance
and load capacitance in response to information retrieved from the
card at runtime. This is not static or internal to pinctrl at all. How should
I solve this if pin configuration is not exposed?

Yours,
Linus Walleij
--
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/