Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1208007

[PATCHv4 0/4] serial: imx: rework pm support and add runtime pm

From Eduardo Valentin <edubezval@gmail.com>
Newsgroups linux.kernel
Subject [PATCHv4 0/4] serial: imx: rework pm support and add runtime pm
Date 2015-08-15 06:40 +0200
Message-ID <pXBqa-7u1-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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:

V3->V4:
- Remove *dev from sport and reused sport->port.dev.
- Rebased on top of tty-testing (initial 4 patches were already applied by greg)

V3: https://lkml.org/lkml/2015/8/11/581

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 (4):
  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

 drivers/tty/serial/imx.c | 296 ++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 244 insertions(+), 52 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCHv4 0/4] serial: imx: rework pm support and add runtime pm Eduardo Valentin <edubezval@gmail.com> - 2015-08-15 06:40 +0200
  [PATCHv4 1/4] serial: imx: add a flag to indicate we are in the suspend path Eduardo Valentin <edubezval@gmail.com> - 2015-08-15 06:40 +0200
  [PATCHv4 2/4] serial: imx: add runtime pm support Eduardo Valentin <edubezval@gmail.com> - 2015-08-15 06:40 +0200
    Re: [PATCHv4 2/4] serial: imx: add runtime pm support Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-17 17:50 +0200
      Re: [PATCHv4 2/4] serial: imx: add runtime pm support Eduardo Valentin <edubezval@gmail.com> - 2015-08-17 19:30 +0200

csiph-web