Thread (1 message) 1 message, 1 author, 2012-10-18

[PATCH 03/10] tty: pxa: configure pin

From: Stephen Warren <hidden>
Date: 2012-10-18 22:20:59
Also in: linux-devicetree

On 10/18/2012 03:06 AM, Haojian Zhuang wrote:
Configure pins by pinctrl driver.
In general, it seems better to use pinctrl "hogs" if the driver is only
going to statically set up one pinctrl state and never change it. The
alternative is make every single driver execute these pinctrl calls,
which could be tedious.

However, that does raise one question: If all the pinctrl setup is done
by hogs, then how do we ensure that the pinctrl driver is probed first,
and hence sets up the pins before any driver relies on them being set
up? If a driver explicitly enables a pinctrl state (as in this patch),
then deferred probe ensures that, but without any explicit pinctrl
action, it'll only work by luck.

LinusW, what are your thoughts on that?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help