Skip to contentSkip to conversation

ARM: dts: aspeed: Enable FSI for P9 systems

PATCH In review Joel Stanley 3 participants 3 messages Feb 24, 2017

Subsystems (2)
lore
Share & tools
lore

Joel Stanley

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: Enable FSI for P9 systems

The kernel driver is now stable enough to boot the host CPUs in P9 machines.

Note that this grabs control of the FSI mux, so to peform external FSI operations eg. to use a Cronus box, the driver must be unbound:

echo 1 > /sys/bus/platform/drivers/fsi-master-gpio/unbind

---
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts     | 2 +-
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 2 +-
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +1 -1
index bef3afa24623..39c0b8f5fb83 100644
@@ -34,7 +34,7 @@
 	fsi-master {
 		compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
 
-		status = "disabled";
+		status = "okay";
 
 		clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
 		data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +1 -1
index 0769507f1126..4d26d4702a34 100644
@@ -50,7 +50,7 @@
 	fsi-master {
 		compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
 
-		status = "disabled";
+		status = "okay";
 
 		clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
 		data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +1 -1
index c2af9ffa89bf..548ef1e939fe 100644
@@ -78,7 +78,7 @@
 	fsi-master {
 		compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
 
-		status = "disabled";
+		status = "okay";
 
 		clock-gpios = <&gpio ASPEED_GPIO(C, 3) GPIO_ACTIVE_HIGH>;
 		data-gpios = <&gpio ASPEED_GPIO(C, 2) GPIO_ACTIVE_HIGH>;
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 57 lines · Joel Stanley

The kernel driver is now stable enough to boot the host CPUs in P9 machines.

Note that this grabs control of the FSI mux, so to peform external FSI operations eg. to use a Cronus box, the driver must be unbound:

echo 1 > /sys/bus/platform/drivers/fsi-master-gpio/unbind

---
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts     | 2 +-
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 2 +-
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +1 -1
index bef3afa24623..39c0b8f5fb83 100644
@@ -34,7 +34,7 @@
        fsi-master {
                compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
 
-               status = "disabled";
+               status = "okay";
 
                clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
                data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +1 -1
index 0769507f1126..4d26d4702a34 100644
@@ -50,7 +50,7 @@
        fsi-master {
                compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
 
-               status = "disabled";
+               status = "okay";
 
                clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
                data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +1 -2
index c2af9ffa89bf..548ef1e939fe 100644
@@ -78,7 +78,7 @@
        fsi-master {
                compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
 
-               status = "disabled";
+               status = "okay";
 
                clock-gpios = <&gpio ASPEED_GPIO(C, 3) GPIO_ACTIVE_HIGH>;
                data-gpios = <&gpio ASPEED_GPIO(C, 2) GPIO_ACTIVE_HIGH>;
--

2.11.0

Acked-by on v1 1/1
#2 lore raw
In reply to Joel Stanley
Quoted 9 lines · Joel Stanley

The kernel driver is now stable enough to boot the host CPUs in P9 machines.

Note that this grabs control of the FSI mux, so to peform external FSI operations eg. to use a Cronus box, the driver must be unbound:

 echo 1 > /sys/bus/platform/drivers/fsi-master-gpio/unbind

Quoted 45 lines

---
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts     | 2 +- arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts       | 2 +-

 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +0 -0
index bef3afa24623..39c0b8f5fb83 100644
@@ -34,7 +34,7 @@
 >  	fsi-master {
 >  		compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";

Review

Quoted 2 lines
(quoted diff) +1 -1
-		status = "disabled";
+		status = "okay";

Quoted 2 lines

  clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>; data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;

arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +0 -0
index 0769507f1126..4d26d4702a34 100644
@@ -50,7 +50,7 @@
 >  	fsi-master {
 >  		compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";

Review

Quoted 2 lines
(quoted diff) +1 -1
-		status = "disabled";
+		status = "okay";

Quoted 2 lines

  clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>; data-gpios = <&gpio ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>;

arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +0 -0
index c2af9ffa89bf..548ef1e939fe 100644
@@ -78,7 +78,7 @@
 >  	fsi-master {
 >  		compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";

Review

Quoted 2 lines
(quoted diff) +1 -1
-		status = "disabled";
+		status = "okay";

Quoted 2 lines

  clock-gpios = <&gpio ASPEED_GPIO(C, 3) GPIO_ACTIVE_HIGH>; data-gpios = <&gpio ASPEED_GPIO(C, 2) GPIO_ACTIVE_HIGH>;