[Pdbg] [PATCH 17/23] dts: Backend device trees must use specific driver

Amitay Isaacs amitay at ozlabs.org
Tue Apr 14 12:47:44 AEST 2020


Specific backend must always use specific drivers for backend specific
devices.  All other devices which appear in system device tree can
potentially match multiple drivers depending on the backend.

Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 p8-fsi.dts.m4    | 6 +++---
 p8-i2c.dts.m4    | 4 ++--
 p8-kernel.dts.m4 | 4 ++--
 p9-fsi.dtsi.m4   | 4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4
index f109e77..a5682a2 100644
--- a/p8-fsi.dts.m4
+++ b/p8-fsi.dts.m4
@@ -26,7 +26,7 @@
 			#address-cells = <0x2>;
 			#size-cells = <0x1>;
 			reg = <0x0 0x1000 0x7>;
-			compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+			compatible = "ibm,fsi-pib";
 			index = <0x0>;
 			system-path = "/proc0/pib";
 		};
@@ -44,7 +44,7 @@
 				#address-cells = <0x2>;
 				#size-cells = <0x1>;
 				reg = <0x0 0x1000 0x7>;
-				compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+				compatible = "ibm,fsi-pib";
 				index = <0x1>;
 				system-path = "/proc1/pib";
 			};
@@ -64,7 +64,7 @@
 				#address-cells = <0x2>;
 				#size-cells = <0x1>;
 				reg = <0x0 0x1000 0x7>;
-				compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+				compatible = "ibm,fsi-pib";
 				index = <0x2>;
 				system-path = "/proc2/pib";
 			};
diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4
index a272d62..255df72 100644
--- a/p8-i2c.dts.m4
+++ b/p8-i2c.dts.m4
@@ -34,7 +34,7 @@
 					#address-cells = <0x2>;
 					#size-cells = <0x1>;
 					reg = <0x0 0x1000 0x7>;
-					compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+					compatible = "ibm,fsi-pib";
 					index = <0x1>;
 					system-path = "/proc1/pib";
 				};
@@ -53,7 +53,7 @@
 					#address-cells = <0x2>;
 					#size-cells = <0x1>;
 					reg = <0x0 0x1000 0x7>;
-					compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+					compatible = "ibm,fsi-pib";
 					index = <0x2>;
 					system-path = "/proc2/pib";
 				};
diff --git a/p8-kernel.dts.m4 b/p8-kernel.dts.m4
index 6eacb92..b00ed54 100644
--- a/p8-kernel.dts.m4
+++ b/p8-kernel.dts.m4
@@ -18,7 +18,7 @@
 			#size-cells = <0x1>;
 			reg = <0x0 0x1000 0x7>;
 			index = <0x0>;
-			compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+			compatible = "ibm,fsi-pib";
 			system-path = "/proc0/pib";
 	       };
 
@@ -35,7 +35,7 @@
 				#address-cells = <0x2>;
 				#size-cells = <0x1>;
 				reg = <0x0 0x1000 0x7>;
-				compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+				compatible = "ibm,fsi-pib";
 				index = <0x1>;
 				system-path = "/proc1/pib";
 		       };
diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4
index 1b74104..a1d6a78 100644
--- a/p9-fsi.dtsi.m4
+++ b/p9-fsi.dtsi.m4
@@ -17,7 +17,7 @@
 			 #size-cells = <0x1>;
 			 reg = <0x0 0x1000 0x7>;
 			 index = <0x0>;
-			 compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib";
+			 compatible = "ibm,fsi-pib";
 			 system-path = "/proc0/pib";
 		};
 
@@ -35,7 +35,7 @@
 				#size-cells = <0x1>;
 				reg = <0x0 0x1000 0x7>;
 				index = <0x1>;
-				compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib";
+				compatible = "ibm,fsi-pib";
 				system-path = "/proc1/pib";
 			};
 		};
-- 
2.25.2



More information about the Pdbg mailing list