Skip to content

Commit 1937e38

Browse files
ovpanaitgregkh
authored andcommitted
staging: axis-fifo: add compatible strings for v4.2 and v4.3
The driver is compatible with both v4.2 and v4.3 versions of the Xilinx AXI4-Stream FIFO, so add compatible strings for them. Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com> Link: https://lore.kernel.org/r/20250919195400.3180039-1-ovidiu.panait.oss@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 70d45d4 commit 1937e38

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

drivers/staging/axis-fifo/axis-fifo.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static void axis_fifo_remove(struct platform_device *pdev)
764764

765765
static const struct of_device_id axis_fifo_of_match[] = {
766766
{ .compatible = "xlnx,axi-fifo-mm-s-4.1", },
767+
{ .compatible = "xlnx,axi-fifo-mm-s-4.2", },
768+
{ .compatible = "xlnx,axi-fifo-mm-s-4.3", },
767769
{},
768770
};
769771
MODULE_DEVICE_TABLE(of, axis_fifo_of_match);
@@ -806,4 +808,4 @@ module_exit(axis_fifo_exit);
806808

807809
MODULE_LICENSE("GPL");
808810
MODULE_AUTHOR("Jacob Feder <jacobsfeder@gmail.com>");
809-
MODULE_DESCRIPTION("Xilinx AXI-Stream FIFO v4.1 IP core driver");
811+
MODULE_DESCRIPTION("Xilinx AXI-Stream FIFO IP core driver");

drivers/staging/axis-fifo/axis-fifo.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ AXI4-Lite interface. DOES NOT support:
1414
- AXI4 (non-lite)
1515

1616
Required properties:
17-
- compatible: Should be "xlnx,axi-fifo-mm-s-4.1"
17+
- compatible: Should be one of:
18+
"xlnx,axi-fifo-mm-s-4.1"
19+
"xlnx,axi-fifo-mm-s-4.2"
20+
"xlnx,axi-fifo-mm-s-4.3"
1821
- interrupt-names: Should be "interrupt"
1922
- interrupt-parent: Should be <&intc>
2023
- interrupts: Should contain interrupts lines.

0 commit comments

Comments
 (0)