From patchwork Mon Nov 9 18:05:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Duc Dang X-Patchwork-Id: 7585871 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 709A6C05C6 for ; Mon, 9 Nov 2015 18:10:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 83A4E20675 for ; Mon, 9 Nov 2015 18:10:25 +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 98B772066C for ; Mon, 9 Nov 2015 18:10:24 +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 1Zvqrr-0002SL-8q; Mon, 09 Nov 2015 18:08:35 +0000 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zvqrg-0002P5-96 for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2015 18:08:25 +0000 Received: by pacdm15 with SMTP id dm15so181930954pac.3 for ; Mon, 09 Nov 2015 10:08:07 -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=oMVdDyIVuaIy7GzDbt7m/OV6ejqyGzS7TOtdtKml2j0=; b=A9eZ/8XTyGw10716DmhtwmnVhtigT2RQ58jyaFAEvLUz/Tr4gD1s6peoXQvovJ1y4Q 1FAg4OBIuHIpAWYQ4iRDCvX8XA3uzTjdPifZjy4VySwZWM+T4TU/rLKGMJLPk1OoiXKj IrIfz0mY7NMjXRqarKYhFl4usi4JNmWl43f64= 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=oMVdDyIVuaIy7GzDbt7m/OV6ejqyGzS7TOtdtKml2j0=; b=W6CdIOzDqD7aVlIB2X9tleiYxnm9620Y00e+l84WpSmm1PPQ2XMaqOjgm3YA+QpTB7 lXGZ4D/wR1eU6hc/bLLZ+BdJYQXyzOVtnvY8g/rqF6SIY35RtQw0fcZLtipFUN5412e1 qXNidAfJTBk1VH8fjbF+9wBpw2E1BDpG1jj4sscMdWl1r+jogqgXQIRcUABsiVoAotig mMbpPjPuN+5kuVLJ4U9alec7MB092VIpW6UyAo9RcQCP33aBqzjMhuMg61Z9tTTghAVK mhE4+p1qSyPBtFvpKWIj8cyoDbeucj1Bq3yfWPENhPtIyUyCs0mgyWakdYY/CzwzJw/U zFNA== X-Gm-Message-State: ALoCoQnQaLBkTnXNeP8gglc0YBtL0IZSiStOTEVohSKPaCQFNh/0aAjXkdKbARlA1+U34FYfs3fS X-Received: by 10.68.229.39 with SMTP id sn7mr42696278pbc.164.1447092487484; Mon, 09 Nov 2015 10:08:07 -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 wy8sm17683586pab.8.2015.11.09.10.08.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Nov 2015 10:08:06 -0800 (PST) From: Duc Dang To: Jassi Brar , Paul Bolle Subject: [PATCH v3 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Date: Mon, 9 Nov 2015 10:05:44 -0800 Message-Id: <6be192528afbcc604653a318994ee30fa05a0e05.1447091626.git.dhdang@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: <1429863912.2927.43.camel@x220> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151109_100824_473055_09AD78E8 X-CRM114-Status: GOOD ( 14.25 ) 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.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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. [dhdang: rebase over 4.3-rc5] Signed-off-by: Feng Kan Signed-off-by: Duc Dang --- .../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>, + };