Post Go back to editing

adrv9375 + zc706

Good afternoon, I use it with zc706 ad9375, I changed the reference oscillator to 80 MHz, in accordance with the instructions wiki.analog.com/.../rf-trx-vcxo-and-profiles, I use adi linux 2019_2, I tried to apply the recommendations that are indicated in the link in the wiki, but after initializing the interface, errors begin to pour in, how can I fix this ?

sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ad9371 spi0.1: ad9371_probe : enter
ad9528 spi0.0: spi0.0 supply vcc not found, using dummy regulator
ad9528 spi0.0: Linked as a consumer to regulator.0
mmc0: new high speed SDHC card at address 59b4
mmcblk0: mmc0:59b4 USDU1 29.4 GiB
mmcblk0: p1 p2 p3
random: fast init done
axi_sysid 45000000.axi-sysid-0: [adrv9371x] [sys rom custom string placeholder] on [zc706] git <2e4ac278eb09c13471e381459b0da790ebad8373> clean [2019-12-05 04:23
:03] UTC
fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
usbcore: registered new interface driver snd-usb-audio
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 36
Registering SWP/SWPB emulation handler
[drm] Cannot find any crtc or sizes
[drm] Initialized axi_hdmi_drm 1.0.0 20120930 for 70e00000.axi_hdmi on minor 0
ad9371 spi0.1: ad9371_probe : enter
axi_adxcvr 44a60000.axi-adxcvr-rx: AXI-ADXCVR-RX (17.01.a) using CPLL on GTX2 at 0x44A60000. Number of lanes: 2.
axi_adxcvr 44a50000.axi-adxcvr-rx-os: AXI-ADXCVR-RX (17.01.a) using CPLL on GTX2 at 0x44A50000. Number of lanes: 2.
axi_adxcvr 44a80000.axi-adxcvr-tx: AXI-ADXCVR-TX (17.01.a) using QPLL on GTX2 at 0x44A80000. Number of lanes: 4.
asoc-simple-card adv7511_hdmi_snd: spdif-hifi <-> 75c00000.axi-spdif-tx mapping ok
ad9371 spi0.1: ad9371_probe : enter
ad9371 spi0.1: Request deframer lanerate 4800000 kHz failed (-22)
ad9371 spi0.1: Request deframer lanerate 4800000 kHz failed (-22)
ad9371: probe of spi0.1 failed with error -22
input: gpio_keys as /devices/soc0/gpio_keys/input/input0
rtc-pcf8563 5-0051: setting system clock to 2021-12-23 11:01:44 UTC (1640257304)

--------------------------------------------------------------------------------------------------------------------------------

&clk0_ad9528 {
adi,vcxo-freq = <80000000>;

/*
* Valid ranges based on VCO locking range:
* 1150.000 MHz - 1341.666 MHz
* 862.500 MHz - 1006.250 MHz
* 690.000 MHz - 805.000 MHz
*/
adi,pll2-m1-frequency = <1200000000>;

/* Manual divider configuration /
/delete-proptery/ adi,pll2-ndiv-a-cnt;
/delete-proptery/ adi,pll2-ndiv-b-cnt;
/delete-proptery/ adi,pll2-vco-div-m1;
/delete-proptery/ adi,pll2-n2-div;
/delete-proptery/ adi,pll2-r1-div;

/* PLL1 config */
adi,pll1-feedback-div = <8>; /* 10 MHz Reference */
};

&trx0_ad9371 {
adi,clocks-clk-pll-vco-freq_khz = <9600000>;
adi,clocks-device-clock_khz = <120000>;

adi,obs-settings-obs-rx-channels-enable = <3>; /* Disable Sniffer Profile */

adi,rx-profile-iq-rate_khz = <120000>;
adi,rx-profile-rf-bandwidth_hz = <80000000>;
adi,rx-profile-rx-fir-gain_db = <(0)>;
adi,rx-profile-rx-fir-num-fir-coefs = <48>;
adi,rx-profile-rx-fir-coefs = /bits/ 16 <(0)(0)(1)(2)(-3)(-10)(12)(28)(-33)(-71)(81)(154)(-174)(-305)(343)(561)(-635)(-989)(1155)(1750)(-2330)(-4059)(4644)(16559)(16559)(4644)(-4059)(-2330)(1750)(1155)(-989)(-635)(561)(343)(-305)(-174)(154)(81)(-71)(-33)(28)(12)(-10)(-3)(2)(1)(0)(0)>;
adi,rx-profile-custom-adc-profile = /bits/ 16 <(574)(382)(201)(98)(1280)(342)(1553)(180)(1285)(67)(784)(33)(48)(38)(23)(189)>;

adi,obs-profile-iq-rate_khz = <240000>;
adi,obs-profile-rf-bandwidth_hz = <160000000>;
adi,obs-profile-rx-bbf-3db-corner_khz = <80000>;
adi,obs-profile-rx-fir-gain_db = <6>;
adi,obs-profile-rx-fir-num-fir-coefs = <24>;
adi,obs-profile-rx-fir-coefs = /bits/ 16 <(-51)(-107)(90)(-29)(-72)(128)(-11)(-279)(178)(-46)(-2343)(21563)(-2343)(-46)(178)(-279)(-11)(128)(-72)(-29)(90)(-107)(-51)(0)>;
adi,obs-profile-custom-adc-profile = /bits/ 16 <(499)(386)(201)(98)(1280)(534)(1741)(601)(1423)(456)(857)(27)(48)(38)(25)(205)>;
adi,obs-settings-custom-loopback-adc-profile = /bits/ 16 <(581)(379)(201)(98)(1280)(304)(1544)(157)(1288)(59)(787)(34)(48)(39)(23)(189)>;

adi,tx-profile-dac-div = <1>;
adi,tx-profile-iq-rate_khz = <240000>;
adi,tx-profile-rf-bandwidth_hz = <160000000>;
adi,tx-profile-tx-bbf-3db-corner_khz = <80000>;
adi,tx-profile-tx-dac-3db-corner_khz = <160000>;
adi,tx-profile-tx-fir-gain_db = <6>;
adi,tx-profile-tx-fir-num-fir-coefs = <16>;
adi,tx-profile-tx-fir-coefs = /bits/ 16 <(-48)(290)(-51)(-251)(577)(167)(-3254)(21872)(-3254)(167)(577)(-251)(-51)(290)(-48)(0)>;
};

---------------------------------------------------------------------------------------------------------------------------------

ad9528-1@0 {
compatible = "adi,ad9528";
reg = <0x0>;
#address-cells = <0x1>;
#size-cells = <0x0>;
spi-max-frequency = <0x989680>;
clock-output-names = "ad9528-1_out0", "ad9528-1_out1", "ad9528-1_out2", "ad9528-1_out3", "ad9528-1_out4", "ad9528-1_out5", "ad9528-1_out6", "ad9528-1_out7", "ad9528-1_out8", "ad9528-1_out9", "ad9528-1_out10", "ad9528-1_out11", "ad9528-1_out12", "ad9528-1_out13";
#clock-cells = <0x1>;
adi,vcxo-freq = <0x4c4b400>;
adi,refa-enable;
adi,refa-diff-rcv-enable;
adi,refa-r-div = <0x1>;
adi,osc-in-cmos-neg-inp-enable;
adi,pll1-feedback-div = <0x8>;
adi,pll1-charge-pump-current-nA = <0x1388>;
adi,pll2-vco-div-m1 = <0x3>;
adi,pll2-n2-div = <0xa>;
adi,pll2-r1-div = <0x1>;
adi,pll2-charge-pump-current-nA = <0xc4888>;
adi,sysref-src = <0x2>;
adi,sysref-pattern-mode = <0x1>;
adi,sysref-k-div = <0x200>;
adi,sysref-request-enable;
adi,sysref-nshot-mode = <0x3>;
adi,sysref-request-trigger-mode = <0x0>;
adi,rpole2 = <0x0>;
adi,rzero = <0x7>;
adi,cpole1 = <0x2>;
adi,status-mon-pin0-function-select = <0x1>;
adi,status-mon-pin1-function-select = <0x7>;
reset-gpios = <0x5 0x71 0x0>;
adi,pll2-m1-frequency = <0x47868c00>;
phandle = <0x9>;

channel@13 {
reg = <0xd>;
adi,extended-name = "DEV_CLK";
adi,driver-mode = <0x0>;
adi,divider-phase = <0x0>;
adi,channel-divider = <0xa>;
adi,signal-source = <0x0>;
};

channel@1 {
reg = <0x1>;
adi,extended-name = "FMC_CLK";
adi,driver-mode = <0x0>;
adi,divider-phase = <0x0>;
adi,channel-divider = <0xa>;
adi,signal-source = <0x0>;
};

channel@12 {
reg = <0xc>;
adi,extended-name = "DEV_SYSREF";
adi,driver-mode = <0x0>;
adi,divider-phase = <0x0>;
adi,channel-divider = <0xa>;
adi,signal-source = <0x2>;
};

channel@3 {
reg = <0x3>;
adi,extended-name = "FMC_SYSREF";
adi,driver-mode = <0x0>;
adi,divider-phase = <0x0>;
adi,channel-divider = <0xa>;
adi,signal-source = <0x2>;
};
};

ad9371-phy@1 {
compatible = "adi,ad9375";
reg = <0x1>;
spi-max-frequency = <0x17d7840>;
clocks = <0x6 0x7 0x8 0x9 0xd 0x9 0x1 0x9 0xc 0x9 0x3>;
clock-names = "jesd_rx_clk", "jesd_tx_clk", "jesd_rx_os_clk", "dev_clk", "fmc_clk", "sysref_dev_clk", "sysref_fmc_clk";
clock-output-names = "rx_sampl_clk", "rx_os_sampl_clk", "tx_sampl_clk";
#clock-cells = <0x1>;
adi,clocks-clk-pll-vco-freq_khz = <0x927c00>;
adi,clocks-device-clock_khz = <0x1d4c0>;
adi,clocks-clk-pll-hs-div = <0x4>;
adi,clocks-clk-pll-vco-div = <0x2>;
adi,jesd204-obs-framer-over-sample = <0x0>;
adi,rx-profile-adc-div = <0x1>;
adi,rx-profile-en-high-rej-dec5 = <0x1>;
adi,rx-profile-iq-rate_khz = <0x1d4c0>;
adi,rx-profile-rf-bandwidth_hz = <0x4c4b400>;
adi,rx-profile-rhb1-decimation = <0x1>;
adi,rx-profile-rx-bbf-3db-corner_khz = <0x186a0>;
adi,rx-profile-rx-dec5-decimation = <0x5>;
adi,rx-profile-rx-fir-decimation = <0x2>;
adi,rx-profile-rx-fir-gain_db = <0x0>;
adi,rx-profile-rx-fir-num-fir-coefs = <0x30>;
adi,rx-profile-rx-fir-coefs = <0x0 0x10002 0xfffdfff6 0xc001c 0xffdfffb9 0x51009a 0xff52fecf 0x1570231 0xfd85fc23 0x48306d6 0xf6e6f025 0x122440af 0x40af1224 0xf025f6e6 0x6d60483 0xfc23fd85 0x2310157 0xfecfff52 0x9a0051 0xffb9ffdf 0x1c000c 0xfff6fffd 0x20001 0x0>;
adi,rx-profile-custom-adc-profile = <0x23e017e 0xc90062 0x5000156 0x61100b4 0x5050043 0x3100021 0x300026 0x1700bd>;
adi,obs-profile-adc-div = <0x1>;
adi,obs-profile-en-high-rej-dec5 = <0x1>;
adi,obs-profile-iq-rate_khz = <0x3a980>;
adi,obs-profile-rf-bandwidth_hz = <0x9896800>;
adi,obs-profile-rhb1-decimation = <0x1>;
adi,obs-profile-rx-bbf-3db-corner_khz = <0x13880>;
adi,obs-profile-rx-dec5-decimation = <0x5>;
adi,obs-profile-rx-fir-decimation = <0x1>;
adi,obs-profile-rx-fir-gain_db = <0x6>;
adi,obs-profile-rx-fir-num-fir-coefs = <0x18>;
adi,obs-profile-rx-fir-coefs = <0xffcdff95 0x5affe3 0xffb80080 0xfff5fee9 0xb2ffd2 0xf6d9543b 0xf6d9ffd2 0xb2fee9 0xfff50080 0xffb8ffe3 0x5aff95 0xffcd0000>;
adi,obs-profile-custom-adc-profile = <0x1f30182 0xc90062 0x5000216 0x6cd0259 0x58f01c8 0x359001b 0x300026 0x1900cd>;
adi,obs-settings-custom-loopback-adc-profile = <0x245017b 0xc90062 0x5000130 0x608009d 0x508003b 0x3130022 0x300027 0x1700bd>;
adi,tx-profile-dac-div = <0x1>;
adi,tx-profile-iq-rate_khz = <0x3a980>;
adi,tx-profile-primary-sig-bandwidth_hz = <0x47868c0>;
adi,tx-profile-rf-bandwidth_hz = <0x9896800>;
adi,tx-profile-thb1-interpolation = <0x2>;
adi,tx-profile-thb2-interpolation = <0x1>;
adi,tx-profile-tx-bbf-3db-corner_khz = <0x13880>;
adi,tx-profile-tx-dac-3db-corner_khz = <0x27100>;
adi,tx-profile-tx-fir-interpolation = <0x1>;
adi,tx-profile-tx-input-hb-interpolation = <0x1>;
adi,tx-profile-tx-fir-gain_db = <0x6>;
adi,tx-profile-tx-fir-num-fir-coefs = <0x10>;
adi,tx-profile-tx-fir-coefs = <0xffd00122 0xffcdff05 0x24100a7 0xf34a5570 0xf34a00a7 0x241ff05 0xffcd0122 0xffd00000>;
adi,sniffer-profile-adc-div = <0x1>;
adi,sniffer-profile-en-high-rej-dec5 = <0x0>;
adi,sniffer-profile-iq-rate_khz = <0x7800>;
adi,sniffer-profile-rf-bandwidth_hz = <0x1312d00>;
adi,sniffer-profile-rhb1-decimation = <0x2>;
adi,sniffer-profile-rx-bbf-3db-corner_khz = <0x186a0>;
adi,sniffer-profile-rx-dec5-decimation = <0x5>;
adi,sniffer-profile-rx-fir-decimation = <0x4>;
reset-gpios = <0x5 0x6a 0x0>;
test-gpios = <0x5 0x6b 0x0>;
sysref_req-gpios = <0x5 0x70 0x0>;
rx2_enable-gpios = <0x5 0x6c 0x0>;
rx1_enable-gpios = <0x5 0x6d 0x0>;
tx2_enable-gpios = <0x5 0x6e 0x0>;
tx1_enable-gpios = <0x5 0x6f 0x0>;
adi,dpd-damping = <0x5>;
adi,dpd-num-weights = <0x1>;
adi,dpd-model-version = <0x2>;
adi,dpd-high-power-model-update = <0x1>;
adi,dpd-model-prior-weight = <0x14>;
adi,dpd-robust-modeling = <0x0>;
adi,dpd-samples = <0x200>;
adi,dpd-outlier-threshold = <0x1000>;
adi,dpd-additional-delay-offset = <0x0>;
adi,dpd-path-delay-pn-seq-level = <0xff>;
adi,dpd-weights0-real = <0x40>;
adi,dpd-weights0-imag = <0x0>;
adi,dpd-weights1-real = <0x0>;
adi,dpd-weights1-imag = <0x0>;
adi,dpd-weights2-real = <0x0>;
adi,dpd-weights2-imag = <0x0>;
adi,clgc-tx1-desired-gain = <0xfffff830>;
adi,clgc-tx2-desired-gain = <0xfffff830>;
adi,clgc-tx1-atten-limit = <0x0>;
adi,clgc-tx2-atten-limit = <0x0>;
adi,clgc-tx1-control-ratio = <0x4b>;
adi,clgc-tx2-control-ratio = <0x4b>;
adi,clgc-allow-tx1-atten-updates = <0x1>;
adi,clgc-allow-tx2-atten-updates = <0x1>;
adi,clgc-additional-delay-offset = <0x0>;
adi,clgc-path-delay-pn-seq-level = <0xff>;
adi,clgc-tx1-rel-threshold = <0x258>;
adi,clgc-tx2-rel-threshold = <0x258>;
adi,clgc-tx1-rel-threshold-en = <0x0>;
adi,clgc-tx2-rel-threshold-en = <0x0>;
adi,vswr-additional-delay-offset = <0x0>;
adi,vswr-path-delay-pn-seq-level = <0xff>;
adi,vswr-tx1-vswr-switch-gpio3p3-pin = <0x0>;
adi,vswr-tx2-vswr-switch-gpio3p3-pin = <0x1>;
adi,vswr-tx1-vswr-switch-polarity = <0x0>;
adi,vswr-tx2-vswr-switch-polarity = <0x0>;
adi,vswr-tx1-vswr-switch-delay_us = <0x32>;
adi,vswr-tx2-vswr-switch-delay_us = <0x32>;
adi,obs-settings-obs-rx-channels-enable = <0x3>;
phandle = <0x13>;
};
};