Skip to content

qcom: Add runtime PM support

Rajendra Nayak linux-arm-kernel linux-arm-msm linux-mmc linux-pm linux-serial 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6PM / clock_ops: Make pm_clk_notify() do nothing in case DT passes power-domainsdrivers/base/power/clock_ops.c+7 -10 replies
2/6clk: qcom: Add runtime support to handle clocks using PM clocksdrivers/clk/qcom/gdsc.c+20 -01 reply
2/6clk: qcom: Add runtime support to handle clocks using PM clocks+0 -03 replies
2/6clk: qcom: Add runtime support to handle clocks using PM clocks+0 -01 reply
2/6clk: qcom: Add runtime support to handle clocks using PM clocks+0 -05 replies
3/6serial: msm: convert driver to use runtime PM apisdrivers/tty/serial/msm_serial.c+16 -171 reply
3/6serial: msm: convert driver to use runtime PM apis+0 -00 replies
4/6mmc: sdhci-msm: convert driver to use runtime PM apisdrivers/mmc/host/sdhci-msm.c+11 -351 reply
4/6mmc: sdhci-msm: convert driver to use runtime PM apis+0 -01 reply
4/6mmc: sdhci-msm: convert driver to use runtime PM apis+0 -00 replies
4/6mmc: sdhci-msm: convert driver to use runtime PM apis+0 -00 replies
5/6i2c: qup: Get rid of clock handling as its done using runtime callbacksdrivers/i2c/busses/i2c-qup.c+16 -582 replies
5/6i2c: qup: Get rid of clock handling as its done using runtime callbacks+0 -00 replies
5/6i2c: qup: Get rid of clock handling as its done using runtime callbacks+0 -00 replies
6/6spi: qup: Get rid of clock handling as its done using runtime callbacksdrivers/spi/spi-qup.c+10 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/RFT 0/6] qcom: Add runtime PM support

The patches add runtime PM support (using PM clocks) for devices in qcom SoCs. Also converts serial/sdhci/i2c and spi drivers to cleanup clock handling and use runtime PM apis instead.

There are a couple [1][2] of other patch series that this one is based off, so I have pushed a branch [3] with all the dependecies if anyone wants to play with this series.
I have been able to test the serial and sdhci driver changes to a fair extent, i2c for a sucessfull probe and could not test anything on spi. So any testing on these drivers is highly appreciated.

[1] https://www.mail-archive.com/linux-arm-msm at vger.kernel.org/msg14157.html
[2] https://www.mail-archive.com/linux-arm-msm at vger.kernel.org/msg14268.html
[3] https://github.com/rrnayak/linux/tree/v4.0/runtime-rfc

Rajendra Nayak (6):
PM / clock_ops: Make pm_clk_notify() do nothing in case DT passes
power-domains
clk: qcom: Add runtime support to handle clocks using PM clocks
serial: msm: convert driver to use runtime PM apis
mmc: sdhci-msm: convert driver to use runtime PM apis
i2c: qup: Get rid of clock handling as its done using runtime
callbacks
spi: qup: Get rid of clock handling as its done using runtime
callbacks

 drivers/base/power/clock_ops.c  |  8 ++++-
 drivers/clk/qcom/gdsc.c         | 20 +++++++++++
 drivers/i2c/busses/i2c-qup.c    | 74 +++++++++--------------------------------
 drivers/mmc/host/sdhci-msm.c    | 46 ++++++-------------------
 drivers/spi/spi-qup.c           | 54 ++++++------------------------
 drivers/tty/serial/msm_serial.c | 33 +++++++++---------
 6 files changed, 80 insertions(+), 155 deletions(-)
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation