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

ARM: tegra: Specify memory suspend OPP in device-tree

Specify memory suspend OPP in a device-tree, just for consistency.
Now memory will always suspend on the same frequency.

Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya T30
Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya T30
Tested-by: Dmitry Osipenko <digetx@gmail.com> # A500 T20 and Nexus7 T30
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Dmitry Osipenko and committed by
Thierry Reding
3b18164c 1f0ca058

+9
+5
arch/arm/boot/dts/tegra124-peripherals-opp.dtsi
··· 128 128 opp-microvolt = <800000 800000 1150000>; 129 129 opp-hz = /bits/ 64 <204000000>; 130 130 opp-supported-hw = <0x0003>; 131 + opp-suspend; 131 132 }; 132 133 133 134 opp@204000000,950 { 134 135 opp-microvolt = <950000 950000 1150000>; 135 136 opp-hz = /bits/ 64 <204000000>; 136 137 opp-supported-hw = <0x0008>; 138 + opp-suspend; 137 139 }; 138 140 139 141 opp@204000000,1050 { 140 142 opp-microvolt = <1050000 1050000 1150000>; 141 143 opp-hz = /bits/ 64 <204000000>; 142 144 opp-supported-hw = <0x0010>; 145 + opp-suspend; 143 146 }; 144 147 145 148 opp@204000000,1110 { 146 149 opp-microvolt = <1110000 1110000 1150000>; 147 150 opp-hz = /bits/ 64 <204000000>; 148 151 opp-supported-hw = <0x0004>; 152 + opp-suspend; 149 153 }; 150 154 151 155 opp@264000000,800 { ··· 364 360 opp-hz = /bits/ 64 <204000000>; 365 361 opp-supported-hw = <0x001F>; 366 362 opp-peak-kBps = <3264000>; 363 + opp-suspend; 367 364 }; 368 365 369 366 opp@264000000 {
+1
arch/arm/boot/dts/tegra20-peripherals-opp.dtsi
··· 68 68 opp-microvolt = <1000000 1000000 1300000>; 69 69 opp-hz = /bits/ 64 <216000000>; 70 70 opp-supported-hw = <0x000F>; 71 + opp-suspend; 71 72 }; 72 73 73 74 opp@300000000 {
+3
arch/arm/boot/dts/tegra30-peripherals-opp.dtsi
··· 128 128 opp-microvolt = <1000000 1000000 1350000>; 129 129 opp-hz = /bits/ 64 <204000000>; 130 130 opp-supported-hw = <0x0007>; 131 + opp-suspend; 131 132 }; 132 133 133 134 opp@204000000,1250 { 134 135 opp-microvolt = <1250000 1250000 1350000>; 135 136 opp-hz = /bits/ 64 <204000000>; 136 137 opp-supported-hw = <0x0008>; 138 + opp-suspend; 137 139 }; 138 140 139 141 opp@333500000,1000 { ··· 314 312 opp-hz = /bits/ 64 <204000000>; 315 313 opp-supported-hw = <0x000F>; 316 314 opp-peak-kBps = <1632000>; 315 + opp-suspend; 317 316 }; 318 317 319 318 opp@333500000 {