[Patch V6] i2c: imx: add runtime pm support to improve the performance

2015-08-28 Thread Gao Pan
In our former i2c driver, i2c clk is enabled and disabled in xfer function, which contributes to power saving. However, the clk enable process brings a busy wait delay until the core is stable. As a result, the performance is sacrificed. To weigh the power consumption and i2c bus performance,

RE: [Patch V5] i2c: imx: add runtime pm support to improve the performance

2015-08-28 Thread Gao Pandy
From: Heiner Kallweit mailto:hkallwe...@gmail.com Sent: Friday, August 28, 2015 1:50 PM To: Gao Pan-B54642; w...@the-dreams.de Cc: linux-i2c@vger.kernel.org; Li Frank-B20596; Duan Fugang-B38611; u.kleine-koe...@pengutronix.de; ker...@pengutronix.de Subject: Re: [Patch V5] i2c: imx: add

[PATCH 1/1] i2c: added FUNC flag for unsupported clock stretching

2015-08-28 Thread Nicola Corna
Added I2C_FUNC_NO_CLK_STRETCH, to be used when clock stretching is not supported. Added this flag to drivers/i2c/algos/i2c-algo-bit.c when getscl is not available. Signed-off-by: Nicola Corna nic...@corna.info --- Documentation/i2c/functionality | 1 + drivers/i2c/algos/i2c-algo-bit.c | 5 -