From: sashiko-bot@kernel.org
To: "Khristine Andreea Barbulescu" <khristineandreea.barbulescu@oss.nxp.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
imx@lists.linux.dev, Frank.Li@kernel.org
Subject: Re: [PATCH 1/1] arm64: dts: Add usbphynop and usbotg pinctrl for S32G platforms
Date: Mon, 18 May 2026 06:32:20 +0000 [thread overview]
Message-ID: <20260518063221.5730CC2BCB7@smtp.kernel.org> (raw)
In-Reply-To: <20260518061522.2884441-2-khristineandreea.barbulescu@oss.nxp.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The `&usbotg` node uses the undocumented `fsl,usbphy` property, which will cause `dtbs_check` validation to fail.
- [Low] Device tree node names use underscores instead of hyphens and do not follow generic naming conventions.
--
commit 009a8765a0c4d65ac0ce298f231d2203b966088a
Author: Khristine Andreea Barbulescu <khristineandreea.barbulescu@oss.nxp.com>
arm64: dts: Add usbphynop and usbotg pinctrl for S32G platforms
This commit adds a usb-nop-xceiv node and pinctrl configurations for the
usbotg interface on S32G2 and S32G3 platforms. It enables the USB controller
to reference the generic PHY and configures pin multiplexing.
> diff --git a/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi b/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi
> --- a/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi
> +++ b/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi
[ ... ]
> +/ {
> + usbphynop: usbphynop {
This isn't a bug, but does the usbphynop node name follow the devicetree
specification's generic names recommendation? Would a standard class name like
phy or usb-phy be more appropriate?
> + compatible = "usb-nop-xceiv";
> + #phy-cells = <0>;
> + };
> +};
> +
[ ... ]
> +
> + usbotg_pins: usbotg_pins {
> + usbotg_grp0 {
Are these underscores in the node names intentional?
The devicetree specification mandates using hyphens instead of underscores
for node names, and compiling with dtc warnings enabled will produce warnings
here. Should these be named usbotg-pins and usbotg-grp0, along with the
other usbotg_grp nodes?
> + pinmux = <0x3802>, <0x3812>,
> + <0x3822>, <0x3832>,
[ ... ]
> +&usbotg {
> + pinctrl-names = "default";
> + pinctrl-0 = <&usbotg_pins>;
> + fsl,usbphy = <&usbphynop>;
Will this fsl,usbphy property cause dtbs_check validation to fail?
The S32G platforms use the nxp,s32g2-usb compatible string, which is validated
by Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml. That schema
specifies unevaluatedProperties: false and does not define the legacy
fsl,usbphy property.
Would using the standard phys property (phys = <&usbphynop>;) work instead,
as it is automatically parsed as a fallback by the ci_hdrc_imx driver?
> + status = "okay";
> +};
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260518061522.2884441-2-khristineandreea.barbulescu@oss.nxp.com?part=1
prev parent reply other threads:[~2026-05-18 6:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 6:15 [PATCH 0/1] add USB PHY node and USB OTG pinctrl support to S32G2/S32G3 SoCs Khristine Andreea Barbulescu
2026-05-18 6:15 ` [PATCH 1/1] arm64: dts: Add usbphynop and usbotg pinctrl for S32G platforms Khristine Andreea Barbulescu
2026-05-18 6:32 ` 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=20260518063221.5730CC2BCB7@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=khristineandreea.barbulescu@oss.nxp.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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