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

Commit 384882f7 authored by Vikram Mulukutla's avatar Vikram Mulukutla Committed by Matt Wagantall
Browse files

msm-cpufreq: Add snapshot of the MSM cpufreq doc from msm-3.10



Snapshot the documentation for msm cpufreq from msm-3.10 at commit
fb99d6226 ("qcom-cpufreq: Support parsing different freq tables
for each CPU clock").

Change-Id: I871766455ca9b8cf699b3578d86f86ad4b437297
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent cedb181c
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
Qualcomm MSM CPUfreq device

msm-cpufreq is a device that represents the list of usable CPU frequencies
and provides a device handle for the CPUfreq driver to get the CPU and cache
clocks.

Required properties:
- compatible:		Must be "qcom,msm-cpufreq"
- qcom,cpufreq-table, or qcom,cpufreq-table-<X>:
			A list of usable CPU frequencies (KHz).
			Use "qcom,cpufreq-table" if all CPUs in the system
			should share same list of frequencies.
			Use "qcom,cpufreq-table-<cpuid>" to describe
			different CPU freq tables for different CPUs.
			The table should be listed only for the first CPU
			if multiple CPUs are synchronous.

Optional properties:
- clock-names:		When DT based binding of clock is available, this
			provides a list of CPU subsystem clocks.
			"cpuX_clk" for every CPU that's present.
			"l2_clk" when an async cache/CCI is present.

Optional properties:
- qcom,governor-per-policy:	This property denotes that governor tunables
				should be associated with each cpufreq policy
				group instead of being global.

Example:
	qcom,msm-cpufreq@0 {
		regs = <0 4>
		compatible = "qcom,msm-cpufreq";
		qcom,cpufreq-table =
			<  300000 >,
			<  422400 >,
			<  652800 >,
			<  729600 >,
			<  883200 >,
			<  960000 >,
			< 1036800 >,
			< 1190400 >,
			< 1267200 >,
			< 1497600 >,
			< 1574400 >,
			< 1728000 >,
			< 1958400 >,
			< 2265600 >;
	};