Skip to content

Commit 4effa8a

Browse files
committed
Revert "fix(adrv937x): wire jesd_rx_clk + jesd_tx_clk into ad9371-phy clocks"
This reverts commit 84c5641.
1 parent 84c5641 commit 4effa8a

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

adidt/xsa/builders/adrv937x.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -344,20 +344,10 @@ def build_model(
344344
reset_gpio=trx_reset_gpio,
345345
sysref_req_gpio=trx_sysref_req_gpio,
346346
)
347-
# AD9371 clocks: the Mykonos driver's
348-
# ``opt_post_running_stage`` callback reaches into the JESD204
349-
# RX/TX AXI clocks (``jesd_rx_clk``, ``jesd_tx_clk``) to verify
350-
# link state, and fails with -EFAULT if they aren't listed here.
351-
# Match the working Kuiper DT's clock ordering: JESD clocks
352-
# first (1-cell phandles to the axi-jesd204 nodes), then the
353-
# AD9528 output channels with explicit indices.
354347
trx_clocks_value = (
355-
f"<&{rx_jesd_label}>, <&{tx_jesd_label}>, "
356-
"<&clk0_ad9528 13>, <&clk0_ad9528 1>, "
357-
"<&clk0_ad9528 12>, <&clk0_ad9528 3>"
348+
"<&clk0_ad9528 13>, <&clk0_ad9528 1>, <&clk0_ad9528 12>, <&clk0_ad9528 3>"
358349
)
359350
trx_clock_names_value = (
360-
'"jesd_rx_clk", "jesd_tx_clk", '
361351
'"dev_clk", "fmc_clk", "sysref_dev_clk", "sysref_fmc_clk"'
362352
)
363353
trx_link_ids_value = f"{rx_link_id} {tx_link_id}"

test/devices/fixtures/adrv9371_zc706_xsa_reference.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@
252252
jesd204-top-device = <0>;
253253
jesd204-device;
254254
reg = <1>;
255-
clocks = <&axi_ad9371_rx_jesd_rx_axi>, <&axi_ad9371_tx_jesd_tx_axi>, <&clk0_ad9528 13>, <&clk0_ad9528 1>, <&clk0_ad9528 12>, <&clk0_ad9528 3>;
256-
clock-names = "jesd_rx_clk", "jesd_tx_clk", "dev_clk", "fmc_clk", "sysref_dev_clk", "sysref_fmc_clk";
255+
clocks = <&clk0_ad9528 13>, <&clk0_ad9528 1>, <&clk0_ad9528 12>, <&clk0_ad9528 3>;
256+
clock-names = "dev_clk", "fmc_clk", "sysref_dev_clk", "sysref_fmc_clk";
257257
reset-gpios = <&gpio0 106 0>;
258258
sysref-req-gpios = <&gpio0 112 0>;
259259
jesd204-link-ids = <1 0>;

0 commit comments

Comments
 (0)