Skip to contentSkip to conversation

ARM: dts: aspeed: firstone: Fix occ and i2c

PATCH Applied Lei YU 3 participants 3 messages Oct 12, 2017 – Oct 13, 2017

Subsystems (2)
lore
Share & tools
lore

Lei YU

author
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: firstone: Fix occ and i2c

1. Use updated p8 occ driver;
2. Enable i2c buses that are used.

---
 arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +10 -5
index d52b528..93ad3ea 100644
@@ -117,6 +117,7 @@
 
 &i2c2 {
 	// i2c mux
+	status = "okay";
 };
 
 &i2c3 {
@@ -217,8 +218,8 @@
 	status = "okay";
 
 	// turismo
-	occ@50 {
-		compatible = "ibm,occ-i2c";
+	occ-hwmon@50 {
+		compatible = "ibm,p8-occ-hwmon";
 		reg = <0x50>;
 	};
 
@@ -232,9 +233,9 @@
 	status = "okay";
 
 	// turismo
-	occ@50 {
-		compatible = "ibm,occ-i2c";
-		reg = <0x50>;
+	occ-hwmon@51 {
+		compatible = "ibm,p8-occ-hwmon";
+		reg = <0x51>;
 	};
 
 	tmp423@4c {
@@ -260,10 +261,12 @@
 
 &i2c9 {
 	// 4 way mux
+	status = "okay";
 };
 
 &i2c10 {
 	// 4 way mux
+	status = "okay";
 };
 
 &i2c11 {
@@ -304,10 +307,12 @@
 
 &i2c12 {
 	// i2c hub PCA9516A
+	status = "okay";
 };
 
 &i2c13 {
 	// i2c hub PCA9516A
+	status = "okay";
 };
 
 &gpio {
Signature · 1 line
1.9.1
#2 lore raw
In reply to Lei YU
Quoted 4 lines · Lei YU

1. Use updated p8 occ driver;
2. Enable i2c buses that are used.

Applied to dev-4.10 with a typo fix for 'firstone' in the subject

Cheers,

Andrew

Quoted 67 lines

---
 arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts | 15 ++++++++++-----

 1 file changed, 10 insertions(+), 5 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +0 -0
index d52b528..93ad3ea 100644
@@ -117,6 +117,7 @@


 &i2c2 {
  // i2c mux

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +1 -0
+	status = "okay";

 };

 &i2c3 {

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +0 -0
@@ -217,8 +218,8 @@
  	status = "okay";


  // turismo

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +2 -2
-	occ@50 {
-		compatible = "ibm,occ-i2c";
+	occ-hwmon@50 {
+		compatible = "ibm,p8-occ-hwmon";

  reg = <0x50>;
  };

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +0 -0
@@ -232,9 +233,9 @@
  	status = "okay";


  // turismo

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +3 -3
-	occ@50 {
-		compatible = "ibm,occ-i2c";
-		reg = <0x50>;
+	occ-hwmon@51 {
+		compatible = "ibm,p8-occ-hwmon";
+		reg = <0x51>;

  };

  tmp423@4c {

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +0 -0
@@ -260,10 +261,12 @@


 &i2c9 {
  // 4 way mux

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +1 -0
+	status = "okay";

 };

 &i2c10 {
  // 4 way mux

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +1 -0
+	status = "okay";

 };

 &i2c11 {

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +0 -0
@@ -304,10 +307,12 @@


 &i2c12 {
  // i2c hub PCA9516A

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +1 -0
+	status = "okay";

 };

 &i2c13 {
  // i2c hub PCA9516A

arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts +1 -0
+	status = "okay";

 };

 &gpio {