02-26-2021 05:03 AM
I am using Vivado 2020.2 and the petalinux BSP for 2020.2.
The AXI-Stream Fifo in the IP catalog is v4.2 and produces a DTSI with this:
axi_fifo_mm_s_0: axi_fifo_mm_s@a0040000 {
clock-names = "s_axi_aclk";
clocks = <&zynqmp_clk 71>;
compatible = "xlnx,axi-fifo-mm-s-4.2";
However the driver (https://github.com/Xilinx/linux-xlnx/blob/master/drivers/staging/axis-fifo/axis-fifo.c) has this:
static const struct of_device_id axis_fifo_of_match[] = {
{ .compatible = "xlnx,axi-fifo-mm-s-4.1", },
{},
};
Since the compatible strings don't match the driver is not probed when the dtb overlay is applied.
Changing one of these seems to work fine (I'm not sure if there were any actual interface changes) but is pretty annoying. Probably the new version needs to be added to the driver compatible string, or putting the version in the compatible string needs to be reconsidered.
03-09-2021 03:24 AM
At least the Programmable Empty and Full flags in the Interrupt Status Register can behave differently as their range has been modified.