Skip to contentSkip to conversation

arm64: dts: imx8mm: imx8mn: imx8mp: imx8mq: Replace opp-xM with opp-x000000

PATCH Applied Marek Vasut 2 participants 2 messages Nov 2, 2022 – Nov 11, 2022

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

PATCH 1/1 arm64: dts: imx8mm: imx8mn: imx8mp: imx8mq: Replace opp-xM with opp-x000000

Fix the following dtbs_check warning on all of i.MX8M variants:
"
opp-table: Unevaluated properties are not allowed ('opp-25M', 'opp-100M', 'opp-750M' were unexpected) "
Using the following command:
"

$ sed -i '/opp-[0-9]\+M/ s@M {@000000 {@' arch/arm64/boot/dts/freescale/imx8m*
"

The Documentation/devicetree/bindings/opp/opp-v2-base.yaml expects the OPP subnode names to be full frequency listings in Hz without unit suffixes. Only the i.MX8M DTs are affected per "git grep 'opp-[0-9]\+M'", so fix them.

---
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: NXP Linux Team <[email protected]>
To: [email protected]

---
 arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi      | 6 +++---
 .../boot/dts/freescale/imx8mm-data-modul-edm-sbc.dts      | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-evk.dts              | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi   | 4 ++--
 arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi      | 4 ++--
 arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi     | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi         | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi   | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts    | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts    | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts    | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7904.dts    | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi          | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi      | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts         | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts    | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi                 | 4 ++--
 arch/arm64/boot/dts/freescale/imx8mq-evk.dts              | 8 ++++----
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi         | 6 +++---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi                 | 6 +++---
 20 files changed, 58 insertions(+), 58 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi +3 -3
index cf07987ccc10b..201325f566cbf 100644
@@ -47,15 +47,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-data-modul-edm-sbc.dts +3 -3
index de28572cb79bc..cd08430126887 100644
@@ -120,15 +120,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-evk.dts +3 -3
index a2b24d4d4e3e7..b68954bcc383c 100644
@@ -23,15 +23,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi +2 -2
index 8d10f5b412978..5172883717d11 100644
@@ -47,11 +47,11 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi +2 -2
index 0679728d24899..1f8326613ee9e 100644
@@ -46,11 +46,11 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-phycore-som.dtsi +3 -3
index 995b44efb1b65..92616bc4f71f5 100644
@@ -53,15 +53,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi +3 -3
index a0bd540f27d3d..ae0721b807e1b 100644
@@ -53,15 +53,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi +3 -3
index c305e325d0073..9e7d388721575 100644
@@ -81,15 +81,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +3 -3
index 826627bd4503b..750a1f07ecb7a 100644
@@ -248,15 +248,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts +3 -3
index 0359dca031c8d..421fd0004eafc 100644
@@ -198,15 +198,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7903.dts +3 -3
index 1ec91c5c6a49a..8ce562246a08e 100644
@@ -207,15 +207,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7904.dts +3 -3
index 93c9651c315de..eceed9816f5dc 100644
@@ -266,15 +266,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +3 -3
index 7bc51249a5020..0d454e0e2f7c8 100644
@@ -183,15 +183,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi +3 -3
index 1133cded9be2f..8a4369d389034 100644
@@ -55,15 +55,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-800M {
+		opp-800000000 {
 			opp-hz = /bits/ 64 <800000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +3 -3
index d8ce217c60166..5110d59b719f6 100644
@@ -35,15 +35,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-600M {
+		opp-600000000 {
 			opp-hz = /bits/ 64 <600000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts +3 -3
index 187e0410b87d5..eea38c40750b9 100644
@@ -189,15 +189,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-750M {
+		opp-750000000 {
 			opp-hz = /bits/ 64 <750000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mp.dtsi +2 -2
index 7be02cd100cfc..d7039d9fe61ad 100644
@@ -1072,11 +1072,11 @@ noc: interconnect@32700000 {
 			noc_opp_table: opp-table {
 				compatible = "operating-points-v2";
 
-				opp-200M {
+				opp-200000000 {
 					opp-hz = /bits/ 64 <200000000>;
 				};
 
-				opp-1000M {
+				opp-1000000000 {
 					opp-hz = /bits/ 64 <1000000000>;
 				};
 			};
arch/arm64/boot/dts/freescale/imx8mq-evk.dts +4 -4
index 82387b9cb8000..2102e9b57697c 100644
@@ -163,22 +163,22 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
 		/*
 		 * On imx8mq B0 PLL can't be bypassed so low bus is 166M
 		 */
-		opp-166M {
+		opp-166000000 {
 			opp-hz = /bits/ 64 <166935483>;
 		};
 
-		opp-800M {
+		opp-800000000 {
 			opp-hz = /bits/ 64 <800000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +3 -3
index ae08556b2ef2f..ddf0e330dc7c4 100644
@@ -311,15 +311,15 @@ &ddrc {
 	ddrc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
-		opp-25M {
+		opp-25000000 {
 			opp-hz = /bits/ 64 <25000000>;
 		};
 
-		opp-100M {
+		opp-100000000 {
 			opp-hz = /bits/ 64 <100000000>;
 		};
 
-		opp-800M {
+		opp-800000000 {
 			opp-hz = /bits/ 64 <800000000>;
 		};
 	};
arch/arm64/boot/dts/freescale/imx8mq.dtsi +3 -3
index b14dbf2ffb9a7..c6530e5c7fef5 100644
@@ -1357,15 +1357,15 @@ noc: interconnect@32700000 {
 			noc_opp_table: opp-table {
 				compatible = "operating-points-v2";
 
-				opp-133M {
+				opp-133000000 {
 					opp-hz = /bits/ 64 <133333333>;
 				};
 
-				opp-400M {
+				opp-400000000 {
 					opp-hz = /bits/ 64 <400000000>;
 				};
 
-				opp-800M {
+				opp-800000000 {
 					opp-hz = /bits/ 64 <800000000>;
 				};
 			};
Signature · 7 lines
2.35.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#1 lore raw
Quoted 6 lines · Marek Vasut

Fix the following dtbs_check warning on all of i.MX8M variants:
"
opp-table: Unevaluated properties are not allowed ('opp-25M', 'opp-100M', 'opp-750M' were unexpected) "
Using the following command:
"

Quoted 8 lines
$ sed -i '/opp-[0-9]\+M/ s@M {@000000 {@' arch/arm64/boot/dts/freescale/imx8m*
"

The Documentation/devicetree/bindings/opp/opp-v2-base.yaml expects the OPP subnode names to be full frequency listings in Hz without unit suffixes. Only the i.MX8M DTs are affected per "git grep 'opp-[0-9]\+M'", so fix them.

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel