This is an old revision of the document!
The AXI JESD204B RX peripheral driver is a simple driver that supports the ADI JESD204B Receive Peripheral. The driver reads JESD204B link configuration data from the devicetree and configures the peripheral accordingly. After configuration has completed the JESD204B link is enabled. Link state can be monitored through sysfs files.
Source | Mainlined? |
---|---|
drivers/iio/jesd204/axi_jesd204_rx.c | No |
Function | File |
---|---|
driver | drivers/iio/jesd204/axi_jesd204_rx.c |
The AXI JESD204B driver is a platform driver and can currently only be instantiated via device tree.
Required devicetree properties:
K
)N
)Optional devicetree properties:
HD
) operation.Example:
jesd204b-rx@77a00000 { compatible = "adi,axi-jesd204b-rx-1.00.a"; reg = <0x77b00000 0x10000>; interrupts = <0 56 4>; clock-names = "s_axi_aclk", "device_clk"; clocks = <&clkc 14>, <&ad9528 13>; adi,octets-per-frame = <32>; adi,frames-per-multiframe = <4>; };
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 <*> JESD204 High-Speed Serial Interface Support ---> [--snip--] <*> Analog Devices AXI JESD204B RX Support [--snip--]