From patchwork Thu Feb 2 04:47:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9551023 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 EB7A160424 for ; Thu, 2 Feb 2017 04:52:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3FDA2844A for ; Thu, 2 Feb 2017 04:52:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B83472845F; Thu, 2 Feb 2017 04:52:20 +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=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 59CA42844A for ; Thu, 2 Feb 2017 04:52:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cZ9Na-0008Fu-4k; Thu, 02 Feb 2017 04:52:18 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZ9NY-00087Q-6e for linux-arm-kernel@bombadil.infradead.org; Thu, 02 Feb 2017 04:52:16 +0000 Received: from mail-qt0-x22b.google.com ([2607:f8b0:400d:c0d::22b]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZ9LS-0002lp-0O for linux-arm-kernel@lists.infradead.org; Thu, 02 Feb 2017 04:50:07 +0000 Received: by mail-qt0-x22b.google.com with SMTP id k15so9754553qtg.3 for ; Wed, 01 Feb 2017 20:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EwHHm89WBGI563DMQ9vbaqZbo7Ox61W5cVe0Sx5SlqU=; b=GDGym0+p8P4ixxUD3u+9asFumGzz0D7EWVgNnHg2wawZNLSodb2WP8AD3a5//wmC6j fZRknch6o8/9P04Pr9GYLYugPUje55LwP6hQdyDLCib4FNqwbEag+QSFdsMGb4l5upsY GnDUAbMc732jbx8XX1s0gQiOmiTK9CsN9OlaY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EwHHm89WBGI563DMQ9vbaqZbo7Ox61W5cVe0Sx5SlqU=; b=qCgpPXe9zjPXiNFDg/QW4Anc0Bd75cWHgNQ2jjX2oXcHNBLr3KB6dAiLnFgssWdGPy rd8v8cXEW37bcKShu5xGKjbLqQLobwv8Ef5NwD+R35Urzey+YfQplZoIDEDsxrF+Gfph dCDPF2OlGic0UM92q3hQxk2To4Q+AtF2qb/hmRERZu8ipmi/SvD3SjLyN4FhbuVMLHb4 4KG/8yoCRhQdiRuRgo0PmkM9ZsAsRrfgbwL5oFR0alyp5VH/8Oe/ZSh6etGtByLyZUYH HY1MSVhAkZP6oebTBP1wgSfdJ+AVFwRsLtZ5wYTKZr/8Q3kvcfPH5YEmvah1haiFJLFt byhA== X-Gm-Message-State: AIkVDXKF0LKmyZ9wmjq2OXDzDwLWpvxxtOqx3PywDeodFrFT6UBiPUmo22qPUGuWQcNY2zNi X-Received: by 10.200.49.106 with SMTP id h39mr6701865qtb.257.1486010922659; Wed, 01 Feb 2017 20:48:42 -0800 (PST) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id y189sm20532696qky.39.2017.02.01.20.48.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Feb 2017 20:48:42 -0800 (PST) From: Anup Patel To: Vinod Koul , Rob Herring , Mark Rutland , Herbert Xu , "David S . Miller" , Jassi Brar Subject: [PATCH 6/6] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver Date: Thu, 2 Feb 2017 10:17:16 +0530 Message-Id: <1486010836-25228-7-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486010836-25228-1-git-send-email-anup.patel@broadcom.com> References: <1486010836-25228-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170201_235006_098619_78DE4814 X-CRM114-Status: GOOD ( 12.48 ) 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, Anup Patel , Scott Branden , Jon Mason , Ray Jui , linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-crypto@vger.kernel.org, Rob Rice , dmaengine@vger.kernel.org, Dan Williams , 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 This patch adds the DT bindings document for newly added Broadcom SBA RAID driver. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/dma/brcm,iproc-sba.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt diff --git a/Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt b/Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt new file mode 100644 index 0000000..092913a --- /dev/null +++ b/Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt @@ -0,0 +1,29 @@ +* Broadcom SBA RAID engine + +Required properties: +- compatible: Should be one of the following + "brcm,iproc-sba" + "brcm,iproc-sba-v2" + The "brcm,iproc-sba" has support for only 6 PQ coefficients + The "brcm,iproc-sba-v2" has support for only 30 PQ coefficients +- mboxes: List of phandle and mailbox channel specifiers + +Example: + +raid_mbox: mbox@67400000 { + ... + #mbox-cells = <3>; + ... +}; + +raid0 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 0 0x1 0xffff>, + <&raid_mbox 1 0x1 0xffff>, + <&raid_mbox 2 0x1 0xffff>, + <&raid_mbox 3 0x1 0xffff>, + <&raid_mbox 4 0x1 0xffff>, + <&raid_mbox 5 0x1 0xffff>, + <&raid_mbox 6 0x1 0xffff>, + <&raid_mbox 7 0x1 0xffff>; +};