Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device

2015-12-24 Thread Shubhrajyoti Datta
On Fri, Dec 25, 2015 at 3:55 AM, Wolfram Sang wrote: >> I think the below drivers >> >> drivers/i2c/busses/i2c-at91.c >> drivers/i2c/busses/i2c-designware-core.c >> drivers/i2c/busses/i2c-designware-platdrv.c >> drivers/i2c/busses/i2c-rcar.c >>

Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device

2015-12-24 Thread Wolfram Sang
> I think the below drivers > > drivers/i2c/busses/i2c-at91.c > drivers/i2c/busses/i2c-designware-core.c > drivers/i2c/busses/i2c-designware-platdrv.c > drivers/i2c/busses/i2c-rcar.c > drivers/i2c/busses/i2c-sh_mobile.c > drivers/i2c/busses/i2c-hix5hd2.c > drivers/i2c/busses/i2c-nomadik.c >

Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device

2015-12-24 Thread Shubhrajyoti Datta
> >> Also maybe we can add a flag that the driver enables. >> that way for a short period till the driver removes the call >> the double call is not there. > > The only driver I found was the s3c2410 and I fixed it. Is there another > one? Then, I'd update my series because I want a consistent

Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device

2015-12-24 Thread Wolfram Sang
> > RuntimePM for the logical adapter device should be handled in a central > > place > > by the core, and not by drivers. This series does exactly that. > > This is good idea. Thanks! > Also maybe we can add a flag that the driver enables. > that way for a short period till the driver

[PATCH] i2c/designware: enable i2c controller to suspend/resume asynchronously

2015-12-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between devices. This patch enables designware i2c

[PATCH 1/2] i2c: enable i2c device to suspend/resume asynchronously

2015-12-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between devices. This patch enables i2c devices to

[PATCH 2/2] i2c: enable i2c adapter to suspend/resume asynchronously

2015-12-24 Thread Fu, Zhonghui
Now, PM core supports asynchronous suspend/resume mode for devices during system suspend/resume, and the power state transition of one device may be completed in separate kernel thread. PM core ensures all power state transition dependency between devices. This patch enables i2c adapters to