All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josua Mayer <josua@solid-run.com>
To: "sashiko-reviews@lists.linux.dev" <sashiko-reviews@lists.linux.dev>
Cc: "conor+dt@kernel.org" <conor+dt@kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"wsa+renesas@sang-engineering.com"
	<wsa+renesas@sang-engineering.com>,
	"robh@kernel.org" <robh@kernel.org>
Subject: Re: [PATCH v5 5/5] arm64: dts: renesas: add support for solidrun rzg2lc som and hb-iiot evb
Date: Mon, 10 Aug 2026 07:08:11 +0000	[thread overview]
Message-ID: <53def40f-1840-41fd-be7e-8b017fbb2aaa@solid-run.com> (raw)
In-Reply-To: <20260809092718.BCCCD1F000E9@smtp.kernel.org>

On 09/08/2026 12:27, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
> - [High] SD0_DATA4 through SD0_DATA7 are incorrectly included in the sd0_ctrl_dat03 pinctrl node, defeating the intended overvoltage protection for the 1.8V eMMC.
> - [Medium] The usb0_vbus_pins configuration is defined but never referenced, leaving the USB0 VBUS enable pin unconfigured.
> - [Medium] The fixed regulator v_1_2 is named for 1.2V but configured for 1.8V, creating a mismatch for the Cypress HX3 USB hub.
> --
>
> --- Patch [5]: [PATCH v5 5/5] arm64: dts: renesas: add support for solidrun rzg2lc som and hb-iiot evb ---
> commit 99c1d6c6c90388a93caa65e01f5c690e6a6d45a2
> Author: Josua Mayer <josua@solid-run.com>
>
> arm64: dts: renesas: add support for solidrun rzg2lc som and hb-iiot evb
>
> Add support for the SolidRun RZ/G2LC SoM [1] on Hummingboard IIoT [2].
> The RZ/G2LC SoM was designed to be pin compatible to G2L SoM, with
> slightly reduced feature set.
>
> [1] https://www.solid-run.com/embedded-industrial-iot/renesas-rz-family/rz-g2lc-som/
> [2] https://www.solid-run.com/embedded-industrial-iot/renesas-rz-family/hummingboard-rz-series-sbcs/hummingboard-rz-g2l-iot-sbc/
>
>> diff --git a/arch/arm64/boot/dts/renesas/r9a07g044c2-hummingboard-iiot.dts b/arch/arm64/boot/dts/renesas/r9a07g044c2-hummingboard-iiot.dts
>> new file mode 100644
>> index 0000000000000..9cc21ae32ed4d
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/renesas/r9a07g044c2-hummingboard-iiot.dts
>> @@ -0,0 +1,20 @@
> [ ... ]
>> +#include "r9a07g044c2.dtsi"
>> +#include "rzg2lc-sr-som.dtsi"
>> +#include "rzg2l-hummingboard-iiot-common.dtsi"
> [Severity: Medium]
> Is the v_1_2 regulator configured incorrectly in rzg2l-hummingboard-iiot-common.dtsi?
>
> The common file defines a regulator named "1v2" with 1.8V limits:
>
>      v_1_2: regulator-1-2 {
>          compatible = "regulator-fixed";
>          regulator-name = "1v2";
>          regulator-max-microvolt = <1800000>;
>          regulator-min-microvolt = <1800000>;
>      };
>
> This regulator is consumed by the Cypress HX3 USB hub which requires 1.2V
> on its vdd-supply. This creates a mismatch that either misrepresents the board
> wiring or provides an incorrect constraint to the regulator framework.
No functional impact just cosmetic (for now).
Will fix in v6.
> [Severity: High]
> Does this node repeat the same configuration conflict?
>
> SD0_DATA4 through SD0_DATA7 are also incorrectly included in the sd0_ctrl_dat03
> pinctrl group here, which configures them before the intended sd0_dat47 node.
To be fixed in v6.
> [ ... ]
>> +	usb0_vbus_pins: usb0-vbus {
>> +		pinmux = <RZG2L_PORT_PINMUX(4, 0, 1)>; /* USB0_VBUSEN */
>> +	};
>> +};
> [ ... ]
>
>> +&usb2_phy0 {
>> +	vbus-supply = <&usb0_vbus_otg>;
>> +	status = "okay";
>> +};
> [Severity: Medium]
> Is usb0_vbus_pins unused dead code?
For HummingBoard-IIoT all usb power is controlled by GPIOs,
none of which have SoC-native usb-vbus function.

Other boards not yet submitted use usb0_vbus_pins.
I can drop it in this version and re-add with other boards.

>
> The USB PHY node relies on VBUS but fails to apply the corresponding pin
> multiplexing via pinctrl-0 = <&usb0_vbus_pins>. This leaves the VBUS enable
> pin unconfigured and prevents the SoC from powering connected USB devices.
>


      reply	other threads:[~2026-08-10  7:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-09  9:04 [PATCH v5 0/5] arm64: dts: renesas: Add various SolidRun RZ/G2 based boards Josua Mayer
2026-08-09  9:04 ` [PATCH v5 1/5] dt-bindings: soc: " Josua Mayer
2026-08-09  9:04 ` [PATCH v5 2/5] dt-bindings: usb: cypress,hx3: make peer-hub property optional Josua Mayer
2026-08-09  9:04 ` [PATCH v5 3/5] arm64: dts: renesas: add support for solidrun rzg2l som and hb-iiot evb Josua Mayer
2026-08-09  9:25   ` sashiko-bot
2026-08-09  9:04 ` [PATCH v5 4/5] arm64: dts: renesas: add support for solidrun rzv2l " Josua Mayer
2026-08-09  9:04 ` [PATCH v5 5/5] arm64: dts: renesas: add support for solidrun rzg2lc " Josua Mayer
2026-08-09  9:27   ` sashiko-bot
2026-08-10  7:08     ` Josua Mayer [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=53def40f-1840-41fd-be7e-8b017fbb2aaa@solid-run.com \
    --to=josua@solid-run.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=wsa+renesas@sang-engineering.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.