From patchwork Fri May 25 16:06:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liming Sun X-Patchwork-Id: 10427947 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7FC7F602D6 for ; Fri, 25 May 2018 16:34:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FB852944E for ; Fri, 25 May 2018 16:34:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FF6629783; Fri, 25 May 2018 16:34:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D9AD82944E for ; Fri, 25 May 2018 16:34:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=QcqJ9iDopcprAxT76h9C19Ozd+kVenw/X4LMMqj9v18=; b=NI6AggENYqGTvj8Qgd5C/gDrxQ QbJvWOSa3d+z7QicdGT0RMYJp21kgxuPuOEEOT3G4fTnmvKbveuu8Aa/I27/s7vIoCDDBHBm6dBNR dQJ+6X4dZ7QtAnyiqnKMeng/GJblDKKOBnTPECBSQ7FxA4zdJ2VJDzx9kVDRDt0/IuUHM6GTzUTr5 WrMf7cJS5GWKCIfS3DjvDu1FEMNYbwqtMT5kKLsjyfKU+Vz8CleENkEIsCzbD+tMVkEADtL/qPzLC bMHd/M+qviXeG1voYRYofLHlr8z1G0deQVFqniM/CNR9qBNvhYiASgCvbILvJfaFQiniCcLWYBjcd bD82Je1g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMFfv-0002oN-Cl; Fri, 25 May 2018 16:34:43 +0000 Received: from mail-il-dmz.mellanox.com ([193.47.165.129] helo=mellanox.co.il) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMFfQ-0002Tr-Uk for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 16:34:15 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from lsun@mellanox.com) with ESMTPS (AES256-SHA encrypted); 25 May 2018 19:35:53 +0300 Received: from localhost.localdomain (lab-14.mtbu.labs.mlnx [10.15.8.98]) by mtbu-labmailer.labs.mlnx (8.14.4/8.14.4) with ESMTP id w4PGXpGl018332; Fri, 25 May 2018 12:33:52 -0400 Received: (from lsun@localhost) by lab-14.mtbu.labs.mlnx (8.14.7/8.13.8/Submit) id w4PG7Yl3026167; Fri, 25 May 2018 12:07:34 -0400 From: Liming Sun To: Olof Johansson , Arnd Bergmann , David Woods Subject: [PATCH v1 3/4] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Date: Fri, 25 May 2018 12:06:57 -0400 Message-Id: <7df0814868fd1b260d2336f9a76fc26d51496c33.1527264077.git.lsun@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180525_093413_417063_32DF237F X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Liming Sun , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Reviewed-by: David Woods Signed-off-by: Liming Sun --- .../devicetree/bindings/soc/mellanox/tmfifo.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mellanox/tmfifo.txt diff --git a/Documentation/devicetree/bindings/soc/mellanox/tmfifo.txt b/Documentation/devicetree/bindings/soc/mellanox/tmfifo.txt new file mode 100644 index 0000000..0a362f5 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/mellanox/tmfifo.txt @@ -0,0 +1,20 @@ +* Mellanox BlueField SoC TmFifo + +BlueField TmFifo provides a shared FIFO between the target and the +external host machine, which can be accessed via USB or PCIe. + +Required properties: + +- compatible: Should be "mellanox,bf-tmfifo" +- reg: Physical base address and length of Rx/Tx block +- interrupts: The interrupt number of Rx low water mark, Rx high water mark + Tx low water mark, Tx high water mark respectively. + +Example: + +tmfifo@800a20 { + compatible = "mellanox,bf-tmfifo"; + reg = <0x00800a20 0x00000018 + 0x00800a40 0x00000018>; + interrupts = <41, 42, 43, 44>; +};