Skip to contentSkip to conversation

ARM: dts: aspeed: yosemitev2: Enable i2c13 controller

PATCH Superseded Karthikeyan Pasupathi 2 participants 3 messages Sep 7, 2022 – Sep 13, 2022

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

PATCH v2 1/1 ARM: dts: aspeed: yosemitev2: Enable i2c13 controller

Added IPMB-13 channel for Debug Card communication.

---
--- 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 1 line · Karthikeyan Pasupathi

Added IPMB-13 channel for Debug Card communication.

Wouldn't this be better to be the title? 'enable OCP debug card' Might need some reference to what an "OCP debug card" is in the commit message.

Quoted 39 lines

---
--- 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
Signature · 8 lines
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20220912/18ab87d7/attachment.sig>
#2 lore raw

PATCH v2 1/1 ARM: dts: aspeed: yosemitev2: Enable i2c13 controller

Yes, I agree.

Quoted 42 lines · Patrick Williams
Quoted 1 line · Karthikeyan Pasupathi

Added IPMB-13 channel for Debug Card communication.

Wouldn't this be better to be the title? 'enable OCP debug card' Might need some reference to what an "OCP debug card" is in the commit message.

Quoted 9 lines

---
--- v2-Updated the title
---

---
--- v1 - Initial draft.
---

Review

Quoted 6 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 19 lines

index 8864e9c312a8..84236df522dc 100644

arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts +11 -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;
+     };
+};
+
 &pwm_tacho {
Quoted 9 lines
Quoted 5 lines
arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts +0 -1
      status = "okay";
      //FSC
--

2.17.1

--
Patrick Williams

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