From patchwork Mon Feb 8 22:04:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Duc Dang X-Patchwork-Id: 8255101 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CA495BEEE5 for ; Mon, 8 Feb 2016 22:17:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 09529203AE for ; Mon, 8 Feb 2016 22:17:33 +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 2E796201FE for ; Mon, 8 Feb 2016 22:17:32 +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 1aSu6K-00083h-QY; Mon, 08 Feb 2016 22:16:08 +0000 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aSu11-0001Jo-2w for linux-arm-kernel@lists.infradead.org; Mon, 08 Feb 2016 22:11:32 +0000 Received: by mail-pf0-x235.google.com with SMTP id o185so116154923pfb.1 for ; Mon, 08 Feb 2016 14:10:18 -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=DqvIKfYk7UiJnS9avMO5gkZL1Dw3zUV3sTyimTEQ9Rg=; b=cVuw2q1/85FcjQmEmLWURSNPUA88/AbjL8p3apheNuOp4buiF1wYu0tQw7IRaiIP6F oIJi2rgKn6DGLagRGdyl3ngI9cGHUd8pGEQjwD3n2ioCswQ+VJ/vjDWT1FcQrB3pUe2I saKGD0LKCX/Qpc4s9VSlCh8Gd+H2vi6b3EcNA= 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=DqvIKfYk7UiJnS9avMO5gkZL1Dw3zUV3sTyimTEQ9Rg=; b=fFJKu7TDfRh6ysNxS/ZRoYC4ayb28X1IWx/rXE9UpoDrbGu0QatLY+/u/naDseza31 9W6GE57+eoYm2hGfqN9vvfgDUKeuzbsKeNGzY+GTb3lw17IiMgWmH7g6BFnmlUdcCLPm JX+717bBVyuHyZtqiI32RL8rUKwqv+zoO4OvBhYTkmWWpeGnwlQ8+R2FFygprlQR1xbH NafX3JQUPGiV87DefKK9YRdMGebqq+qeG2RZprTbfhEs1Vmwl9IOBkamazWm6GN40FDt 9AVy7mwXGNvv4pJwNBNwRTFM32QCQqo4cdR6SPIRfI1T7gs53mKy0Wtdye7LsBgpo6kz JeLQ== X-Gm-Message-State: AG10YOSQFLEO93de93p8FL86U5irIXjw93ZtNS/+GFFiHv9mtfMNmFNLxXRFuwScyTWf+VgJ X-Received: by 10.98.18.207 with SMTP id 76mr44856598pfs.53.1454969417741; Mon, 08 Feb 2016 14:10:17 -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 x13sm18068573pfa.72.2016.02.08.14.10.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Feb 2016 14:10:16 -0800 (PST) From: Duc Dang To: Jassi Brar , Rob Herring Subject: [PATCH v5 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Date: Mon, 8 Feb 2016 14:04:08 -0800 Message-Id: <61df03dd1c014bf3b0a4a3fbef980665ce53d849.1454967957.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-20160208_141039_930285_FE254041 X-CRM114-Status: GOOD ( 12.65 ) 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.4 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 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>, + };