From patchwork Mon Mar 6 09:43:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9605571 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 DA084601D2 for ; Mon, 6 Mar 2017 09:45:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9E62279B3 for ; Mon, 6 Mar 2017 09:45:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E21628346; Mon, 6 Mar 2017 09:45:28 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 0D9F6279B3 for ; Mon, 6 Mar 2017 09:45:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752926AbdCFJpX (ORCPT ); Mon, 6 Mar 2017 04:45:23 -0500 Received: from mail-qk0-f169.google.com ([209.85.220.169]:36723 "EHLO mail-qk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754226AbdCFJoh (ORCPT ); Mon, 6 Mar 2017 04:44:37 -0500 Received: by mail-qk0-f169.google.com with SMTP id 1so144285194qkl.3 for ; Mon, 06 Mar 2017 01:44:36 -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=9vwzHKQyxpCK83s86VCrp/JeZQ3k+stAHouZOThSqOA=; b=Qg3miBaWt1gLEw73XsbFyw/PFrY5sqA9LQLoR8deFsk5D3kobT5l8z7gnHkkTrYCil B5dE2ydsX8IpQFPibQzlTh/rHwUbX0Pntcca1pQsbw6Ngsuq4ODZFMen6wx03Mi9Th1S S5C9/BKbmZqGJVY7i226bxcRyP21Gs7HA1Fu4= 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=tD3+PyqJ72eOj+Ya5/MW1lJroS4PjdjrN2+uvfeNS6Jd1EMdK0xHFM0Jbu47TMdrz+ oJQQeSq1Cz9FLBwPja2XM6JoAlLC5im0Z9s4yroDn+bYbjFXDKAGfbAwByMIiqDNzu4z YslabZPkl9Zo2s7x2N+gfyErXiRw5s9hZSkg9Ojfwp5CbabD3/WFMBcHtPSL3WVqDKXC p68LfwGjjyUrIl4QzvJj8LetUAYUHrtLRQmBg4NuqByFaBcqf9jslUC6uL9xFP2tFTqH hMEQW0nJT6oIAgyAvW7DAE/xi0M8Xm8AakkDNmmOLf0dUHJGyAQBsLVkf2FQVQWmFyQ9 xGmQ== X-Gm-Message-State: AMke39lcqWnJojt/Oquam0kPeddOgDh6bRSac29Ln+mdXSx4DdEKM9npd4+YRHn14onjJb3m X-Received: by 10.237.33.251 with SMTP id m56mr16003124qtc.121.1488793475472; Mon, 06 Mar 2017 01:44:35 -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 q66sm13017276qkd.69.2017.03.06.01.44.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Mar 2017 01:44:34 -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 v6 4/4] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver Date: Mon, 6 Mar 2017 15:13:28 +0530 Message-Id: <1488793408-25592-5-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488793408-25592-1-git-send-email-anup.patel@broadcom.com> References: <1488793408-25592-1-git-send-email-anup.patel@broadcom.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.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>; +};