From patchwork Tue Feb 17 23:40:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 5842131 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 7060B9F36A for ; Tue, 17 Feb 2015 23:43:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A37EC2017E for ; Tue, 17 Feb 2015 23:43:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D14A020166 for ; Tue, 17 Feb 2015 23:43:12 +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 1YNrlM-0003fD-5x; Tue, 17 Feb 2015 23:41:08 +0000 Received: from exprod5og107.obsmtp.com ([64.18.0.184] helo=mail-pd0-f175.google.com) by bombadil.infradead.org with smtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YNrlJ-0003dY-Gn for linux-arm-kernel@lists.infradead.org; Tue, 17 Feb 2015 23:41:06 +0000 Received: from mail-pd0-f175.google.com ([209.85.192.175]) (using TLSv1) by exprod5ob107.postini.com ([64.18.4.12]) with SMTP ID DSNKVOPRfOE9Vlpbr4cf9wHrKPCwDNvV9qwl@postini.com; Tue, 17 Feb 2015 15:41:05 PST Received: by pdev10 with SMTP id v10so47151698pde.7 for ; Tue, 17 Feb 2015 15:40:43 -0800 (PST) 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; bh=e/+MBiXMs3I/xTpUq/LmYJuXcRD2LN9eWFrIr/HtnX8=; b=mpOfyb6BdYZjnc13fotl574qoso92dsYyzFjg0dxvqYDcHOuK1ZNHAndNoK8HxiDCJ WkUcWe+gUpZ3qWHu7Iq+gtpq533L4/WmJ0phRoHaf70PzAtQ9MXYKkpFAAo7J49sO3OB KUYpL692I7Oi3sIos1ig+/O1FgB5zkq9ntXHhf8wI6MlQaY0tCiCbpM7WvFxy54N+1wN DvFjxfuXj/zUkosr1HlLRYvmJ4/QyR1iSex3QfLEfgbZyz8eDEYDcCKBH705NHc3P4OO aoHyhCO/uP5ZNHbUz2wQyRRAks7OQ11IgszJb1+2Av3gm6Kp5tGg2M1k12JkM9e0vGJi k9GA== X-Gm-Message-State: ALoCoQkk3oilq9wiAVdznofeAQllUvfTutvKKyAQTYjoPsxVyr12BEiEJnqfVxCxl3Nlq4E+uEE6gL7wCzV3gKYiW7Uw+syH8YsyjMDWaB3CH87NHhTRcjegGXVAMTmLlOZDmH/9Y1uuYxDRZCPrPE89R/eKts7DEOAmsG//newPdt+wi/mHGR8= X-Received: by 10.68.68.202 with SMTP id y10mr53089629pbt.106.1424216443596; Tue, 17 Feb 2015 15:40:43 -0800 (PST) X-Received: by 10.68.68.202 with SMTP id y10mr53089618pbt.106.1424216443491; Tue, 17 Feb 2015 15:40:43 -0800 (PST) Received: from fkan-lpt.amcc.com (67-207-112-226.static.wiline.com. [67.207.112.226]) by mx.google.com with ESMTPSA id dr5sm14574661pdb.48.2015.02.17.15.40.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Feb 2015 15:40:42 -0800 (PST) From: Feng Kan To: patches@apm.com, jassisinghbrar@gmail.com, =devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Date: Tue, 17 Feb 2015 15:40:47 -0800 Message-Id: <1424216448-28665-2-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424216448-28665-1-git-send-email-fkan@apm.com> References: <1424216448-28665-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150217_154105_587312_B8C2D176 X-CRM114-Status: UNSURE ( 8.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) Cc: Feng Kan X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, 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 --- .../bindings/mailbox/xgene-slimpro-mailbox.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 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..d02a3d8 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/xgene-slimpro-mailbox.txt @@ -0,0 +1,34 @@ +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 7 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: Contain the mailbox register address range. + +- interrupts: 7 interrupts must start from 0 to 6, 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: + slimpro-mbox: slimpro-mbox@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>, + };