Commit 84c5641
committed
fix(adrv937x): wire jesd_rx_clk + jesd_tx_clk into ad9371-phy clocks
After the GPIO fix (commit b095aaf) the Mykonos probe and JESD204
link-bring-up now progress past the earlier ``RESET Failed`` /
-ENODEV gates on bq — the FSM reaches ``link_running`` — but then
fails in ``opt_post_running_stage`` with -EFAULT and rolls back
into a retry loop. Root cause: the AD9371 driver's post-running
callback reaches into the ``jesd_rx_clk`` / ``jesd_tx_clk`` clocks
on its own node (for lane-rate / post-link-up verification); if
those refs aren't present the callback dereferences NULL and
returns -EFAULT.
Add them to the phy node's ``clocks`` / ``clock-names`` to match
the Kuiper reference DT:
clocks = <&axi_ad9371_rx_jesd>, <&axi_ad9371_tx_jesd>,
<&clk0_ad9528 13>, <&clk0_ad9528 1>,
<&clk0_ad9528 12>, <&clk0_ad9528 3>;
clock-names = "jesd_rx_clk", "jesd_tx_clk",
"dev_clk", "fmc_clk", "sysref_dev_clk", "sysref_fmc_clk";
The obs-path JESD clock (``jesd_rx_os_clk``) + the observation
receiver's jesd204-inputs/link-id are still not emitted — deferred
to a follow-up if the driver needs them. The AD9371 reference
also includes them; skipping here buys a minimal-diff iteration.
Fixture regenerated from the new builder output. 449 unit tests
still pass.1 parent b095aaf commit 84c5641
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
347 | 354 | | |
348 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
349 | 358 | | |
350 | 359 | | |
| 360 | + | |
351 | 361 | | |
352 | 362 | | |
353 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
| 255 | + | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
0 commit comments