Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6d0cfea2 authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian Committed by Lina Iyer
Browse files

drivers: qcom: add RPM stats driver



RPM stats driver provides statistical information on the low power modes
entered by the SoC. The information is gathered form the number of times
the hardware blocks are configured to enter low power state and exported
by the always-on processor to other processors using shared memory.

This driver is based off the RPM stats driver available in 'commit
cc15c6703e90: (drivers: soc: qcom: rpm_stats: Switch to use
arch_counter_get_cntvct())' in the msm-4.4 branch.

Some changes made to the original include -
	- kmalloc/kzalloc -> kzalloc/devm_kzalloc
	- Whitespace issues addressed
	- Code re-org and cleanup
	- Add DT bindings documentation
	- Copyright updates
	- Use builtin platform driver instead of module
	- Kconfig documentation updates (MSM -> QTI)
	- rpm_stats.h is no longer needed.
	- Pruned old code and V1 format support

Change-Id: Ibceaa8f948e203c39e3df55b135c0a394f39ca5f
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: default avatarArchana Sathyakumar <asathyak@codeaurora.org>
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 0a4d1ddb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment