Hi,
I am using ZC702+FMComms5 with Kuiper Linux. For phase coherent operation, the on-board (external) PLL-Synthesizer ADF5355 has to be utilized (unless another external LO is used). Unfortunately, there is no devicetree in your repo that supports this device (only for ZC706 and ZCU102).
1.) First, I tried modifying the existing devicetree by comparing all existing devicetrees for ZC702, 706 and ZCU102 (versions with and without ADF5355 support), but these have >1300 lines of code and differ severely even for the same board. By altering the settings here, it is very likely to seriously mess things up, I see no way how to do this properly. I know this link and all related links already: https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/linux/zynq_tips_tricks
2.) I tried modifying and building the devicetree files: https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/linux/zynq_2014r2.
As far as I understand, I just have to add the file that contains the ADF5355 support, like the ones for ZC706: https://github.com/analogdevicesinc/linux/blob/ea298d1a9178129fddc3a344ffdc9814bb7c4a13/arch/arm/boot/dts/zynq-zc706-adv7511-ad9361-fmcomms5-ext-lo-adf5355.dts#L4 and ZCU102: https://github.com/analogdevicesinc/linux/blob/ea298d1a9178129fddc3a344ffdc9814bb7c4a13/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev10-ad9361-fmcomms5-ext-lo-adf5355.dts#L15. But they differ in the setting for the gpio-pin (I don't know what the numbers stand for) and I have no idea what the correct setting for ZC702 would be here.
When I tried building the existing file "zynq-zc702-adv7511-ad9361-fmcomms5.dts" exactly as described by your guide (using Linaro toolchain), I get this error:
vboxuser@Ubuntu22:~/linux$ make zynq_xcomm_adv7511_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
make[1]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make: *** [Makefile:602: zynq_xcomm_adv7511_defconfig] Error 2
3.) I am not even sure if I am doing this correctly and really doubt if It will work at the end at all. Because the ADF5355 is a major feature for a phase coherent operation of the FMCOMMS5, other users would also benefit from a devicetree that supports it. Could you provide one please?
4.) Is there any alternative to get the ADF5355 running with the default ZC702 devicetree?
Please help me, thank you very much!