[v2,0/1] i2c: mediatek: add runtime PM operations and bus regulator control

From: Zoie Lin
Date: Wed Nov 06 2024 - 08:04:12 EST


This series is based on linux-next, tag: next-20241105

Changes in v2:
- author name modification
- replacement of pm runtime API
- removal of redundant error messages
- return value adjustment
- add runtime pm status check

The delay before runtime_put_autosuspend() actually executes
mtk_i2c_runtime_suspend() depends on the frequency of I2C usage by the
devices attached to this bus. A 1000ms delay is a balanced value for
latency and power metrics based on the MTK platform.

Zoie Lin (1):
i2c: mediatek: add runtime PM operations and bus regulator control

drivers/i2c/busses/i2c-mt65xx.c | 77 ++++++++++++++++++++++++++++-----
1 file changed, 65 insertions(+), 12 deletions(-)

--
2.45.2