From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31D35282F36 for ; Sun, 21 Jun 2026 13:35:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782048923; cv=none; b=Tq284xXcl62T241ZuIohTevqtpBoM+qmCuLGf6LeIQ5VvpquAX7wJABXA5fj2vmiw/FgQDvaCRwB7K4dxRNowh1meBuA7K9oRLrnmTRtJDCl8Z6yAVifkj07iJeyXffzC5B5LiJHftWyib6wQDkApGlZVEV/dqb+NBHGgRNOzR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782048923; c=relaxed/simple; bh=7JCnVAFhFlMcb0l+PNAP37agEA9T5pW/doTDbUhu+Mg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=D0URcC1QlpfzhhqPMmdf488dfTjX/QTf4+BluEzBd3CZooU6Km9+0zutlcT5THXpuJXSpxa9NORBlPhf+kTD2Q1HXON4jwWYyx7WKRuYKvVpLNhgQqLGQAtcEEajVzHZ+ZqkEMh29juV89MU8qjDcP9VyyCSs4MKMBTR97YHHxg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DTas8wc6; arc=none smtp.client-ip=209.85.210.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DTas8wc6" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-8423610ec93so3297912b3a.2 for ; Sun, 21 Jun 2026 06:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782048921; x=1782653721; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=B2yda05V6cTcWFnExOApx6SpU7sKiC7KgPbiEUoNzwo=; b=DTas8wc6N2RUOUAi3Oyu73qEl+bN0C5ylatO38lZX+fu4bsF83LmGJ5g8czyMfbB/7 SDWI0KVpgRLRNsTIw52jcglW6aB4y3HeDJbCWV0loJI++OlAESsEDpO033Ywvb96sGF7 3n0agdyx/E2R7ClqibaJi/F2sIAznlP9okMDlHvUG8xmGSbToX6mgUbYeenqkG30H28i Q2LGqtRtODSgsdqCnkm0vkG8ClIIr9+pQaPPHg6Q47ZvMkcPnfQr7wja3OCr+APPbv4D Z1bP5odHR+57KSjz7O//U8YA0D6TfZZv3V4RTISRv3PcDPYRhip9OdC1ngjGompVwZSc IwaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782048921; x=1782653721; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=B2yda05V6cTcWFnExOApx6SpU7sKiC7KgPbiEUoNzwo=; b=qVNgl5DEv6XCtonaT9WvunxCDW5fVZG+H3PfcCVYvaAAx5pgt8zRHA+iC55z+gCi/F /dTxt76yF1x2/9Z6JrmR3ooU5b4gt4YQH/sBsILooHWxWocrzeWTnQL3lrxm/fs/1Q3L cNJM3797iqZ0H7HO8QsOqnbLBJxCQekW9Et9n6nsEQNL6AUUchttqXEDHG6aNKJL4RZm Nhy8HiujU0oJHrYtD6xKTA0niEAVOAVJQs0AWlANGYW8SMCeGVaL/FmyqbBwSbuYvroU UR0JdMjYxv1YGTFoAE0RqgAwCgM/qMMVUsFUztKx5hkQ1TKFpmb2n+06j4Hdydhan4fv bQBQ== X-Forwarded-Encrypted: i=1; AFNElJ9U7CySV3RVI3H1J2Fp9/ZucvKa7kOh/tSwM6Yce8gONegnDZRO+cj07c6prTvtPtqEvdVriMMTu6626Uw=@vger.kernel.org X-Gm-Message-State: AOJu0YwMcUSugOQhITK35KCDSyDUURiURVWQ+G/rCaNyyjSAta+qsMbV nDgmwBl1U+ABAWTeVEszHq7BI7VBZH5dHDSeqWcHyQOemyWZtxK6HLEw X-Gm-Gg: AfdE7clVcvEKPaG4yEtvmwCGnvpsAcmj9cmpNto9kUDmu93KbuT9RlQL2apG/jzZNNk EVT9TU1IUsuEl16MqFLZ6txRtZstmEBdtWU4RuT1urXj6ZBpW8eXzTQC9kAkOO/OU4YCleH7Pa/ 9iLp/SZDtg5XYBU6RBcgCo8GfoawUT5WfKfFL9rN/zVxCq5eNCW9u+eK8N9qDQvQ6IbDH4py93o /ZGks8KjeHXvjLTxE2qPYT1KA9iYPL5AEoQjgDwblYbZkAMi8PFtY1D/yX8siEY0hdhKhIUWUMD eg6zGKizdivoJAZoJc5MafLd8OIuM/7cTXsmMZEBP63HkWpZrItzIUq7SDtWGN+gD9jF39SH6y6 OxQt9oSsuSujDoOrEVMBijudXp51FljJwo0tXESP0kxQGX4WRTbkumi1Z4b85rfyjO2QO8opp3l fLn6c+EOyAroV0wlkFmmhVgAjt8igVb7kdKvu46zmt1A== X-Received: by 2002:a05:6a00:2789:b0:842:6fec:1297 with SMTP id d2e1a72fcca58-8455078a336mr11186859b3a.9.1782048921205; Sun, 21 Jun 2026 06:35:21 -0700 (PDT) Received: from kernel-dev ([49.36.101.14]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84564d6c5dbsm4502601b3a.12.2026.06.21.06.35.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2026 06:35:20 -0700 (PDT) From: Aditya Chari To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, gregkh@linuxfoundation.org Cc: jacobsfeder@gmail.com, devicetree@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Aditya Chari Subject: [PATCH] dt-bindings: misc: add binding for Xilinx AXI-Stream FIFO Date: Sun, 21 Jun 2026 14:22:09 +0530 Message-ID: <20260621085209.52651-1-adi25charis@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The axis-fifo driver's compatible strings were undocumented, flagged by checkpatch.pl as UNDOCUMENTED_DT_STRING. Add a devicetree binding document describing the required properties for drivers/staging/axis-fifo, derived from the properties the driver reads via of_property_read_u32() in axis_fifo_parse_dt(). Signed-off-by: Aditya Chari --- .../bindings/misc/xlnx,axi-fifo-mm-s.yaml | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/xlnx,axi-fifo-mm-s.yaml diff --git a/Documentation/devicetree/bindings/misc/xlnx,axi-fifo-mm-s.yaml b/Documentation/devicetree/bindings/misc/xlnx,axi-fifo-mm-s.yaml new file mode 100644 index 000000000..8ef0adde3 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/xlnx,axi-fifo-mm-s.yaml @@ -0,0 +1,95 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/xlnx,axi-fifo-mm-s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx AXI-Stream FIFO (axis-fifo) + +maintainers: + - Jacob Feder + +description: + The AXI-Stream FIFO (AXIS-FIFO) IP core provides a memory-mapped AXI4-Lite + interface for sending and receiving data over an AXI4-Stream interface + using FIFO buffers. See Xilinx PG080 for IP details. + +properties: + compatible: + enum: + - xlnx,axi-fifo-mm-s-4.1 + - xlnx,axi-fifo-mm-s-4.2 + - xlnx,axi-fifo-mm-s-4.3 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + xlnx,axi-str-rxd-tdata-width: + description: + Width in bits of the AXI4-Stream receive data interface. Only a + width of 32 is currently supported by the driver. + $ref: /schemas/types.yaml#/definitions/uint32 + const: 32 + + xlnx,axi-str-txd-tdata-width: + description: + Width in bits of the AXI4-Stream transmit data interface. Only a + width of 32 is currently supported by the driver. + $ref: /schemas/types.yaml#/definitions/uint32 + const: 32 + + xlnx,rx-fifo-depth: + description: + Depth in bytes of the receive FIFO, as configured in the IP core. + $ref: /schemas/types.yaml#/definitions/uint32 + + xlnx,tx-fifo-depth: + description: + Depth in bytes of the transmit FIFO, as configured in the IP core. + $ref: /schemas/types.yaml#/definitions/uint32 + + xlnx,use-rx-data: + description: + Indicates whether the receive data path is present, as configured + in the IP core. A value of 1 enables the receive path, 0 disables it. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1 ] + + xlnx,use-tx-data: + description: + Indicates whether the transmit data path is present, as configured + in the IP core. A value of 1 enables the transmit path, 0 disables it. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1 ] + +required: + - compatible + - reg + - interrupts + - xlnx,axi-str-rxd-tdata-width + - xlnx,axi-str-txd-tdata-width + - xlnx,rx-fifo-depth + - xlnx,tx-fifo-depth + - xlnx,use-rx-data + - xlnx,use-tx-data + +additionalProperties: false + +examples: + - | + #include + + axi_fifo_mm_s_0: axi-fifo-mm-s@40000000 { + compatible = "xlnx,axi-fifo-mm-s-4.1"; + reg = <0x40000000 0x10000>; + interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>; + xlnx,axi-str-rxd-tdata-width = <32>; + xlnx,axi-str-txd-tdata-width = <32>; + xlnx,rx-fifo-depth = <2048>; + xlnx,tx-fifo-depth = <2048>; + xlnx,use-rx-data = <1>; + xlnx,use-tx-data = <1>; + }; -- 2.53.0