[i2c] [PATCH V6] I2C driver for IMX
Ben Dooks
ben-linux at fluff.org
Mon Jun 16 01:56:01 CEST 2008
On Thu, Jun 12, 2008 at 03:16:27PM +0300, Darius wrote:
> >> +static struct platform_driver i2c_imx_driver = {
> >> + .probe = i2c_imx_probe,
> >> + .remove = i2c_imx_remove,
> >> + .driver = {
> >> + .name = DRIVER_NAME,
> >> + .owner = THIS_MODULE,
> >> + }
> >> +};
> >
> > No suspend/resume support? See above note on ordering.
> >
>
> There are nothing to do in suspend/resume routines, because no possibility to turn off I2C clock.
> I2C module itself is disabled every time when data is not transmited.
> Seems, that there are only few I2C drivers (at91, blackfin, pnx) with suspend/resume suport.
> Most drivers has not suspend/resume support.
It depends, does the hardware keep the peripheral state during
suspend?
> Should I declare empty suspend/resume routines with return 0; only?
No, the system ignores NULL suspend/resume entries.
> _______________________________________________
> i2c mailing list
> i2c at lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/i2c
--
Ben (ben at fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
More information about the i2c
mailing list