Hi,
We are trying to modify our device tree to make use of the FSM framework as described in wiki.analog.com/.../jesd204-fsm-framework
We have multiple topologies which all operate independently, however we use a single AD9528 device for device and sysref clocks, but each clock is generated from a separate output.
We have not seen any examples of device trees for multiple topologies, but we have set "jesd204-top-device" parameter and the associated connections to a different number for each topology and the FSM seems to try and run for each. However, after the first topology is initialized OK we are getting the following error for each subsequent topology:
jesd204: ---- JESD204[2:0] transition clk_sync_stage3 -> link_setup
adrv9009 ---- adrv9009_jesd204_setup_stage1:5869 Unexpected MCS sync status (0x0)
jesd204: ---- JESD204[2:0] In opt_setup_stage1 got error from cb: -14
jesd204: ---- Rolling back from 'link_setup', got error -14
If we run FSM framework for each topology, one at a time then all is fine.
We suspect the control of the AD9528 is causing an issue. In the device tree we have added the following lines to the AD9528 entry which does not include reference to a specific topology.
jesd204-device;
#jesd204-cells = ;
jesd204-sysref-provider;
Please can you advise what we might need to do, or if this configuration is even supported?
Many Thanks
Steve