lkml.org 
[lkml]   [2019]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Introduce SoC sleep stats driver
Date
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.

\
 
 \ /
  Last update: 2019-08-08 08:14    [W:0.143 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site