devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Update Facebook Bletchley BMC devicetree
@ 2022-08-10  0:43 Potin Lai
  2022-08-10  0:43 ` [PATCH 1/2] ARM: dts: aspeed: bletchley: add USB debug card IPMB node Potin Lai
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Potin Lai @ 2022-08-10  0:43 UTC (permalink / raw)
  To: Rob Herring, Joel Stanley, Andrew Jeffery
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	Patrick Williams, Potin Lai

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: aspeed: bletchley: add USB debug card IPMB node
  2022-08-10  0:43 [PATCH 0/2] Update Facebook Bletchley BMC devicetree Potin Lai
@ 2022-08-10  0:43 ` Potin Lai
  2022-08-10  0:43 ` [PATCH 2/2] ARM: dts: aspeed: bletchley: remove hdc1080 node Potin Lai
  2022-08-10 12:06 ` [PATCH 0/2] Update Facebook Bletchley BMC devicetree Patrick Williams
  2 siblings, 0 replies; 4+ messages in thread
From: Potin Lai @ 2022-08-10  0:43 UTC (permalink / raw)
  To: Rob Herring, Joel Stanley, Andrew Jeffery
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	Patrick Williams, Potin Lai

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

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
index 9fdb3d17596b9..54c9f182f6a5c 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
@@ -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 {
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: aspeed: bletchley: remove hdc1080 node
  2022-08-10  0:43 [PATCH 0/2] Update Facebook Bletchley BMC devicetree Potin Lai
  2022-08-10  0:43 ` [PATCH 1/2] ARM: dts: aspeed: bletchley: add USB debug card IPMB node Potin Lai
@ 2022-08-10  0:43 ` Potin Lai
  2022-08-10 12:06 ` [PATCH 0/2] Update Facebook Bletchley BMC devicetree Patrick Williams
  2 siblings, 0 replies; 4+ messages in thread
From: Potin Lai @ 2022-08-10  0:43 UTC (permalink / raw)
  To: Rob Herring, Joel Stanley, Andrew Jeffery
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	Patrick Williams, Potin Lai

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

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
index 54c9f182f6a5c..1f72017c1e2d9 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
@@ -882,11 +882,6 @@ tmp421@4f {
 		reg = <0x4f>;
 	};
 
-	hdc1080@40 {
-		compatible = "ti,hdc1080";
-		reg = <0x40>;
-	};
-
 	front_leds: pca9552@67 {
 		compatible = "nxp,pca9552";
 		reg = <0x67>;
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Update Facebook Bletchley BMC devicetree
  2022-08-10  0:43 [PATCH 0/2] Update Facebook Bletchley BMC devicetree Potin Lai
  2022-08-10  0:43 ` [PATCH 1/2] ARM: dts: aspeed: bletchley: add USB debug card IPMB node Potin Lai
  2022-08-10  0:43 ` [PATCH 2/2] ARM: dts: aspeed: bletchley: remove hdc1080 node Potin Lai
@ 2022-08-10 12:06 ` Patrick Williams
  2 siblings, 0 replies; 4+ messages in thread
From: Patrick Williams @ 2022-08-10 12:06 UTC (permalink / raw)
  To: Potin Lai
  Cc: Rob Herring, Joel Stanley, Andrew Jeffery, devicetree,
	linux-arm-kernel, linux-aspeed, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

On Wed, Aug 10, 2022 at 12:43:36AM +0000, Potin Lai wrote:
> 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
> 

Reviewed-by: Patrick Williams <patrick@stwcx.xyz>

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-10 12:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-10  0:43 [PATCH 0/2] Update Facebook Bletchley BMC devicetree Potin Lai
2022-08-10  0:43 ` [PATCH 1/2] ARM: dts: aspeed: bletchley: add USB debug card IPMB node Potin Lai
2022-08-10  0:43 ` [PATCH 2/2] ARM: dts: aspeed: bletchley: remove hdc1080 node Potin Lai
2022-08-10 12:06 ` [PATCH 0/2] Update Facebook Bletchley BMC devicetree Patrick Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).