From patchwork Sat Jan 16 02:57:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Duc Dang X-Patchwork-Id: 8048591 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 53BBF9F1CC for ; Sat, 16 Jan 2016 03:04:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0AB6A20381 for ; Sat, 16 Jan 2016 03:04:46 +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 41A6120166 for ; Sat, 16 Jan 2016 03:04:45 +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 1aKH95-00058A-Qd; Sat, 16 Jan 2016 03:03:19 +0000 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aKH8k-00051d-Mh for linux-arm-kernel@lists.infradead.org; Sat, 16 Jan 2016 03:03:00 +0000 Received: by mail-pf0-x236.google.com with SMTP id n128so126892011pfn.3 for ; Fri, 15 Jan 2016 19:02:38 -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=24Lt3lyNZtbqnqz3JwtjOo6qFQCCb7i99ZSxM3PdCG8=; b=eOHeHl4qxvOSKtU+RoOF80cqenmckJIfYWtKsVR8advZ3utNtIgjxcswt0vzKOI2pu 9ZnXgaIFmkCSVopBwU+9XFWYUWmZL3fsq2pT44bU/71/NcJGSOP2f/97WDn1SNtWC/9U NoIZlrNWKMIW4EAeqcv2rEh4BwIBIEgndytuo= 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=24Lt3lyNZtbqnqz3JwtjOo6qFQCCb7i99ZSxM3PdCG8=; b=L04tOeUPls9HwbrJ2Qae4U6wNdhFyb2Lixw1T+yyahlMcV0ue+HGuXh4VkUtUGgnZX aKafxoZ0Y7ingaPlAGWenZlLrERIt3SC5pC108hQoFTSUJNhYYdI82nfIhu2YpEKs4AG Zv1pPNOj5bXuJL34j158F+V5Xg5L2H5LUOVMnS48+5sM4ol1Cgy8+qiaGJJmwJCCN1BY rb18oaQyWcTzMNnJwy5cL0zv3ks2FUGXtMWCALC66GU0P76av49i3CUwxZVynxdh+26F srsV99t+bBp7eJrt271xkZidJjmRKtt+BCDtKY4mrN3zbLxTm6z42FznsFS9NjgolaLW iq+Q== X-Gm-Message-State: ALoCoQlbNFzNppXOuyMRFB1W9mSmhrQ+4HzeByvmpDNbmUklQeu+UtAjSD7a67WVHyfmcVrOh3KdkmFFN0tppgRgjac8/4Kasg== X-Received: by 10.98.67.139 with SMTP id l11mr19854516pfi.66.1452913357808; Fri, 15 Jan 2016 19:02:37 -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 k86sm18267161pfj.55.2016.01.15.19.02.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Jan 2016 19:02:37 -0800 (PST) From: Duc Dang To: Jassi Brar , Paul Bolle , Rob Herring Subject: [PATCH v4 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Date: Fri, 15 Jan 2016 18:57:18 -0800 Message-Id: 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-20160115_190258_849743_AD2427A3 X-CRM114-Status: GOOD ( 12.01 ) 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, 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.1 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 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..91774d7 --- /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 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: 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: + 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>, + <0x0 0x7 0x4>, + };