Skip to contentSkip to conversation

Update Facebook Bletchley BMC devicetree

PATCH Applied Potin Lai 2 participants 4 messages Aug 18, 2022 – Aug 22, 2022

Subsystems (2)
lore
Share & tools
lore

Potin Lai

author
#0 lore raw

cover Update Facebook Bletchley BMC devicetree

Hi Joel,

Could you help review this patch series and backport to 5.15? Thank you. LORE LINK: https://lore.kernel.org/all/[email protected]/

This patch series add modifications as below
1. add a IPMB node for USB debug card communication.
2. remove hdc1080 node due to incompatible 2nd source (si7021).

Potin Lai (2):
ARM: dts: aspeed: bletchley: add USB debug card IPMB node
ARM: dts: aspeed: bletchley: remove hdc1080 node

 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
Signature · 1 line
2.31.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Potin Lai

Hi Joel,

Could you help review this patch series and backport to 5.15? Thank you. LORE LINK: https://lore.kernel.org/all/[email protected]/

I'd like to move us to a new kernel base soon. I have a 5.19 tree I've been testing. However I've been out a bit recently, so the backlog has built up and I haven't found time to move us up yet.

I've merged these to dev-5.15.

Quoted 15 lines

This patch series add modifications as below
1. add a IPMB node for USB debug card communication.
2. remove hdc1080 node due to incompatible 2nd source (si7021).

Potin Lai (2):
ARM: dts: aspeed: bletchley: add USB debug card IPMB node
ARM: dts: aspeed: bletchley: remove hdc1080 node

 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

--
2.31.1

author
#2 lore raw

PATCH 1/2 ARM: dts: aspeed: bletchley: add USB debug card IPMB node

In reply to Potin Lai

Add an IPMB node for USB debug card (13-0010) to support IPMI comnunication

---
 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +8 -0
index 9fdb3d17596b9..54c9f182f6a5c 100644
@@ -7,6 +7,7 @@
 #include <dt-bindings/usb/pd.h>
 #include <dt-bindings/leds/leds-pca955x.h>
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/i2c/i2c.h>
 
 / {
 	model = "Facebook Bletchley BMC";
@@ -946,6 +947,13 @@ &i2c13 {
 	multi-master;
 	aspeed,hw-timeout-ms = <1000>;
 	status = "okay";
+
+	//USB Debug Connector
+	ipmb13@10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
 };
 
 &gpio0 {
Signature · 1 line
2.31.1
author
#3 lore raw

PATCH 2/2 ARM: dts: aspeed: bletchley: remove hdc1080 node

In reply to Potin Lai

Because of incompatible 2nd source si7021, removing hdc1080 node from devicetree, and move node probe to user-space layer.

---
 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 5 -----
 1 file changed, 5 deletions(-)
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +0 -5
index 54c9f182f6a5c..1f72017c1e2d9 100644
@@ -882,11 +882,6 @@ tmp421@4f {
 		reg = <0x4f>;
 	};
 
-	hdc1080@40 {
-		compatible = "ti,hdc1080";
-		reg = <0x40>;
-	};
-
 	front_leds: pca9552@67 {
 		compatible = "nxp,pca9552";
 		reg = <0x67>;
Signature · 1 line
2.31.1