linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i2c: i801: Add runtime PM support
@ 2016-03-10 12:12 Jarkko Nikula
  2016-03-10 12:12 ` [PATCH 1/2] i2c: i801: Convert to struct dev_pm_ops for suspend/resume Jarkko Nikula
  2016-03-10 12:12 ` [PATCH 2/2] i2c: i801: Add runtime PM support with autosuspend Jarkko Nikula
  0 siblings, 2 replies; 3+ messages in thread
From: Jarkko Nikula @ 2016-03-10 12:12 UTC (permalink / raw)
  To: linux-i2c; +Cc: Jean Delvare, Wolfram Sang, Reinette Chatre, Jarkko Nikula

Motivation here is to help newer SoCs to reach deeper runtime sleep
states by suspending the SMBUS device with 1 second autosuspend delay
when it is idle.

This is ought to work on both cases where SMBUS PCI device does and
doesn't have PM capabilities. PCI core won't power down the device at
runtime if it doesn't have PM capabilities. We have tested these both
cases, although platforms were quite recent ones.

Jarkko Nikula (2):
  i2c: i801: Convert to struct dev_pm_ops for suspend/resume
  i2c: i801: Add runtime PM support with autosuspend

 drivers/i2c/busses/i2c-i801.c | 52 +++++++++++++++++++++++++++----------------
 1 file changed, 33 insertions(+), 19 deletions(-)

-- 
2.7.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-10 12:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10 12:12 [PATCH 0/2] i2c: i801: Add runtime PM support Jarkko Nikula
2016-03-10 12:12 ` [PATCH 1/2] i2c: i801: Convert to struct dev_pm_ops for suspend/resume Jarkko Nikula
2016-03-10 12:12 ` [PATCH 2/2] i2c: i801: Add runtime PM support with autosuspend Jarkko Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).