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 <redacted>
To: Laxmikant Rashinkar <redacted>
Cc: <redacted>
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