Skip to content

ARM: dts: ni-zynq: Fix USB PHY references - #291

Merged
gratian merged 1 commit into
ni:nilrt/master/6.18from
chaitu236:dev/cvadrevu/fix_arm_usb
Aug 26, 2026
Merged

ARM: dts: ni-zynq: Fix USB PHY references#291
gratian merged 1 commit into
ni:nilrt/master/6.18from
chaitu236:dev/cvadrevu/fix_arm_usb

Conversation

@chaitu236

Copy link
Copy Markdown
Contributor

Update usb dt nodes so that USB works on ARM devices with 6.18 kernel.

Testing

  • Built safemode - bitbake packagefeed-ni-core && bitbake package-index && bitbake linux-nilrt-arm-safemode
  • Installed safemode on a myRIO-1900 and verified USB gadget works and USB to ethernet adapter works.

@chaitu236
chaitu236 requested review from a team and a lite review from Copilot August 25, 2026 23:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the NI Zynq device tree USB controller nodes to reference the USB PHY using the current phys property (instead of the deprecated/legacy usb-phy), aligning the DTS with the ChipIdea/Zynq USB DT binding expectations so USB continues to function on newer kernels (notably 6.18 per the PR description).

Changes:

  • Replace usb-phy = <&usb_phyX>; with phys = <&usb_phyX>; for &usb0 and &usb1 in the NI Zynq DTSI.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Use the standard phys property for the Zynq USB controllers instead of
usb-phy.

The ChipIdea driver interprets usb-phy through the generic PHY
framework, but the usb-nop-xceiv devices use the legacy USB PHY
framework. This causes both controllers to remain probe-deferred,
leaving the USB host unavailable and preventing g_ether from finding
a UDC.

Using phys allows the ChipIdea driver to resolve the legacy PHYs and
restores USB host and gadget operation.

Assisted-by: Copilot:GPT-5.6-Sol
Signed-off-by: Chaitanya Vadrevu <[email protected]>
@chaitu236
chaitu236 force-pushed the dev/cvadrevu/fix_arm_usb branch from 7cd5ef0 to f91b99a Compare August 26, 2026 14:22
@chaitu236

Copy link
Copy Markdown
Contributor Author

v2: Fix checkpatch error by removing "Reported-by"

@gratian
gratian merged commit c73f1bd into ni:nilrt/master/6.18 Aug 26, 2026
1 check passed
@chaitu236
chaitu236 deleted the dev/cvadrevu/fix_arm_usb branch August 26, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants