linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce SoC sleep stats driver
@ 2019-08-08  6:12 Maulik Shah
  2019-08-08  6:12 ` [PATCH 1/2] dt-bindings: Introduce soc sleep stats bindings for Qualcomm SoCs Maulik Shah
  2019-08-08  6:12 ` [PATCH 2/2] drivers: qcom: Add SoC sleep stats driver Maulik Shah
  0 siblings, 2 replies; 7+ messages in thread
From: Maulik Shah @ 2019-08-08  6:12 UTC (permalink / raw)
  To: andy.gross, david.brown, linux-arm-msm
  Cc: linux-kernel, linux-pm, bjorn.andersson, evgreen, dianders,
	swboyd, rnayak, ilina, lsrao, mkshah

Qualcomm Technologies Inc's (QTI) chipsets support SoC level low power modes.
SoCs Always On Processor/Resource Power Manager produces statistics of the SoC 
sleep modes involving lowering or powering down of the backbone rails - Cx and
Mx and the oscillator clock, XO.

Statistics includes SoC sleep mode type, number of times LPM entered, time of
last entry, exit, and accumulated sleep duration.

This series adds a driver to read the stats produced by remote processor and
exports using sysfs.

Maulik Shah (2):
  dt-bindings: Introduce soc sleep stats bindings for Qualcomm SoCs
  drivers: qcom: Add SoC sleep stats driver

 .../bindings/soc/qcom/soc-sleep-stats.txt     |  36 +++
 drivers/soc/qcom/Kconfig                      |   9 +
 drivers/soc/qcom/Makefile                     |   1 +
 drivers/soc/qcom/soc_sleep_stats.c            | 249 ++++++++++++++++++
 4 files changed, 295 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/qcom/soc-sleep-stats.txt
 create mode 100644 drivers/soc/qcom/soc_sleep_stats.c

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation.


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

end of thread, other threads:[~2020-02-21  6:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-08  6:12 [PATCH 0/2] Introduce SoC sleep stats driver Maulik Shah
2019-08-08  6:12 ` [PATCH 1/2] dt-bindings: Introduce soc sleep stats bindings for Qualcomm SoCs Maulik Shah
2019-08-08 16:20   ` Stephen Boyd
2020-02-21  5:57     ` Maulik Shah
2019-08-08  6:12 ` [PATCH 2/2] drivers: qcom: Add SoC sleep stats driver Maulik Shah
2019-08-08 18:40   ` Stephen Boyd
2020-02-21  6:04     ` Maulik Shah

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