linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/8] serial: imx: rework pm support and add runtime pm
@ 2015-08-11 17:21 Eduardo Valentin
  2015-08-11 17:21 ` [PATCHv3 1/8] serial: imx: remove unbalanced clk_prepare Eduardo Valentin
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Eduardo Valentin @ 2015-08-11 17:21 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Fabio Estevam
  Cc: Sascha Hauer, Linux PM, linux-serial, LKML, Eduardo Valentin

Hello all,


This is version 3 of a patch series to introduce runtime pm in the imx serial
driver. The idea is to get runtime pm to handle ipg and per clocks, idling
the device when possible, configuring wakeups, and saving and restoring
context when needed.

A minor refactoring was needed to get things done. On top of it I am also
adding pm_qos support in the driver too.

Changelog:

V2->V3:
- error checking handling on clk_*enable functions
- added a missing return
- moved some of the code from the runtime pm patch to the pm qos patch, which
were causing compilation issues.
V2: http://marc.info/?l=linux-pm&m=143925695931624&w=2

V1->V2:
- The difference now is that it is rebased on top of linux-next, given
that some of the work done in v1 was already sent.
V1: http://marc.info/?l=linux-pm&m=143914435605790&w=2

As always, comments are welcome.

BR

Eduardo Valentin (8):
  serial: imx: remove unbalanced clk_prepare
  serial: imx: introduce serial_imx_enable_wakeup()
  serial: imx: allow waking up on RTSD
  serial: imx: save and restore context in the suspend path
  serial: imx: add a flag to indicate we are in the suspend path
  serial: imx: add runtime pm support
  serial: imx: add pm_qos request
  serial: imx: use SET_*SYSTEM_PM_OPS helper functions

 arch/arm/boot/dts/Makefile |   1 +
 drivers/tty/serial/imx.c   | 368 +++++++++++++++++++++++++++++++++++----------
 2 files changed, 286 insertions(+), 83 deletions(-)

-- 
2.5.0


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

end of thread, other threads:[~2015-08-15  1:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-11 17:21 [PATCHv3 0/8] serial: imx: rework pm support and add runtime pm Eduardo Valentin
2015-08-11 17:21 ` [PATCHv3 1/8] serial: imx: remove unbalanced clk_prepare Eduardo Valentin
2015-08-11 17:21 ` [PATCHv3 2/8] serial: imx: introduce serial_imx_enable_wakeup() Eduardo Valentin
2015-08-11 17:21 ` [PATCHv3 3/8] serial: imx: allow waking up on RTSD Eduardo Valentin
2015-08-11 17:21 ` [PATCHv3 4/8] serial: imx: save and restore context in the suspend path Eduardo Valentin
2015-08-11 17:21 ` [PATCHv3 5/8] serial: imx: add a flag to indicate we are " Eduardo Valentin
2015-08-11 17:21 ` [PATCHv3 6/8] serial: imx: add runtime pm support Eduardo Valentin
2015-08-15  0:23   ` Greg Kroah-Hartman
2015-08-15  1:20     ` Eduardo Valentin
2015-08-11 17:21 ` [PATCHv3 7/8] serial: imx: add pm_qos request Eduardo Valentin
2015-08-11 17:21 ` [PATCHv3 8/8] serial: imx: use SET_*SYSTEM_PM_OPS helper functions Eduardo Valentin

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).