Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Sue Wang" <suwangquanta@gmail.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v14 2/2] arm: dts: aspeed: ventura: add Meta Ventura BMC
Date: Tue, 29 Sep 2026 08:02:29 +0000	[thread overview]
Message-ID: <20260929080230.7DF3B1F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260929075106.74731-3-suwangquanta@gmail.com>

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 <suwangquanta@gmail.com>

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.

> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts
> new file mode 100644
> index 0000000000000..62a60741bccb3
> --- /dev/null
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-ventura.dts

[ ... ]

> +		i2c3mux0ch5: i2c@5 {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			reg = <5>;
> +
> +			pwm@20 {
> +				compatible = "maxim,max31790";
> +				reg = <0x20>;
> +				#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.

> +			};
> +
> +			hwmon: hwmon@23 {

[ ... ]

> +&i2c7 {
> +	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?

> +
> +	/* USB Debug Connector */
> +	ipmb@10 {
> +		compatible = "ipmb-dev";
> +		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
> +		i2c-protocol;
> +	};
> +};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260929075106.74731-1-suwangquanta@gmail.com?part=2

      reply	other threads:[~2026-09-29  8:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29  7:51 [PATCH v14 0/2] Add Meta (Facebook) Ventura BMC (AST2600) Sue Wang
2026-09-29  7:51 ` [PATCH v14 1/2] dt-bindings: arm: aspeed: add Meta Ventura board Sue Wang
2026-09-30 10:38   ` Krzysztof Kozlowski
2026-10-02  3:04     ` Su Wang
2026-09-29  7:51 ` [PATCH v14 2/2] arm: dts: aspeed: ventura: add Meta Ventura BMC Sue Wang
2026-09-29  8:02   ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260929080230.7DF3B1F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=suwangquanta@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox