arm64: dts: meson-g12: specify suspend OPP
Subsystems (2)
cover arm64: dts: meson-g12: specify suspend OPP
Tag the 1,2GHz OPP as suspend OPP to be set before going in suspend mode, for the G12A, G12B and SM1 SoCs.
It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware.
Neil Armstrong (3):
arm64: dts: meson-g12a: specify suspend OPP
arm64: dts: meson-sm1: specify suspend OPP
arm64: dts: meson-g12b: specify suspend OPP
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | 2 ++ arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 2 ++ arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 + 4 files changed, 6 insertions(+)
Signature · 1 line
2.22.0
PATCH 1/3 arm64: dts: meson-g12a: specify suspend OPP
Tag the 1,2GHz OPP as suspend OPP to be set before going in suspend mode.
It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware.
--- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +1 -0
@@ -81,6 +81,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <731000>; + opp-suspend; }; opp-1398000000 {
Signature · 1 line
2.22.0
PATCH 2/3 arm64: dts: meson-sm1: specify suspend OPP
In reply to Neil ArmstrongTag the 1,2GHz OPP as suspend OPP to be set before going in suspend mode.
It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware.
--- arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi +1 -0
@@ -82,6 +82,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <780000>; + opp-suspend; }; opp-1404000000 {
Signature · 1 line
2.22.0
PATCH 3/3 arm64: dts: meson-g12b: specify suspend OPP
In reply to Neil ArmstrongTag the 1,2GHz OPPs as suspend OPP to be set before going in suspend mode.
It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware on the 2 clusters.
--- arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | 2 ++ arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 2 ++ 2 files changed, 4 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi +2 -0
@@ -39,6 +39,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <781000>; + opp-suspend; }; opp-1398000000 {
@@ -99,6 +100,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <751000>; + opp-suspend; }; opp-1398000000 {
arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +2 -0
@@ -39,6 +39,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <731000>; + opp-suspend; }; opp-1398000000 {
@@ -99,6 +100,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <771000>; + opp-suspend; }; opp-1398000000 {
Signature · 1 line
2.22.0
Kevin Hilman
maintainerQuoted 11 lines · Neil Armstrong
Tag the 1,2GHz OPP as suspend OPP to be set before going in suspend mode, for the G12A, G12B and SM1 SoCs.
It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware.
Neil Armstrong (3):
arm64: dts: meson-g12a: specify suspend OPP
arm64: dts: meson-sm1: specify suspend OPP
arm64: dts: meson-g12b: specify suspend OPP
Queued patches 1, 3 for v5.4.
The SM1 patch has a dependency on the SM1 DVFS series, which in turn has a dependency on clock changes. Once I get a stable tag for the SM1 clock changes, I'll queue up the rest.
Kevin
Kevin Hilman
maintainerQuoted 14 lines · Kevin Hilman
Quoted 11 lines · Neil Armstrong
Tag the 1,2GHz OPP as suspend OPP to be set before going in suspend mode, for the G12A, G12B and SM1 SoCs.
It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware.
Neil Armstrong (3):
arm64: dts: meson-g12a: specify suspend OPP
arm64: dts: meson-sm1: specify suspend OPP
arm64: dts: meson-g12b: specify suspend OPP
Quoted 5 lines
Queued patches 1, 3 for v5.4.
The SM1 patch has a dependency on the SM1 DVFS series, which in turn has a dependency on clock changes. Once I get a stable tag for the SM1 clock changes, I'll queue up the rest.
FYI... I decided not to queue these for v5.4.
I'm pretty sure we'll need these, but I I think we need to do a bit more suspend/resume testing to be sure we have the right OPPs. here.
For now, this series is in my v5.4/testing branch, which is included in integ so it can get a bit broader testing.
Kevin