mbox series

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

Message ID 20241106125212.27362-1-zoie.lin@mediatek.com (mailing list archive)
Headers show
Series i2c: mediatek: add runtime PM operations and bus regulator control | expand

Message

Zoie Lin Nov. 6, 2024, 12:52 p.m. UTC
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(-)