On Mon, Oct 22, 2012 at 10:42:01AM +0300, Felipe Balbi wrote: > Hi, > > On Tue, Oct 16, 2012 at 05:23:20PM +0200, Sebastien Guiriec wrote: > > 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. > > > > log: > > > > [0.482299] omap_i2c i2c.15: could not find pctldev for node /ocp/pinmux@4a00 > > 2840/pinmux_i2c5_pins, deferring probe > > [0.482330] platform i2c.15: Driver omap_i2c requests probe deferral > > [0.484466] Advanced Linux Sound Architecture Driver Initialized. > > > > [4.746917] omap_i2c i2c.15: bus 4 rev2.4.0 at 100 kHz > > [4.755279] gpiochip_find_base: found new base at 477 > > [4.761169] gpiochip_add: registered GPIOs 477 to 500 on device: tca6424a > > > > Signed-off-by: Sebastien Guiriec <s-guiriec@xxxxxx> > > looks good to me also, should go in v3.8 merge window: > > Reviewed-by: Felipe Balbi <balbi@xxxxxx> Applied to for-next, thanks! -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
Attachment:
signature.asc
Description: Digital signature