Skip to contentSkip to conversation

Add Meta(Facebook) Ventura BMC(AST2600)

PATCH Superseded Jason Hsu 3 participants 6 messages Nov 26, 2024

Subsystems (2)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Jason Hsu

author
#0 lore raw

v4 cover Add Meta(Facebook) Ventura BMC(AST2600)

Add Linux device tree entry related to Meta(Facebook) Ventura specific devices connected to BMC(AST2600) SoC.

---
v1:
1. Create ventura dts file.
2. Add commit msg.
3. Use format-patch to generate patch.
4. Add subject prefixes matching the subsystem.
---
v2:
---
1. Modify email content.
v3:
---
1. Add mail list.
v4:
1. Apply git send-email --thread option.
2. Sort nodes in the dts alphanumerically.
---
Jason Hsu (1):
ARM: dts: aspeed: ventura: add Meta Ventura BMC

Jason-Hsu (1):
dt-bindings: arm: aspeed: add Meta Ventura board

 .../bindings/arm/aspeed/aspeed.yaml           |   1 +
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed/aspeed-bmc-facebook-ventura.dts    | 883 ++++++++++++++++++
 3 files changed, 885 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v4 1/2 dt-bindings: arm: aspeed: add Meta Ventura board

From: Jason-Hsu <[email protected]>

Document the new compatibles used on Meta Ventura. Add subject prefix for the patch.

---
 Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
index 2f92b8ab08fa..98ea2b3e0eb1 100644
@@ -86,6 +86,7 @@ properties:
               - facebook,greatlakes-bmc
               - facebook,harma-bmc
               - facebook,minerva-cmc
+              - facebook,ventura-rmc
               - facebook,yosemite4-bmc
               - ibm,blueridge-bmc
               - ibm,everest-bmc
Signature · 1 line
2.34.1
#2 lore raw

Re: [PATCH v4 1/2] dt-bindings: arm: aspeed: add Meta Ventura board

Quoted 6 lines · Jason Hsu

From: Jason-Hsu <[email protected]>

Document the new compatibles used on Meta Ventura. Add subject prefix for the patch.

<form letter>
This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.

https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577

If a tag was not added on purpose, please state why and what changed. </form letter>

Best regards,
Krzysztof

author
#3 lore raw

PATCH v4 2/2 ARM: dts: aspeed: ventura: add Meta Ventura BMC

In reply to Jason Hsu

Add Linux device tree related to Meta(Facebook) Ventura specific devices connected to BMC(AST2600) SoC. Add subject prefix for the patch.

---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed/aspeed-bmc-facebook-ventura.dts    | 883 ++++++++++++++++++
 2 files changed, 884 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
index c4f064e4b073..5ed6042eea97 100644
@@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
 	aspeed-bmc-facebook-minerva.dtb \
 	aspeed-bmc-facebook-minipack.dtb \
 	aspeed-bmc-facebook-tiogapass.dtb \
+	aspeed-bmc-facebook-ventura.dtb \
 	aspeed-bmc-facebook-wedge40.dtb \
 	aspeed-bmc-facebook-wedge100.dtb \
 	aspeed-bmc-facebook-wedge400.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +883 -0

883 lines not on this page · raw message

Signature · 1 line
2.34.1
#4 lore raw

Re: [PATCH v4 2/2] ARM: dts: aspeed: ventura: add Meta Ventura BMC

Quoted 2 lines · Jason Hsu

Add Linux device tree related to Meta(Facebook) Ventura specific devices connected to BMC(AST2600) SoC. Add subject prefix for the patch.

Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597

Please run scripts/checkpatch.pl and fix reported warnings. Then please run scripts/checkpatch.pl --strict and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear.

Quoted 18 lines
---
 arch/arm/boot/dts/aspeed/Makefile             |   1 +
 .../aspeed/aspeed-bmc-facebook-ventura.dts    | 883 ++++++++++++++++++
 2 files changed, 884 insertions(+)
 create mode 100644 arch/arm/bo
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +9 -0
+		led-2 {
+			label = "bmc_ready_noled";
+			default-state = "on";
+			gpios = <&gpio0 ASPEED_GPIO(B, 3) (GPIO_ACTIVE_HIGH|GPIO_TRANSITORY)>;
+		};
+
+		led-3 {
+			label = "power_blue";
+			default-state = "off";

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts line 93

Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +10 -0
+			gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>;
+		};
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x80000000 0x80000000>;
+	};
+
+    p1v8_bmc_aux: regulator-p1v8-bmc-aux {

Fix indentation everywhere. It's broken in multiple places.

Best regards,
Krzysztof

#5 lore raw

Re: [PATCH v4 2/2] ARM: dts: aspeed: ventura: add Meta Ventura BMC

In reply to Jason Hsu

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts line 541

Quoted 5 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +5 -0
+    // 88E6393X CONFIG FRU
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};

I just noticed this and it seems odd. MV88E6393X is a Marvell Ethernet switch. It can have an eeprom, and if so, the mv88e6xxx driver will export it via ethtool. It is not normally visible to Linux as an I2C device, because it hangs off the switches I2C Bus.

Do you have some multi master going on?

I also don't see the switch itself here. I would expect it to be listed in the MDIO node.

Andrew