Re: [PATCH v2] dt-bindings: misc: Add binding for Xilinx AXI-Stream FIFO
From: Greg KH
Date: Sun May 10 2026 - 12:10:02 EST
On Sun, May 10, 2026 at 04:44:57AM -0400, Pramod Maurya wrote:
> Add a YAML schema for the Xilinx AXI-Stream FIFO IP core (PG080).
> The binding documents the three supported compatible strings and all
> vendor-specific properties that the axis-fifo driver reads from the
> device tree.
>
> This resolves the following checkpatch.pl warnings in
> drivers/staging/axis-fifo/axis-fifo.c:
> WARNING: DT compatible string "xlnx,axi-fifo-mm-s-4.1" appears un-documented
> WARNING: DT compatible string "xlnx,axi-fifo-mm-s-4.2" appears un-documented
> WARNING: DT compatible string "xlnx,axi-fifo-mm-s-4.3" appears un-documented
>
> Signed-off-by: Pramod Maurya <pramod.nexgen@xxxxxxxxx>
> ---
> Changes in v2:
> - Delete drivers/staging/axis-fifo/axis-fifo.txt as part of the
> conversion (was missing from v1)
> - Add all Vivado-generated properties to the schema so that real
> hardware DT nodes pass validation with additionalProperties: false
> - Update example to match a realistic Vivado-generated DT node
> including all properties
>
> .../bindings/misc/xlnx,axi-fifo-mm-s.yaml | 265 ++++++++++++++++++
> MAINTAINERS | 6 +
> drivers/staging/axis-fifo/axis-fifo.txt | 96 -------
> 3 files changed, 271 insertions(+), 96 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/misc/xlnx,axi-fifo-mm-s.yaml
No, staging drivers need to be self-contained. When/if the axis-fifo
driver moves out of drivers/staging/ this can happen, but not until
then.
You can convert this to yaml in-place if you want, AND you can test that
the conversion is correct. Do you have this hardware to test this with?
thanks,
greg k-h