Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: tegra30-actmon: Document OPP and interconnect properties

Document EMC DFS OPP table and interconnect paths that will be used
for scaling of system's memory bandwidth based on memory utilization
statistics. Previously ACTMON was supposed to drive EMC clock rate
directly, but now it should do it using interconnect framework in order
to support shared voltage scaling in addition to the frequency scaling.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201104164923.21238-16-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

authored by

Dmitry Osipenko and committed by
Krzysztof Kozlowski
254a42ac 881f68ed

+25
+25
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-actmon.txt
··· 18 18 ../../reset/reset.txt for details. 19 19 - reset-names: Must include the following entries: 20 20 - actmon 21 + - operating-points-v2: See ../bindings/opp/opp.txt for details. 22 + - interconnects: Should contain entries for memory clients sitting on 23 + MC->EMC memory interconnect path. 24 + - interconnect-names: Should include name of the interconnect path for each 25 + interconnect entry. Consult TRM documentation for 26 + information about available memory clients, see MEMORY 27 + CONTROLLER section. 28 + 29 + For each opp entry in 'operating-points-v2' table: 30 + - opp-supported-hw: bitfield indicating SoC speedo ID mask 31 + - opp-peak-kBps: peak bandwidth of the memory channel 21 32 22 33 Example: 34 + dfs_opp_table: opp-table { 35 + compatible = "operating-points-v2"; 36 + 37 + opp@12750000 { 38 + opp-hz = /bits/ 64 <12750000>; 39 + opp-supported-hw = <0x000F>; 40 + opp-peak-kBps = <51000>; 41 + }; 42 + ... 43 + }; 44 + 23 45 actmon@6000c800 { 24 46 compatible = "nvidia,tegra124-actmon"; 25 47 reg = <0x0 0x6000c800 0x0 0x400>; ··· 51 29 clock-names = "actmon", "emc"; 52 30 resets = <&tegra_car 119>; 53 31 reset-names = "actmon"; 32 + operating-points-v2 = <&dfs_opp_table>; 33 + interconnects = <&mc TEGRA124_MC_MPCORER &emc>; 34 + interconnect-names = "cpu"; 54 35 };