From patchwork Tue Feb 7 08:16:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9559389 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 0933D60216 for ; Tue, 7 Feb 2017 08:18:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F212E28178 for ; Tue, 7 Feb 2017 08:18:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E70482819A; Tue, 7 Feb 2017 08:18:12 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 661FF2816B for ; Tue, 7 Feb 2017 08:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753471AbdBGIR6 (ORCPT ); Tue, 7 Feb 2017 03:17:58 -0500 Received: from mail-qk0-f176.google.com ([209.85.220.176]:33917 "EHLO mail-qk0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752530AbdBGIRy (ORCPT ); Tue, 7 Feb 2017 03:17:54 -0500 Received: by mail-qk0-f176.google.com with SMTP id s186so80593503qkb.1 for ; Tue, 07 Feb 2017 00:17:49 -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=A3bvX08/cyvklsh5jCupH4d+GoAmHgyQNwkv+TNb4TWH7L5LlTZ6qwbiPP3bPbUL1O /rIZyFqusx6cyIyEUygZup0Aa1YeM/EdN2K+inSYEFy8S0UgrSvGGZ01sy4meWvnE0EP GEYUekxP+/ydSqrnXk6FQC+/FlAKYA0Ac4m04= 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=qwO1z/11Z/lyChYbFN3SeieyXITcE33/ieOVxbSSPcZNtbt8LHsT6/+rTCpZpbRaK6 pILSqvPh6u1QtZ49GnGNCJjihMu2EdFj6x1McIGghOt0SdT7xBFAQNv/nygT+6InffUc g3FKNKxiubqFnoZU3ppNSrfL4XYXvmtmTqZ5++Cl1t1eg7vJMjJBEKfD+0QwI0eVKgLT 1ZpuWvRf4TMFbgFIIx2udEX4sh4Y0ZQWrsg2J6HeEzg+cBuOKsnwA52/o7ZOAZRHrP8e y7XvoPhG+uy4ZBwevqu0p3i+iRnS8QDVPCKlpPyssSlBrAqIfKOqy9Gzqqn6occptz/O UGGQ== X-Gm-Message-State: AMke39m4VMrf/F75Xfjjm+5EU74xUIdukxuTLB+Uz30Emx5xSEAgABKRMt9HNlH2KAtSRMm5 X-Received: by 10.55.212.157 with SMTP id s29mr14644495qks.240.1486455468718; Tue, 07 Feb 2017 00:17:48 -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 u5sm2750555qkd.46.2017.02.07.00.17.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 00:17:48 -0800 (PST) From: Anup Patel To: Vinod Koul , Rob Herring , Mark Rutland , Herbert Xu , "David S . Miller" , Jassi Brar Cc: Dan Williams , Ray Jui , Scott Branden , Jon Mason , Rob Rice , bcm-kernel-feedback-list@broadcom.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-raid@vger.kernel.org, Anup Patel Subject: [PATCH v2 5/5] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver Date: Tue, 7 Feb 2017 13:46:46 +0530 Message-Id: <1486455406-11202-6-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486455406-11202-1-git-send-email-anup.patel@broadcom.com> References: <1486455406-11202-1-git-send-email-anup.patel@broadcom.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.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>; +};