i2c driver's probe routine not getting called

Laxmikant Rashinkar lk.atwork at yahoo.com
Thu Nov 6 06:22:35 EST 2008


I actually tried using the in tree i2c-mpc driver before sending out my email. This driver would silently reset the system when i2c accesses took place.

So I guess I'll try to modify the old driver to support new OF interface.

thanks
LK




________________________________
From: Scott Wood <scottwood at freescale.com>
To: Laxmikant Rashinkar <lk.atwork at yahoo.com>
Cc: linuxppc-embedded at ozlabs.org
Sent: Wednesday, November 5, 2008 8:15:17 AM
Subject: Re: i2c driver's probe routine not getting called

Laxmikant Rashinkar wrote:
> I have linux-2.6.27.1 running on a MPC8347 based board.
> 
> When my freescale I2C driver is insmoded, it calls platform_driver_register() successfully, but the probe routine doesn't get called. 

Is "your" freescale I2C driver different from "the" freescale I2C driver in drivers/i2c/busses/i2c-mpc.c?  If so, you'll need to update it to be an of_platform driver like the in-tree driver is (or, just switch to the in-tree driver).

-Scott



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20081105/0b5627ad/attachment-0001.htm>


More information about the Linuxppc-embedded mailing list