diff options
author | Ionela Voinescu <ionela.voinescu@arm.com> | 2017-03-27 15:08:57 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2017-03-31 08:44:44 +0100 |
commit | be118de0829d88e70ded8919c2739a3f3112375d (patch) | |
tree | 434617b1139adaf066c99100fbece0b8e8c205bc | |
parent | eac609b7ab691db919487f101fe009501f718080 (diff) |
PM / devfreq: add documentation for DSU portion control devfreq driver
Add documentation for the ARM DynamIQ Shared Unit (DSU) partial
powerdown devfreq device tree bindings.
Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com>
-rw-r--r-- | Documentation/devicetree/bindings/devfreq/dsu-portion-control.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/devfreq/dsu-portion-control.txt b/Documentation/devicetree/bindings/devfreq/dsu-portion-control.txt new file mode 100644 index 000000000000..97983f5cd3a2 --- /dev/null +++ b/Documentation/devicetree/bindings/devfreq/dsu-portion-control.txt @@ -0,0 +1,33 @@ + + * ARM DynamIQ Shared Unit (DSU) CPU memory power managemnt DevFreq device + +The cache in the ARM DynamIQ Shared Unit (DSU) supports partial power down by +splitting the cache into an implementation-specific number of portions. +The DSU portion control DevFreq driver provides an energy-cost justified +demand-driven policy for controlling the number of portions enabled. + +The driver also provides a specific DevFreq governor that will implement the +desired energy-cost-justification policy. This policy maps the number of +portions enabled to frequency (1 portion == 1Hz). + +The driver does not control the clock frequency of the cache. + +Required properties: + - compatible: Should be "arm,dsu_pctrl_r0" + +Optional properties: + - size: size of the cache in KB + - line-size: size of the cache line in bytes + - static-leakage-per-mb: static power leakage for each MB of cache in uW/MB + - dram-energy-per-mb: energy consumed for each MB of DRAM accessed in uJ/MB + - polling: polling time in miliseconds + +Example: + dsu_pctrl: dsu_pctrl { + compatible = "arm,dsu_pctrl_r0"; + size = <1024>; /* size in KB */ + line-size = <64>; + static-leakage-per-mb = <10000>; /*uW/MB */ + dram-energy-per-mb = <130>; /* uJ/MB */ + polling = <10000>; /* miliseconds */ + }; |