i2c: omap: adopt pinctrl support
authorSebastien Guiriec <s-guiriec@ti.com>
Tue, 16 Oct 2012 15:23:20 +0000 (15:23 +0000)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 14 Nov 2012 16:44:37 +0000 (17:44 +0100)
commit2d4b4520a5eaed6701b0c9f7540c8fd99a26e449
tree760d720fc68cafd7f44cbaac54c3abe233bbff61
parentd60ece5f010043422c5fbc3609714c4420c7c9bf
i2c: omap: adopt pinctrl support

Some GPIO expanders need some early pin control muxing. Due to
legacy boards sometimes the driver uses subsys_initcall instead of
module_init. This patch takes advantage of defer probe feature
and pin control in order to wait until pin control probing before
GPIO driver probing. It has been tested on OMAP5 board with TCA6424
driver.

Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Acked-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-omap.c
This page took 0.024396 seconds and 5 git commands to generate.