I2C device suspend ordering w.r.t to other SOC drivers

muni anda muni.anda at gmail.com
Tue Feb 28 00:01:45 EST 2012


Hi all,

I have a requirement that an I2C device needs to be suspended after
all other SOC drivers are suspended (expect the I2C bus driver
though). I2C driver framework is written so that after the I2C bus
driver is loaded, I2C peripheral drivers are registered (based off
i2c_register_board_info() tables). By this time all the other platform
devices are registered. This design put the I2C devices in the end of
the registration order and that will result in suspending the device
first, which is not what I want.

Any way around this?

- Muni



More information about the linux-arm-kernel mailing list