[Pdbg] [PATCH v5 07/19] dts: Backend device trees must use specific driver

Amitay Isaacs amitay at ozlabs.org
Thu Apr 30 12:34:28 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>
Reviewed-by: Alistair Popple <alistair at popple.id.au>
---
 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 70fdb14..8d10966 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 3ea4b59..a7a18a2 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 3bbe43d..ab3c2e1 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.4



More information about the Pdbg mailing list