Skip to contentSkip to conversation

ARM: dts: aspeed: Add FSI devices for Zaius

PATCH Applied Eddie James 4 participants 5 messages Jul 12, 2017 – Jul 19, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: Add FSI devices for Zaius

From: "Edward A. James" <[email protected]>

Missing label, properties, and include file.

---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +5 -3
index c620015..750ec12 100644
@@ -71,10 +71,10 @@
 		};
 	};
 
-	gpio-fsi {
+	fsi: gpio-fsi {
 		compatible = "fsi-master-gpio", "fsi-master";
-
-		status = "okay";
+		#address-cells = <2>;
+		#size-cells = <0>;
 
 		/*
 		 * These 2 GPIOs are set per board revision in aspeed.c.
@@ -96,6 +96,8 @@
 	};
 };
 
+#include "ibm-power9-cfam.dtsi"
+
 &fmc {
 	status = "okay";
 	flash@0 {
Signature · 1 line
1.8.3.1
maintainer
#1 lore raw
Quoted 5 lines · Eddie James

From: "Edward A. James" <[email protected]>

Missing label, properties, and include file.

Hey Xo, can I get an ack on this?

Cheers,

Joel

Quoted 34 lines
---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +5 -4
index c620015..750ec12 100644
@@ -71,10 +71,10 @@
                };
        };
 
-       gpio-fsi {
+       fsi: gpio-fsi {
                compatible = "fsi-master-gpio", "fsi-master";
-
-               status = "okay";
+               #address-cells = <2>;
+               #size-cells = <0>;
 
                /*
                 * These 2 GPIOs are set per board revision in aspeed.c.
@@ -96,6 +96,8 @@
        };
 };
 
+#include "ibm-power9-cfam.dtsi"
+
 &fmc {
        status = "okay";
        flash@0 {
--

1.8.3.1

Tested-by
#2 lore raw
Quoted 39 lines · Joel Stanley
Quoted 5 lines · Eddie James

From: "Edward A. James" <[email protected]>

Missing label, properties, and include file.

Hey Xo, can I get an ack on this?

Cheers,

Joel

Quoted 26 lines
---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +3 -3
index c620015..750ec12 100644
@@ -71,10 +71,10 @@
                };
        };
 
-       gpio-fsi {
+       fsi: gpio-fsi {
                compatible = "fsi-master-gpio", "fsi-master";
-
-               status = "okay";
+               #address-cells = <2>;
+               #size-cells = <0>;
 
                /*
                 * These 2 GPIOs are set per board revision in aspeed.c.
@@ -96,6 +96,8 @@
        };
 };
 
Quoted 8 lines
Quoted 8 lines
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +2 -1
+#include "ibm-power9-cfam.dtsi"
+
 &fmc {
        status = "okay";
        flash@0 {
--

1.8.3.1

Verified that this with https://gerrit.openbmc-project.xyz/#/c/5258/
allowed me to get the occ thermal sensors via phosphor-hwmon.

Acked-by
#3 lore raw
In reply to Joel Stanley
Quoted 5 lines · Joel Stanley
Quoted 4 lines · Eddie James

From: "Edward A. James" <[email protected]>

Missing label, properties, and include file.

Quoted 8 lines
Quoted 1 line

Hey Xo, can I get an ack on this?

Cheers,

Joel

Ah, missed this.

Thanks.

Quoted 34 lines
Quoted 34 lines
---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +5 -4
index c620015..750ec12 100644
@@ -71,10 +71,10 @@
                };
        };
 
-       gpio-fsi {
+       fsi: gpio-fsi {
                compatible = "fsi-master-gpio", "fsi-master";
-
-               status = "okay";
+               #address-cells = <2>;
+               #size-cells = <0>;
 
                /*
                 * These 2 GPIOs are set per board revision in aspeed.c.
@@ -96,6 +96,8 @@
        };
 };
 
+#include "ibm-power9-cfam.dtsi"
+
 &fmc {
        status = "okay";
        flash@0 {
--

1.8.3.1