NOTE:
This driver is RETIRED, DEPRECATED and not used anymore in any of the recent projects!
Please see here instead: ADI JESD204B/C AXI_ADXCVR Highspeed Transceivers Linux Driver
This driver supports the
The AXI JESD204 GT HDL driver is the driver for the Gigabit Tranceiver (GTX, GTH, etc.) HDL interface core which is used on various FPGA designs. The driver is implemented as an Open Firmware Device Tree (DT) platform driver. It's register map can be found here: Base register map (common to all cores)
This driver is used by the JESD Eye Scan - See here JESD204 Eye Scan
Source | Mainlined? |
---|---|
drivers/iio/jesd204/axi_jesd204b_gt.c | WIP |
Function | File |
---|---|
driver | drivers/iio/jesd204/axi_jesd204b_gt.c |
include | drivers/iio/jesd204/axi_jesd204b_gt.h |
The AXI JESD204B driver is a platform driver and can currently only be instantiated via device tree. Depending on which HDL Version (PCORE_VERSION) the HDL supports two links, one receive and one transmit, depending on [rx|tx]-[sys|out]-clk-select is given both or not.
Starting with PCORE_VERSION > 7.0.0, the HDL and driver supports multiple links. And the setup is done per lane basis. The device tree entry then features multiple per link child nodes.
Required devicetree properties (legacy (flat) mode & PCORE_VERSION < 7.0.0):
Required devicetree properties (PCORE_VERSION > 7.0.0):
Example:
axi_daq2_gt: axi-jesd-gt-rx-tx@44a60000 { #address-cells = <1>; #size-cells = <0>; #clock-cells = <1>; compatible = "xlnx,axi-jesd-gt-1.0"; reg = < 0x44a60000 0x10000 >; axi_daq2_gt_rx0:link@0 { #clock-cells = <0>; clocks = <&clk0_ad9523 1>, <&clk0_ad9523 6>; clock-names = "conv", "sysref"; clock-output-names = "adc_gt_clk"; reg = <0>; adi,lanes = <4>; adi,first-lane = <0>; adi,sys-clk-select = <3>; adi,out-clk-select = <4>; adi,use-lpm-enable; }; axi_daq2_gt_tx0:link@1 { #clock-cells = <0>; clocks = <&clk0_ad9523 7>, <&clk0_ad9523 13>; clock-names = "conv", "sysref"; clock-output-names = "dac_gt_clk"; reg = <0>; adi,lanes = <4>; adi,first-lane = <0>; adi,link-is-transmit-enable; adi,sys-clk-select = <3>; adi,out-clk-select = <4>; adi,use-lpm-enable; }; } ;
Example (legacy mode):
axi_daq2_gt: axi-jesd-gt-rx-tx@44a60000 { #clock-cells = <1>; compatible = "xlnx,axi-jesd-gt-1.0"; reg = < 0x44a60000 0x10000 >; clocks = <&clk0_ad9523 1>, <&clk0_ad9523 6>, <&clk0_ad9523 7>, <&clk0_ad9523 13>; clock-names = "adc_clk", "adc_sysref", "dac_sysref", "dac_clk"; clock-output-names = "adc_gt_clk", "dac_gt_clk"; adi,rx-sys-clk-select = <3>; adi,rx-out-clk-select = <4>; adi,tx-sys-clk-select = <3>; adi,tx-out-clk-select = <4>; adi,lanes = <0x4>; adi,use-lpm-enable; } ;
Configure kernel with “make menuconfig” (alternatively use “make xconfig” or “make qconfig”)
Configure kernel with “make menuconfig” (alternatively use “make xconfig” or “make qconfig”)
Linux Kernel Configuration Device Drivers ---> <*> Industrial I/O support ---> --- Industrial I/O support -*- Enable ring buffer support within IIO -*- Industrial I/O lock free software ring -*- Enable triggered sampling support *** Analog to digital converters *** [--snip--] <*> Generic AXI JESD204B configuration driver [--snip--]
# cd 44a60000.axi-jesd-gt/ # ls -al total 0 drwxr-xr-x 2 root root 0 Jan 1 00:21 . drwxr-xr-x 25 root root 0 Jan 1 00:00 .. lrwxrwxrwx 1 root root 0 Jan 1 00:24 driver -> ../../../bus/platform/drivers/cf_axi_jesd204b_gt -rw-r--r-- 1 root root 4096 Jan 1 00:24 driver_override --w------- 1 root root 4096 Jan 1 00:24 enable -r-------- 1 root root 132600 Jan 1 00:24 eye_data -r-------- 1 root root 4096 Jan 1 00:24 info -r--r--r-- 1 root root 4096 Jan 1 00:24 modalias --w------- 1 root root 4096 Jan 1 00:24 prescale -rw------- 1 root root 4096 Jan 1 00:24 reg_access lrwxrwxrwx 1 root root 0 Jan 1 00:24 subsystem -> ../../../bus/platform -rw-r--r-- 1 root root 4096 Jan 1 00:24 uevent # cat info x65,y255 CDRDW: 40
湉是什么意思 | 盆腔炎用什么药效果好 | 胡巴是什么 | 来大姨妈喝红糖水有什么作用 | 前列腺是什么东西 |
回肠荡气什么意思 | 众生是什么意思 | 羊与什么生肖相合 | 歹人是什么意思 | 血小板分布宽度偏低是什么原因 |
八六年属什么 | 头皮屑是什么 | 高血糖喝什么茶好 | 脉沉细是什么意思 | 杵状指见于什么疾病 |
急性肠胃炎吃什么药好 | 突然是什么意思 | 什么是针灸 | 上大便出血是什么原因 | 品规是什么意思 |
爱是什么词hcv9jop2ns3r.cn | 肺结核吃什么药hcv7jop5ns0r.cn | 女人怀孕的最佳时间是什么时间hcv8jop1ns0r.cn | 异常的异是什么意思hcv9jop4ns0r.cn | 头昏是什么原因引起的hcv8jop8ns4r.cn |
肠胃功能紊乱吃什么药fenrenren.com | 孕妇腿抽筋是什么原因hcv9jop3ns1r.cn | 为什么会胀气xinjiangjialails.com | nt检查什么hcv8jop0ns7r.cn | 飞鱼籽是什么鱼的籽gysmod.com |
腰肌劳损需要注意什么hcv9jop5ns3r.cn | 储备是什么意思hcv8jop9ns4r.cn | 血糖高什么原因引起hcv8jop4ns3r.cn | 乳头瘤病毒是什么意思hcv9jop1ns4r.cn | wv是什么意思cj623037.com |
双手发抖是什么原因hcv8jop3ns7r.cn | unny是什么牌子hcv9jop7ns9r.cn | 梦见吃螃蟹是什么预兆hcv8jop5ns1r.cn | 火车无座是什么意思gysmod.com | 唇炎是什么原因引起的hcv8jop1ns6r.cn |