Skip to contentSkip to conversation

Update for Facebook yosemite V2 BMC.

PATCH In review Karthikeyan Pasupathi 2 participants 3 messages Sep 6, 2022

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

PATCH 1/1 Update for Facebook yosemite V2 BMC.

Added IPMB-13 channel for Debug Card communication.

---
--- 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

Hi Karthikeyan,

I don't have much experience with ipmb-dev, but I'd suggest updating the patch tile so it's consistent with other dts patches. For example:

"ARM: dts: aspeed: yosemitev2: Enable i2c13 controller"

Cheers,

- Tao

Quoted 36 lines · Karthikeyan Pasupathi

Added IPMB-13 channel for Debug Card communication.

---
--- 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
#2 lore raw

PATCH 1/1 Update for Facebook yosemite V2 BMC.

Noted.

Quoted 42 lines · Tao Ren

Hi Karthikeyan,

I don't have much experience with ipmb-dev, but I'd suggest updating the patch tile so it's consistent with other dts patches. For example:

"ARM: dts: aspeed: yosemitev2: Enable i2c13 controller"

Cheers,

- Tao

Quoted 6 lines · Karthikeyan Pasupathi

Added IPMB-13 channel for Debug Card communication.

---
--- 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 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 9 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/20220906/50588086/attachment.htm>