[PATCH 0/2] Introduce SoC sleep stats driver
From: Maulik Shah
Date: Thu Aug 08 2019 - 02:13:22 EST
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.