From patchwork Sat Feb 13 03:39:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Duc Dang X-Patchwork-Id: 8299531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E1B069F38B for ; Sat, 13 Feb 2016 03:48:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0F1A920515 for ; Sat, 13 Feb 2016 03:48:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 39EF520511 for ; Sat, 13 Feb 2016 03:48:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aURAJ-0007wX-Oa; Sat, 13 Feb 2016 03:46:35 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aURA7-0007ol-EU for linux-arm-kernel@lists.infradead.org; Sat, 13 Feb 2016 03:46:24 +0000 Received: by mail-pa0-x22c.google.com with SMTP id ho8so56492976pac.2 for ; Fri, 12 Feb 2016 19:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=JQV4AHXQZOReoZhfAXw196bV4VvPzHl7FzpYY7tiOLg=; b=ERbrxOEG7Bx3TRg+CdaHsSnRnwsDamIsVXqmuYWflZekpkNXitcoxiK9UDCAl3pWQF h5TUAZDvYosQi/333VduOhpw7gRfdmWGt05ow/zUV+FcqDheFnhBVJVieSet5I7uiNyO MKQdtkgu9CdboIWdkb9uHwKTX3IrLhNSrT8Ts= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=JQV4AHXQZOReoZhfAXw196bV4VvPzHl7FzpYY7tiOLg=; b=NYfZtBtQrT6Z/l+/YPxsMXduuGxXN8+1K1wIQshxpphXWSh/ghhOMGdPTQ2FUv3PuW Rb9ozm2zzEn1kww6fPnPj9CzG1rQsxrPEZTOhrBnVGOK3vxJxaHvKNTVbHlhD6dayHKK 5cAFr8yCz5gEHMho7QlM+zCOXkezZHoiHKjWYYeiLD1GKEJIH2g51+wP3zZtzQauCxMp qh8/OZJ7Z6s6k1QeeSfRO5VvXN03qmrCWc2cy9vuEjFbfC3sHd0ltONvWx6rlNrtDdZO XgaU2yHS7NWWul1tnpj/ApGB+ZNpKkjecaUcu60R2eT82K4a6AcyLZIGFD7l+Mkqqu6T DMVg== X-Gm-Message-State: AG10YOQwGlwm2kMVHXXefx8KB6eb9XY9qv6ZdaLlEYisL8pvpyMLAvHIFO3pmLqkaXIHxSvH X-Received: by 10.66.189.165 with SMTP id gj5mr7049800pac.157.1455335162686; Fri, 12 Feb 2016 19:46:02 -0800 (PST) Received: from dhdang-Precision-WorkStation-T3400.amcc.com (70-35-53-82.static.wiline.com. [70.35.53.82]) by smtp.gmail.com with ESMTPSA id wt2sm22569598pac.48.2016.02.12.19.46.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 19:46:01 -0800 (PST) From: Duc Dang To: Jassi Brar , Mathieu Poirier , Rob Herring Subject: [PATCH v6 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Date: Fri, 12 Feb 2016 19:39:27 -0800 Message-Id: <4cf26966ebb6f5f41aab4e258984ac0600835748.1455333720.git.dhdang@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160212_194623_639229_86EC0EDC X-CRM114-Status: GOOD ( 11.72 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Paul Bolle , Feng Kan , Duc Dang , patches@apm.com, linux-kernel@vger.kernel.org, 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the APM X-Gene SLIMpro mailbox device tree node documentation. Signed-off-by: Feng Kan Signed-off-by: Duc Dang Acked-by: Rob Herring --- Changes since v5: - None Changes since v4: - Rebase over v4.5-rc1 - Fix number of total interrupts in introduction text - Change node name to mailbox@10540000 Changes since v3: - Rebase over v4.4 - Change number of mailbox IRQs to 8 - Fix white spaces, typos. .../bindings/mailbox/xgene-slimpro-mailbox.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/xgene-slimpro-mailbox.txt diff --git a/Documentation/devicetree/bindings/mailbox/xgene-slimpro-mailbox.txt b/Documentation/devicetree/bindings/mailbox/xgene-slimpro-mailbox.txt new file mode 100644 index 0000000..e46451b --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/xgene-slimpro-mailbox.txt @@ -0,0 +1,35 @@ +The APM X-Gene SLIMpro mailbox is used to communicate messages between +the ARM64 processors and the Cortex M3 (dubbed SLIMpro). It uses a simple +interrupt based door bell mechanism and can exchange simple messages using the +internal registers. + +There are total of 8 interrupts in this mailbox. Each used for an individual +door bell (or mailbox channel). + +Required properties: +- compatible: Should be as "apm,xgene-slimpro-mbox". + +- reg: Contains the mailbox register address range. + +- interrupts: 8 interrupts must be from 0 to 7, interrupt 0 define the + the interrupt for mailbox channel 0 and interrupt 1 for + mailbox channel 1 and so likewise for the reminder. + +- #mbox-cells: only one to specify the mailbox channel number. + +Example: + +Mailbox Node: + mailbox: mailbox@10540000 { + compatible = "apm,xgene-slimpro-mbox"; + reg = <0x0 0x10540000 0x0 0xa000>; + #mbox-cells = <1>; + interrupts = <0x0 0x0 0x4>, + <0x0 0x1 0x4>, + <0x0 0x2 0x4>, + <0x0 0x3 0x4>, + <0x0 0x4 0x4>, + <0x0 0x5 0x4>, + <0x0 0x6 0x4>, + <0x0 0x7 0x4>, + };