commit | 13d6eb20fc79a1e606307256dad4098375539a09 | [log] [tgz] |
---|---|---|
author | Fugang Duan <fugang.duan@nxp.com> | Tue Jan 02 17:11:52 2018 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Jan 24 07:20:30 2018 +0100 |
tree | baa432a295e9a72e589696a6b250c72e1bcba369 | |
parent | fe34fbf93f87e9e0f78eeeb6f21b2fc310cb6080 [diff] |
i2c: imx-lpi2c: add runtime pm support Add runtime pm support to dynamically manage the clock to avoid enable/disable clock in frequently that can improve the i2c bus transfer performance. And use pm_runtime_force_suspend/resume() instead of lpi2c_imx_suspend/resume(). Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>