From patchwork Fri Feb 10 09:07:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9566223 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 6013E60216 for ; Fri, 10 Feb 2017 09:09:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CDC528544 for ; Fri, 10 Feb 2017 09:09:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F20B28551; Fri, 10 Feb 2017 09:09:36 +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 C256C28544 for ; Fri, 10 Feb 2017 09:09:35 +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=i5lcgxw6nm8/hZULyqJFAZjO1QNDoM1zLcw/72KHeFo=; b=B9+PBtfIbat7Nn9t6j8s4f3Tso JYFwCG02L8XpO2DgLMpwSoXLhq9hvDkSMxvZ6I7YBeVXwlQ7IFv8NngQD3OFPdktfHEUD4lEE1yIn IkgraxOjfmPHmskYVPFnHUTPk6UZkiC8y+sxOrMq76xkzU88xS+lVbH94qIryUaGPN9AqgYfNzYB2 F9YmuKBYveNaeTTqULUivtvvxDs7Ie4sAmWnSlLR4rGOXrk0LioBLa2nS1Q8L1b4mExcqpecjfUnb THGXHFz6agxVwnw1wBv/YQs4ETEVBUgWxn1AlfhwuOYp5WMNIuHeM7sdvShiigvbwqAPjIDXawfHs 4jPmFSOA==; 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 1cc7Cs-0006UK-9Z; Fri, 10 Feb 2017 09:09:30 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cc7C5-0005gY-F3 for linux-arm-kernel@lists.infradead.org; Fri, 10 Feb 2017 09:09:01 +0000 Received: by mail-wm0-x235.google.com with SMTP id c85so254159712wmi.1 for ; Fri, 10 Feb 2017 01:08:21 -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=QVOipRYfhtVpCrwxhLUOVoImBrDje1PYpLYvV1bHG0zfWEO3aSUeXxMOcYASNDtCg7 J0lEXkYpvNAA84CFRkQAX0l/UNezCF5ffM6wIA++Oprbgix7u32OvW+S6Sh2SwkweYw7 purrAuSC7hL9JjdqOS+/hKTpqvFZc+YlcLoJE= 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=lwbLp8uuJs9s58tAMUUHfasPCsuyr4CpuKIJ7lGIl/T6gGFldTi/RoQnRpqhXHo8BC 7yv+cA06NQ1mJ1k8ArPImn8+PeBHZEGtPfj17CRpz9WF1H89H70TgSQu9ZsZW4zPopWx spaQbfiaUIRSuwsV1M+IBJm6MsmkLggF61L5YOmnmKPZknLleLM7O8Etu3GGH6VwvU7C DlfoNANTsTsjj8ooG/KZBTDd7nVPFxrHpJ/GHa26U3BwvMyvWe0WT+rpFZRfwzb2z9CV Pxm2AwgKkVArN9I6lKpAAGILjPb8lBJP+vMyGoA5QcA0oP0DZ7qTY60SfWLuvwlTNRCK 1VNA== X-Gm-Message-State: AMke39m6hYM3bLZVOpTfD1wb/sWUcVxdH9C1OMJ49oWx2s9Q9M15F04FEabz7QvlMNwcHlEp X-Received: by 10.28.55.68 with SMTP id e65mr6685935wma.62.1486717699869; Fri, 10 Feb 2017 01:08:19 -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 k4sm498095wmf.22.2017.02.10.01.08.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Feb 2017 01:08:19 -0800 (PST) From: Anup Patel To: Vinod Koul , Rob Herring , Mark Rutland , Herbert Xu , "David S . Miller" , Jassi Brar Subject: [PATCH v3 4/4] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver Date: Fri, 10 Feb 2017 14:37:08 +0530 Message-Id: <1486717628-17580-5-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486717628-17580-1-git-send-email-anup.patel@broadcom.com> References: <1486717628-17580-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170210_010842_161454_6A51A879 X-CRM114-Status: GOOD ( 12.44 ) 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>; +};