From patchwork Mon May 15 05:04:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9726079 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 9FD7D60380 for ; Mon, 15 May 2017 05:06:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95DAC28953 for ; Mon, 15 May 2017 05:06:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A69F28956; Mon, 15 May 2017 05:06:31 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham 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 1AF1A28953 for ; Mon, 15 May 2017 05:06:31 +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=ExjRSpzdkQpK8Bfkgg654Cqu9FrlcvuqVFn8FJASvko=; b=macEdmxopCZVU8ilqXjan/XZdQ aHO/HingcPi7eu2NwiX51emSluFn6v7kyWpKEcr+6dxR0AaXM/YvM2SqtYQoJJYry65zWLhBLKaU7 5Oz4d4FoxzxgeWDDg+gsRytD0hVuJA75hE5HkI9m3RiFFCVFgbwKvzyNbEBoZsX2rjt/2WNNVOvQW KrQsBpWmhsSSMAANIim1vdOY+kDmV9zY0vDp5ZUtWk+jjW2yoQ+j2vfIEOQPT6N1az/SLc6ENPO9f 8dJI/c97qoFO2uE+t9ykbM7YyoQRRbafCdIGUc1EQGYD+mTNmYb/kz2l9sx/qddCEJTTQRnMJlvAH 4Q5mlOUg==; 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 1dA8DG-0002ZR-MH; Mon, 15 May 2017 05:06:30 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dA8Ct-0001fS-Kk for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2017 05:06:10 +0000 Received: by mail-pf0-x233.google.com with SMTP id n23so51863389pfb.2 for ; Sun, 14 May 2017 22:05:47 -0700 (PDT) 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=9vwzHKQyxpCK83s86VCrp/JeZQ3k+stAHouZOThSqOA=; b=NWZBvZ4I9c0vvWKMam+T3ZIbM7xBH7p6nhYogcdnJMzvzkxxnWSMCNH+Ejb+WMAuMS h8g6MN5M680OUhvWW9F1Xcoe+dMl74XsQPQV+BIhAWF71q1O6zdHJcTwY7uwMgtT8EHu HYEg8W9o1S8YraFyuoCzGdP0ekuCFFmXet1b0= 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=9vwzHKQyxpCK83s86VCrp/JeZQ3k+stAHouZOThSqOA=; b=Q/gqY74OUE2AkbfBQ++/OAH8H/Nj10CjV6G/zkHxcLEVmj9JYa/EMiRRKL2XnMoIlS lzapPk7OWgfJPdCiqFCChKBq64MmaHN9xjXLtAcewXbQFl1IkPOBZJ7dTpymGdwrAoIq 5IHBVamxwEGKddsUjc6TDzyRtDhHSUjz/d5+PBeHHnRuSE05AmiHfBdlkpd+K3Jk251T Z8wUeVuKf08gmBCK6FQDaNZXorUOnYTbJHnZmyTgoV/1RYY+MwEwvo/6XDjszUCPzHwX 9qZ3NHGaMdWdHDuFa+4EkL33IrSKUTuTFxb9qn86vFcaalHDw4aX3Pe5o2TieXaWZTp8 D3PQ== X-Gm-Message-State: AODbwcCFAeUIXwqI1soJYPtS/3aBdYE8aSBqTu1EAePVEZ6WZn2pGnCI 2+7PW97PxppT+LSg X-Received: by 10.84.198.36 with SMTP id o33mr6009364pld.145.1494824746509; Sun, 14 May 2017 22:05:46 -0700 (PDT) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id q28sm16623363pgc.0.2017.05.14.22.05.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 May 2017 22:05:46 -0700 (PDT) From: Anup Patel To: Vinod Koul , Rob Herring , Mark Rutland , Herbert Xu , "David S . Miller" , Jassi Brar Subject: [PATCH v8 4/4] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver Date: Mon, 15 May 2017 10:34:55 +0530 Message-Id: <1494824695-21797-5-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494824695-21797-1-git-send-email-anup.patel@broadcom.com> References: <1494824695-21797-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170514_220608_173752_AD185955 X-CRM114-Status: GOOD ( 12.51 ) 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. Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../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>; +};