Add Meta (Facebook) Ventura BMC (AST2600)
Subsystems (2)
v14 cover Add Meta (Facebook) Ventura BMC (AST2600)
Add Linux device tree entry related to Meta (Facebook) Ventura specific devices connected to the BMC (AST2600) SoC. The purpose of Ventura is to detect liquid leakage from all compute trays, switch trays and rack sensors within the rack, log the events, and take necessary actions accordingly.
---
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.
---
v5:
1. Run scripts/checkpatch.pl and fix reported warnings.
2. Remove unnecessary 88E6393X CONFIG FRU.
---
v6:
1. Add a new stage for the DTS change.
2. Run scripts/checkpatch.pl and fix reported error.
3. Fix the issue in a separate patch.
---
v7:
1. Fix broken indentation in the device tree file.
2. Sort nodes alphabetically, then by address if equal.
3. Rename fan sensor nodes from 'hwmon' to 'fan-controller'.
---
v8:
1. This patch series has significant changes compared to previous versions, and quite some time has passed since the last submission.Therefore, previously received Acked-by/Reviewed-by/Tested-by tags are not included in this version.
If needed, tags can be added again after review of thisnew version.
---
v9:
1. Reordered the node sequence under i2c5.
2. Added a description of the platform's intended use to the commit messages.
3. Added 3 GPIO expanders to i2c10 and defined the necessary GPIO line names.
---
v10:
1. Added IRQ support in GPIO expanders under i2c10 to handle edge-triggered events.
2. Reordered the nodes.
---
v11:
1. Modified the position for i2c3mux0ch6 and i2c3mux0ch7.
---
v12:
1. Added a GPIO expander at address 0x11 on i2c10, and assign an SGPIO pin as the IRQ for it.
2. Fixed the "failed to match any schema with compatible" issues.
3. Reorder the nodes in alphabetically.
---
v13:
1. Add two GPIO expanders (0x16 and 0x17) to i2c10 and assign two SGPIO pins as IRQs.
2. Move the RPU_READY_SPARE_PLD_R and RPU_2_READY_PLD_R pins from SGPIO to the GPIO expander (0x10).
3. Add all tray PWREN pins to the GPIO expanders (0x16, 0x17 and 0x1b).
4. Add explanatory comments for "unmanaged mode" under &mac3 and "intentionally left empty" under &mdio.
---
v14:
1. Modify "Facebook ventura RMC" to "Facebook Ventura RMC"
2. Add a description for each bus alias.
3. Revise commenting style.
4. Enable mac0
5. Remove two GPIO expanders (0x16 and 0x17) to i2c10 and two SGPIO pins as IRQs.
6. Move the RPU_READY_SPARE_PLD_R and RPU_2_READY_PLD_R pins from the GPIO expander (0x10) to SGPIO.
Sue Wang (2):
dt-bindings: arm: aspeed: add Meta Ventura board
arm: dts: aspeed: ventura: add Meta Ventura BMC
.../bindings/arm/aspeed/aspeed.yaml | 1 + arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-facebook-ventura.dts | 1607 +++++++++++++++++ 3 files changed, 1609 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts
base-commit: c0538446e769fab620225578d378a0627b883bd5
branch: dev-6.18
Signature · 1 line
2.34.1
PATCH v14 1/2 dt-bindings: arm: aspeed: add Meta Ventura board
Document the new compatibles used on Meta Ventura.
--- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +1 -0
@@ -98,6 +98,7 @@ properties: - facebook,rainiera6-bmc - facebook,sanmiguel-bmc - facebook,santabarbara-bmc + - facebook,ventura-rmc - facebook,yosemite4-bmc - facebook,yosemite5-bmc - ibm,balcones-bmc
Signature · 1 line
2.34.1
Re: [PATCH v14 1/2] dt-bindings: arm: aspeed: add Meta Ventura board
Quoted 3 lines · Sue Wang
Document the new compatibles used on Meta Ventura.
Signed-off-by Sue Wang <[email protected]>
Please respect our time. Actually other contributors time as well.
<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 of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). 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.
Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
If a tag was not added on purpose, please state in the patch changelog or cover letter why and what changed.
</form letter>
Best regards,
Krzysztof
Re: [PATCH v14 1/2] dt-bindings: arm: aspeed: add Meta Ventura board
Quoted 25 lines · Sue Wang
Quoted 3 lines
Document the new compatibles used on Meta Ventura.
Signed-off-by Sue Wang <[email protected]>Please respect our time. Actually other contributors time as well.
<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 of patchset, under or above your Signed-off-by tag, unless patch changed significantly (e.g. new properties added to the DT bindings). 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.Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
Quoted 7 lines
If a tag was not added on purpose, please state in the patch changelog or cover letter why and what changed.
</form letter>Best regards,
Krzysztof
Thanks for the reminder, I'll add the Acked-by tag back in the next version.
Best regards,
Su Wang
PATCH v14 2/2 arm: dts: aspeed: ventura: add Meta Ventura BMC
In reply to Sue WangAdd Linux device tree related to Meta (Facebook) Ventura specific devices connected to the BMC (AST2600) SoC. The purpose of Ventura is to detect liquid leakage from all compute trays, switch trays and rack sensors within the rack, log the events, and take necessary actions accordingly.
--- arch/arm/boot/dts/aspeed/Makefile | 1 + .../aspeed/aspeed-bmc-facebook-ventura.dts | 1607 +++++++++++++++++ 2 files changed, 1608 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
@@ -38,6 +38,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-facebook-sanmiguel.dtb \ aspeed-bmc-facebook-santabarbara.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-data64.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +1607 -0
1,607 lines not on this page · raw message
Signature · 1 line
2.34.1
[email protected]
AI reviewRe: [PATCH v14 2/2] arm: dts: aspeed: ventura: add Meta Ventura BMC
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Low] dts: max31790 undocumented child nodes and properties - [Low] dts: aspeed-i2c undocumented…
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] dts: max31790 undocumented child nodes and properties
- [Low] dts: aspeed-i2c undocumented i2c-scl-clk-low-timeout-us property
--
commit 36f26891634e24be887571e8b0992390654a929b
Author: Sue Wang <[email protected]>
arm: dts: aspeed: ventura: add Meta Ventura BMC
This commit adds the Linux device tree for Meta (Facebook) Ventura specific devices connected to the BMC (AST2600) SoC. It configures the hardware needed to detect liquid leakage, log events, and take necessary actions.
Quoted 5 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +0
-0
[ ... ]
Quoted 8 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +8
-0+ i2c3mux0ch5: i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <5>; + + pwm@20 { + compatible = "maxim,max31790"; + reg = <0x20>;
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts line 1064
Quoted 10 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +10
-0+ #address-cells = <1>; + #size-cells = <0>; + channel@2 { + reg = <2>; + sensor-type = "TACH"; + }; + channel@5 { + reg = <5>; + sensor-type = "TACH"; + };
[Severity: Low]
Does the maxim,max31790 device tree binding support these channel child nodes and the sensor-type property?
The upstream device tree binding schema explicitly rejects child nodes matching channel@[0-9]+ and the sensor-type property, which leads to validation failures during make dtbs_check.
Additionally, the kernel driver (drivers/hwmon/max31790.c) does not appear to parse these properties, making them dead configuration.
Quoted 3 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +3
-0+ }; + + hwmon: hwmon@23 {
[ ... ]
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts line 1214
Quoted 5 lines
+&i2c7 {
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +4
-0+ status = "okay"; + bus-frequency = <100000>; + multi-master; + i2c-scl-clk-low-timeout-us = <31744>;
[Severity: Low]
Is the i2c-scl-clk-low-timeout-us property supported by the ASPEED I2C controller?
The device tree binding schema (aspeed,i2c.yaml) does not allow this property, which causes a schema validation warning. Furthermore, the i2c-aspeed driver does not seem to read this property (it is typically used by drivers like i2c-mpc).
Should this property be removed to avoid dead configuration and validation warnings?
Quoted 8 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts new file +8
-0+ + /* USB Debug Connector */ + ipmb@10 { + compatible = "ipmb-dev"; + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + i2c-protocol; + }; +};
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2