RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support

2021-03-19 Thread Aisheng Dong
[...] > > > > pm_runtime_set_autosuspend_delay(&pdev->dev, > > > I2C_PM_TIMEOUT); > > > > pm_runtime_use_autosuspend(&pdev->dev); > > > > - pm_runtime_get_noresume(&pdev->dev); > > > > - pm_runtime_set_active(&pdev->dev); > > > > pm_runtime_enable(&pdev->dev); >

RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support

2021-03-19 Thread Clark Wang
e...@amd.com; > linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org > Subject: RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support > > > > -Original Message- > > From: Aisheng Dong > > Sent: Friday, March 19, 2021 12

RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support

2021-03-18 Thread Clark Wang
e...@amd.com; > linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org > Subject: RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support > > > From: Clark Wang > > Sent: Wednesday, March 17, 2021 2:54 PM > > Subject: [PATCH 02/11] i

RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support

2021-03-18 Thread Clark Wang
e...@amd.com; > linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org > Subject: RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support > > > From: Clark Wang > > Sent: Wednesday, March 17, 2021 2:54 PM > > Subject: [PATCH 02/11] i

RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support

2021-03-18 Thread Aisheng Dong
> From: Clark Wang > Sent: Wednesday, March 17, 2021 2:54 PM > Subject: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support > > - Add runtime pm support to dynamicly manage the clock. > - Put the suspend to suspend_noirq. > - Call .pm_runtime_force_suspend() to force runtime pm suspended > in