Re: [PATCH v3 1/1] pinctrl: add Intel BayTrail GPIO/pinctrl support

From: Rafael J. Wysocki
Date: Fri Apr 25 2014 - 12:21:54 EST


On 4/25/2014 6:13 PM, Timur Tabi wrote:
Westerberg, Mika wrote:
If you happen to have pin controller/mux driver that drives that hardware,
I'm sure your pinmux functions gets called.

Actually, I don't think they do. On a device-tree system, the functions get called automatically by the pinctrl layer when it parses the device tree. This happens in response to probe, remove, and various power management changes.


I would be interested in understanding what exactly the flow is in that situation, so care to educate me? What does the driver do to trigger this and what exactly does happen in response to that?

Rafael

--
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/