[PATCH linux dev-4.10] ARM: dts: aspeed: Use new occ-hwmon driver for P8 systems

Lei YU mine260309 at gmail.com
Fri Oct 27 16:26:02 AEDT 2017


Use the new occ-hwmon driver and compatible name for
Barreleye and Garrison.

Signed-off-by: Lei YU <mine260309 at gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts |  8 ++++----
 arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts  | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
index d37d0ea..6e70ca5 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
@@ -124,13 +124,13 @@
 &i2c3 {
 	status = "okay";
 
-	occ at 50 {
-		compatible = "ibm,occ-i2c";
+	occ-hwmon at 50 {
+		compatible = "ibm,p8-occ-hwmon";
 		reg = <0x50>;
 	};
 
-	occ at 51 {
-		compatible = "ibm,occ-i2c";
+	occ-hwmon at 51 {
+		compatible = "ibm,p8-occ-hwmon";
 		reg = <0x51>;
 	};
 };
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts b/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
index 6b96e36..95552c8 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
@@ -156,8 +156,8 @@
 &i2c4 {
 	status = "okay";
 
-	occ at 50 {
-		compatible = "ibm,occ-i2c";
+	occ-hwmon at 50 {
+		compatible = "ibm,p8-occ-hwmon";
 		reg = <0x50>;
 	};
 };
@@ -165,9 +165,9 @@
 &i2c5 {
 	status = "okay";
 
-	occ at 50 {
-		compatible = "ibm,occ-i2c";
-		reg = <0x50>;
+	occ-hwmon at 51 {
+		compatible = "ibm,p8-occ-hwmon";
+		reg = <0x51>;
 	};
 };
 
-- 
1.9.1



More information about the openbmc mailing list