Skip to contentSkip to conversation

arm64: dts: qcom: correct Iris corners for the MXC rail

PATCH Applied Dmitry Baryshkov 3 participants 16 messages Mar 13 – Mar 19

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover arm64: dts: qcom: correct Iris corners for the MXC rail

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. The slightly misleading documentation for the video clock controllers doesn't help with this subject. Correct the performance corners for the MXC rail following the PLL documentation.

---
Dmitry Baryshkov (6):
arm64: dts: qcom: hamoa: correct Iris corners for the MXC rail
arm64: dts: qcom: lemans: correct Iris corners for the MXC rail
arm64: dts: qcom: monaco: correct Iris corners for the MXC rail
arm64: dts: qcom: sm8550: correct Iris corners for the MXC rail
arm64: dts: qcom: sm8650: correct Iris corners for the MXC rail
arm64: dts: qcom: sm8750: correct Iris corners for the MXC rail

 arch/arm64/boot/dts/qcom/hamoa.dtsi  |  6 +++---
 arch/arm64/boot/dts/qcom/lemans.dtsi |  6 +++---
 arch/arm64/boot/dts/qcom/monaco.dtsi |  6 +++---
 arch/arm64/boot/dts/qcom/sm8550.dtsi |  6 +++---
 arch/arm64/boot/dts/qcom/sm8650.dtsi |  8 ++++----
 arch/arm64/boot/dts/qcom/sm8750.dtsi | 12 ++++++------
 6 files changed, 22 insertions(+), 22 deletions(-)

---
base-commit: 5c9e55fecf9365890c64f14761a80f9413a3b1d1
change-id: 20260313-iris-fix-corners-bc7492a67bbd

Best regards,

Signature · 2 lines
With best wishes
Dmitry
#1 lore raw

PATCH 1/6 arm64: dts: qcom: hamoa: correct Iris corners for the MXC rail

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 9065340ac04d ("arm64: dts: qcom: x1e80100: Add IRIS video codec")
---
 arch/arm64/boot/dts/qcom/hamoa.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/hamoa.dtsi +3 -3
index d7596ccf63b9..0866e9e2874d 100644
@@ -5432,19 +5432,19 @@ opp-338000000 {
 
 				opp-366000000 {
 					opp-hz = /bits/ 64 <366000000>;
-					required-opps = <&rpmhpd_opp_svs_l1>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_svs_l1>;
 				};
 
 				opp-444000000 {
 					opp-hz = /bits/ 64 <444000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-481000000 {
 					opp-hz = /bits/ 64 <481000000>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};
Signature · 1 line
2.47.3
Reviewed-by on v1 1/6
#2 lore raw

Re: [PATCH 1/6] arm64: dts: qcom: hamoa: correct Iris corners for the MXC rail

Quoted 28 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 9065340ac04d ("arm64: dts: qcom: x1e80100: Add IRIS video codec")
---
 arch/arm64/boot/dts/qcom/hamoa.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/hamoa.dtsi +2 -2
index d7596ccf63b9..0866e9e2874d 100644
@@ -5432,19 +5432,19 @@ opp-338000000 {
 
 				opp-366000000 {
 					opp-hz = /bits/ 64 <366000000>;
-					required-opps = <&rpmhpd_opp_svs_l1>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_svs_l1>;
 				};
 
 				opp-444000000 {
 					opp-hz = /bits/ 64 <444000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,

arch/arm64/boot/dts/qcom/hamoa.dtsi opp-338000000 { · line 5450

Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa.dtsi +1 -1
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-481000000 {
 					opp-hz = /bits/ 64 <481000000>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};

Thanks,
Dikshita

#3 lore raw

PATCH 2/6 arm64: dts: qcom: lemans: correct Iris corners for the MXC rail

In reply to Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 7bc95052c64f ("arm64: dts: qcom: sa8775p: add support for video node")
---
 arch/arm64/boot/dts/qcom/lemans.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/lemans.dtsi +3 -3
index 67b2c7e819ad..147ebf9b1ac6 100644
@@ -4625,19 +4625,19 @@ opp-366000000 {
 
 				opp-444000000 {
 					opp-hz = /bits/ 64 <444000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533000000 {
 					opp-hz = /bits/ 64 <533000000>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo>;
 				};
 
 				opp-560000000 {
 					opp-hz = /bits/ 64 <560000000>;
-					required-opps = <&rpmhpd_opp_turbo_l1>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo_l1>;
 				};
 			};
Signature · 1 line
2.47.3
Reviewed-by on v1 2/6
#4 lore raw

Re: [PATCH 2/6] arm64: dts: qcom: lemans: correct Iris corners for the MXC rail

Quoted 28 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 7bc95052c64f ("arm64: dts: qcom: sa8775p: add support for video node")
---
 arch/arm64/boot/dts/qcom/lemans.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/lemans.dtsi +2 -2
index 67b2c7e819ad..147ebf9b1ac6 100644
@@ -4625,19 +4625,19 @@ opp-366000000 {
 
 				opp-444000000 {
 					opp-hz = /bits/ 64 <444000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533000000 {
 					opp-hz = /bits/ 64 <533000000>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_nom>,

arch/arm64/boot/dts/qcom/lemans.dtsi opp-366000000 { · line 4643

Quoted 10 lines
arch/arm64/boot/dts/qcom/lemans.dtsi +1 -1
 							<&rpmhpd_opp_turbo>;
 				};
 
 				opp-560000000 {
 					opp-hz = /bits/ 64 <560000000>;
-					required-opps = <&rpmhpd_opp_turbo_l1>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo_l1>;
 				};
 			};

Thanks,
Dikshita

#5 lore raw

PATCH 3/6 arm64: dts: qcom: monaco: correct Iris corners for the MXC rail

In reply to Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes bf6ec39c3f36 ("arm64: dts: qcom: qcs8300: add video node")
---
 arch/arm64/boot/dts/qcom/monaco.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/monaco.dtsi +3 -3
index f92fdb1cefa0..e175e2967b91 100644
@@ -5305,19 +5305,19 @@ opp-366000000 {
 
 				opp-444000000 {
 					opp-hz = /bits/ 64 <444000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533000000 {
 					opp-hz = /bits/ 64 <533000000>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo>;
 				};
 
 				opp-560000000 {
 					opp-hz = /bits/ 64 <560000000>;
-					required-opps = <&rpmhpd_opp_turbo_l1>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo_l1>;
 				};
 			};
Signature · 1 line
2.47.3
#6 lore raw

PATCH 4/6 arm64: dts: qcom: sm8550: correct Iris corners for the MXC rail

In reply to Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 41661853ae8e ("arm64: dts: qcom: sm8550: add iris DT node")
---
 arch/arm64/boot/dts/qcom/sm8550.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sm8550.dtsi +3 -3
index e3f93f4f412d..6a338c522ee9 100644
@@ -3320,19 +3320,19 @@ opp-338000000 {
 
 				opp-366000000 {
 					opp-hz = /bits/ 64 <366000000>;
-					required-opps = <&rpmhpd_opp_svs_l1>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_svs_l1>;
 				};
 
 				opp-444000000 {
 					opp-hz = /bits/ 64 <444000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};
Signature · 1 line
2.47.3
Reviewed-by on v1 4/6
#7 lore raw

Re: [PATCH 4/6] arm64: dts: qcom: sm8550: correct Iris corners for the MXC rail

Quoted 28 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 41661853ae8e ("arm64: dts: qcom: sm8550: add iris DT node")
---
 arch/arm64/boot/dts/qcom/sm8550.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sm8550.dtsi +2 -2
index e3f93f4f412d..6a338c522ee9 100644
@@ -3320,19 +3320,19 @@ opp-338000000 {
 
 				opp-366000000 {
 					opp-hz = /bits/ 64 <366000000>;
-					required-opps = <&rpmhpd_opp_svs_l1>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_svs_l1>;
 				};
 
 				opp-444000000 {
 					opp-hz = /bits/ 64 <444000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,

arch/arm64/boot/dts/qcom/sm8550.dtsi opp-338000000 { · line 3338

Quoted 10 lines
arch/arm64/boot/dts/qcom/sm8550.dtsi +1 -1
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};

Thanks,
Dikshita

Reviewed-by on v1 4/6
#8 lore raw

Re: [PATCH 4/6] arm64: dts: qcom: sm8550: correct Iris corners for the MXC rail

In reply to Dmitry Baryshkov
Quoted 28 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 41661853ae8e ("arm64: dts: qcom: sm8550: add iris DT node")
---
 arch/arm64/boot/dts/qcom/sm8550.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sm8550.dtsi +2 -2
index e3f93f4f412d..6a338c522ee9 100644
@@ -3320,19 +3320,19 @@ opp-338000000 {
 
 				opp-366000000 {
 					opp-hz = /bits/ 64 <366000000>;
-					required-opps = <&rpmhpd_opp_svs_l1>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_svs_l1>;
 				};
 
 				opp-444000000 {
 					opp-hz = /bits/ 64 <444000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,

arch/arm64/boot/dts/qcom/sm8550.dtsi opp-338000000 { · line 3338

Quoted 10 lines
arch/arm64/boot/dts/qcom/sm8550.dtsi +1 -1
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};

Thanks,
Dikshita

#9 lore raw

PATCH 5/6 arm64: dts: qcom: sm8650: correct Iris corners for the MXC rail

In reply to Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 56cf5ad39a55 ("arm64: dts: qcom: sm8650: add iris DT node")
---
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/sm8650.dtsi +4 -4
index 357e43b90740..9437360ea215 100644
@@ -5236,13 +5236,13 @@ opp-196000000 {
 
 				opp-300000000 {
 					opp-hz = /bits/ 64 <300000000>;
-					required-opps = <&rpmhpd_opp_low_svs>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_low_svs>;
 				};
 
 				opp-380000000 {
 					opp-hz = /bits/ 64 <380000000>;
-					required-opps = <&rpmhpd_opp_svs>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_svs>;
 				};
 
@@ -5254,13 +5254,13 @@ opp-435000000 {
 
 				opp-480000000 {
 					opp-hz = /bits/ 64 <480000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};
Signature · 1 line
2.47.3
Reviewed-by on v1 5/6
#10 lore raw

Re: [PATCH 5/6] arm64: dts: qcom: sm8650: correct Iris corners for the MXC rail

Quoted 15 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 56cf5ad39a55 ("arm64: dts: qcom: sm8650: add iris DT node")
---
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/sm8650.dtsi +0 -0
index 357e43b90740..9437360ea215 100644

arch/arm64/boot/dts/qcom/sm8650.dtsi opp-196000000 { · line 5238

Quoted 3 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +0 -0
@@ -5236,13 +5236,13 @@ opp-196000000 {
 
 				opp-300000000 {
 					opp-hz = /bits/ 64 <300000000>;

I see in the document that this level value should be 280000000, could you pls check and update accordingly.

Quoted 19 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +3 -3
-					required-opps = <&rpmhpd_opp_low_svs>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_low_svs>;
 				};
 
 				opp-380000000 {
 					opp-hz = /bits/ 64 <380000000>;
-					required-opps = <&rpmhpd_opp_svs>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_svs>;
 				};
 
@@ -5254,13 +5254,13 @@ opp-435000000 {
 
 				opp-480000000 {
 					opp-hz = /bits/ 64 <480000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,

arch/arm64/boot/dts/qcom/sm8650.dtsi opp-435000000 { · line 5266

Quoted 10 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +1 -1
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};

with above comment addressed.

Thanks,
Dikshita

#11 lore raw

Re: [PATCH 5/6] arm64: dts: qcom: sm8650: correct Iris corners for the MXC rail

Quoted 19 lines · Dikshita Agarwal
Quoted 16 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 56cf5ad39a55 ("arm64: dts: qcom: sm8650: add iris DT node")
---
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/sm8650.dtsi +0 -0
index 357e43b90740..9437360ea215 100644
@@ -5236,13 +5236,13 @@ opp-196000000 {
 
Quoted 5 lines

arch/arm64/boot/dts/qcom/sm8650.dtsi opp-196000000 { · line 5238

Quoted 2 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +0 -0
 				opp-300000000 {
 					opp-hz = /bits/ 64 <300000000>;

I see in the document that this level value should be 280000000, could you pls check and update accordingly.

I cross-checked, the table for SM8650 lists 300 MHz here.

Quoted 37 lines
Quoted 20 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +3 -3
-					required-opps = <&rpmhpd_opp_low_svs>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_low_svs>;
 				};
 
 				opp-380000000 {
 					opp-hz = /bits/ 64 <380000000>;
-					required-opps = <&rpmhpd_opp_svs>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_svs>;
 				};
 
@@ -5254,13 +5254,13 @@ opp-435000000 {
 
 				opp-480000000 {
 					opp-hz = /bits/ 64 <480000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,

arch/arm64/boot/dts/qcom/sm8650.dtsi opp-435000000 { · line 5266

Quoted 10 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +1 -1
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};

with above comment addressed.

Thanks,
Dikshita

Signature · 2 lines
With best wishes
Dmitry
#12 lore raw

Re: [PATCH 5/6] arm64: dts: qcom: sm8650: correct Iris corners for the MXC rail

Quoted 20 lines · Dmitry Baryshkov
Quoted 19 lines · Dikshita Agarwal
Quoted 16 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes 56cf5ad39a55 ("arm64: dts: qcom: sm8650: add iris DT node")
---
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/sm8650.dtsi +0 -0
index 357e43b90740..9437360ea215 100644
@@ -5236,13 +5236,13 @@ opp-196000000 {
 
Quoted 7 lines
Quoted 5 lines

arch/arm64/boot/dts/qcom/sm8650.dtsi opp-196000000 { · line 5238

Quoted 2 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +0 -0
 				opp-300000000 {
 					opp-hz = /bits/ 64 <300000000>;

I see in the document that this level value should be 280000000, could you pls check and update accordingly.

I cross-checked, the table for SM8650 lists 300 MHz here.

Ack.

Thanks,
Dikshita

Quoted 39 lines
Quoted 38 lines
Quoted 21 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +3 -3
-					required-opps = <&rpmhpd_opp_low_svs>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_low_svs>;
 				};
 
 				opp-380000000 {
 					opp-hz = /bits/ 64 <380000000>;
-					required-opps = <&rpmhpd_opp_svs>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_svs>;
 				};
 
@@ -5254,13 +5254,13 @@ opp-435000000 {
 
 				opp-480000000 {
 					opp-hz = /bits/ 64 <480000000>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,

arch/arm64/boot/dts/qcom/sm8650.dtsi opp-435000000 { · line 5266

Quoted 10 lines
arch/arm64/boot/dts/qcom/sm8650.dtsi +1 -1
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};

with above comment addressed.

Thanks,
Dikshita

#13 lore raw

PATCH 6/6 arm64: dts: qcom: sm8750: correct Iris corners for the MXC rail

In reply to Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes c0d11ff90475 ("arm64: dts: qcom: sm8750: Add Iris VPU v3.5")
---
 arch/arm64/boot/dts/qcom/sm8750.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/qcom/sm8750.dtsi +6 -6
index f56b1f889b85..f34f112d3aa3 100644
@@ -2945,19 +2945,19 @@ iris_opp_table: opp-table {
 
 				opp-240000000 {
 					opp-hz = /bits/ 64 <240000000>;
-					required-opps = <&rpmhpd_opp_low_svs_d1>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_low_svs_d1>;
 				};
 
 				opp-338000000 {
 					opp-hz = /bits/ 64 <338000000>;
-					required-opps = <&rpmhpd_opp_low_svs>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_low_svs>;
 				};
 
 				opp-420000000 {
 					opp-hz = /bits/ 64 <420000000>;
-					required-opps = <&rpmhpd_opp_svs>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_svs>;
 				};
 
@@ -2969,19 +2969,19 @@ opp-444000000 {
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-570000000 {
 					opp-hz = /bits/ 64 <570000000>;
-					required-opps = <&rpmhpd_opp_nom_l1>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_nom_l1>;
 				};
 
 				opp-630000000 {
 					opp-hz = /bits/ 64 <630000000>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};
Signature · 1 line
2.47.3
Reviewed-by on v1 6/6
#14 lore raw

Re: [PATCH 6/6] arm64: dts: qcom: sm8750: correct Iris corners for the MXC rail

Quoted 51 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. Correct the performance corners for the MXC rail following the PLL documentation.

Fixes c0d11ff90475 ("arm64: dts: qcom: sm8750: Add Iris VPU v3.5")
---
 arch/arm64/boot/dts/qcom/sm8750.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/qcom/sm8750.dtsi +5 -5
index f56b1f889b85..f34f112d3aa3 100644
@@ -2945,19 +2945,19 @@ iris_opp_table: opp-table {
 
 				opp-240000000 {
 					opp-hz = /bits/ 64 <240000000>;
-					required-opps = <&rpmhpd_opp_low_svs_d1>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_low_svs_d1>;
 				};
 
 				opp-338000000 {
 					opp-hz = /bits/ 64 <338000000>;
-					required-opps = <&rpmhpd_opp_low_svs>,
+					required-opps = <&rpmhpd_opp_svs>,
 							<&rpmhpd_opp_low_svs>;
 				};
 
 				opp-420000000 {
 					opp-hz = /bits/ 64 <420000000>;
-					required-opps = <&rpmhpd_opp_svs>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_svs>;
 				};
 
@@ -2969,19 +2969,19 @@ opp-444000000 {
 
 				opp-533333334 {
 					opp-hz = /bits/ 64 <533333334>;
-					required-opps = <&rpmhpd_opp_nom>,
+					required-opps = <&rpmhpd_opp_svs_l1>,
 							<&rpmhpd_opp_nom>;
 				};
 
 				opp-570000000 {
 					opp-hz = /bits/ 64 <570000000>;
-					required-opps = <&rpmhpd_opp_nom_l1>,
+					required-opps = <&rpmhpd_opp_nom>,

arch/arm64/boot/dts/qcom/sm8750.dtsi opp-444000000 { · line 2987

Quoted 10 lines
arch/arm64/boot/dts/qcom/sm8750.dtsi +1 -1
 							<&rpmhpd_opp_nom_l1>;
 				};
 
 				opp-630000000 {
 					opp-hz = /bits/ 64 <630000000>;
-					required-opps = <&rpmhpd_opp_turbo>,
+					required-opps = <&rpmhpd_opp_nom>,
 							<&rpmhpd_opp_turbo>;
 				};
 			};

Thanks,
Dikshita

maintainer Applied
#15 lore raw
In reply to Dmitry Baryshkov
Quoted 8 lines · Dmitry Baryshkov

The corners of the MVS0 / MVS0C clocks on the MMCX rail don't always match the PLL corners on the MXC rail. The slightly misleading documentation for the video clock controllers doesn't help with this subject. Correct the performance corners for the MXC rail following the PLL documentation.

[...]

Applied, thanks!

[1/6] arm64: dts: qcom: hamoa: correct Iris corners for the MXC rail

      commit: c8e354964507d97cef405b2633790f99bb6a5020
[2/6] arm64: dts: qcom: lemans: correct Iris corners for the MXC rail
      commit: a98ebb7e62a93a8d75de705e866d0398bb80afcf
[3/6] arm64: dts: qcom: monaco: correct Iris corners for the MXC rail
      commit: 509be41a761f018db2669ccec22fbdf7bca1ed03
[4/6] arm64: dts: qcom: sm8550: correct Iris corners for the MXC rail
      commit: e973ef6fa0f7ed10dd3efefdba1a41d011e463cb
[5/6] arm64: dts: qcom: sm8650: correct Iris corners for the MXC rail
      commit: c87d630e1b02cd0118373c4344be4895cf2def33
[6/6] arm64: dts: qcom: sm8750: correct Iris corners for the MXC rail
      commit: 3d51fdb6d08c867c1a067457a5c5766a6f6fe9b9

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>