Skip to contentSkip to conversation

ARM: dts: aspeed: Yosemite V2: Enable OCP debug card

PATCH Superseded Karthikeyan Pasupathi 2 participants 3 messages Sep 26, 2022 – Sep 27, 2022

Subsystems (2)

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/1 ARM: dts: aspeed: Yosemite V2: Enable OCP debug card

Added IPMB-13 channel for Debug Card communication. which improves the readability of the machine and makes it easier to debug the server and it will display some pieces of information about the server like "system info", "Critical sensors" and "critical sel".

---
--- v5- Updated commit message
--- v4- Resolved syntax error
--- v3- Updated the title and commit
--- v2- Updated the title
--- v1- Initial draft
---

---
 arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts +11 -0
index 8864e9c312a8..84236df522dc 100644
@@ -215,6 +215,17 @@
 	};
 };
 
+&i2c13 {
+	status = "okay";
+	// Debug Card
+	multi-master;
+	ipmb13 at 10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
+};
+
 &pwm_tacho {
 	status = "okay";
 	//FSC
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Karthikeyan Pasupathi

Added IPMB-13 channel for Debug Card communication. which improves the readability of the machine and makes it easier to debug the server and it will display some pieces of information about the server like "system info", "Critical sensors" and "critical sel".

Quoted 8 lines

---
--- v5- Updated commit message
--- v4- Resolved syntax error
--- v3- Updated the title and commit
--- v2- Updated the title
--- v1- Initial draft
---

Note that git treats a '---' line as a separator, so everything past the first one above will be discarded when this patch is applied (e.g. via 'git am')...

Quoted 1 line

...including your S-O-B line here.

If you're aiming to do something like what Joel describes on his blog
(https://shenki.github.io/git-patch-workflow/), you should make sure put your first '---' line and any non-commit-message notes *after* your S-O-B and any other tags.

Quoted 29 lines

---
arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts | 11 +++++++++++

1 file changed, 11 insertions(+)
arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts +11 -0
index 8864e9c312a8..84236df522dc 100644
@@ -215,6 +215,17 @@
 	};
 };
 
+&i2c13 {
+	status = "okay";
+	// Debug Card
+	multi-master;
+	ipmb13 at 10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
+};
+
 &pwm_tacho {
 	status = "okay";
 	//FSC
Signature · 1 line
2.17.1
#2 lore raw

PATCH v5 1/1 ARM: dts: aspeed: Yosemite V2: Enable OCP debug card

Thanks!

Quoted 51 lines · Zev Weiss
Quoted 6 lines · Karthikeyan Pasupathi

Added IPMB-13 channel for Debug Card communication. which improves the readability of the machine and makes it easier to debug the server and it will display some pieces of information about the server like "system info", "Critical sensors" and "critical sel".

Quoted 8 lines

---
--- v5- Updated commit message
--- v4- Resolved syntax error
--- v3- Updated the title and commit
--- v2- Updated the title
--- v1- Initial draft
---

Note that git treats a '---' line as a separator, so everything past the first one above will be discarded when this patch is applied (e.g. via 'git am')...

Quoted 1 line

...including your S-O-B line here.

If you're aiming to do something like what Joel describes on his blog
(https://shenki.github.io/git-patch-workflow/), you should make sure put your first '---' line and any non-commit-message notes *after* your S-O-B and any other tags.

Review

Quoted 5 lines

---
arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts | 11 +++++++++++

1 file changed, 11 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts

Quoted 16 lines

index 8864e9c312a8..84236df522dc 100644

arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts +9 -0
@@ -215,6 +215,17 @@
      };
 };
 
+&i2c13 {
+      status = "okay";
+      // Debug Card
+      multi-master;
+      ipmb13 at 10 {
+              compatible = "ipmb-dev";
+              reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+              i2c-protocol;
+      };
Quoted 8 lines
Quoted 8 lines
arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts +2 -1
+};
+
 &pwm_tacho {
      status = "okay";
      //FSC
--

2.17.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20220927/fc365c39/attachment.htm>