[PATCH linux dev-4.13 01/16] dts: fsi: Make OCC description match expected hierarchy

Andrew Jeffery andrew at aj.id.au
Tue Feb 20 15:18:29 AEDT 2018


ibm,p9-occ-hwmon describes a driver, not hardware, but this compatible is
what's required to get the driver to probe.

While we discuss how to resolve that problem, lets at least make the current
configuration work.

Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 arch/arm/boot/dts/ibm-power9-cfam.dtsi | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/ibm-power9-cfam.dtsi b/arch/arm/boot/dts/ibm-power9-cfam.dtsi
index e0e738f9e539..215cc8182ca5 100644
--- a/arch/arm/boot/dts/ibm-power9-cfam.dtsi
+++ b/arch/arm/boot/dts/ibm-power9-cfam.dtsi
@@ -113,8 +113,12 @@
 			#size-cells = <0>;
 
 			occ at 1 {
-				compatible = "ibm,p9-occ-hwmon";
+				compatible = "ibm,p9-occ";
 				reg = <1>;
+
+				occ-hwmon at 1 {
+					compatible = "ibm,p9-occ-hwmon";
+				};
 			};
 		};
 
@@ -205,8 +209,12 @@
 					#size-cells = <0>;
 
 					occ at 2 {
-						compatible = "ibm,p9-occ-hwmon";
+						compatible = "ibm,p9-occ";
 						reg = <2>;
+
+						occ-hwmon at 2 {
+							compatible = "ibm,p9-occ-hwmon";
+						};
 					};
 				};
 			};
-- 
2.14.1



More information about the openbmc mailing list