From patchwork Tue Feb 17 23:41:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 5842171 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 A92A79F36A for ; Tue, 17 Feb 2015 23:44:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C33492017E for ; Tue, 17 Feb 2015 23:44:16 +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 ED03C20166 for ; Tue, 17 Feb 2015 23:44:15 +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 1YNrmb-00048U-Ca; Tue, 17 Feb 2015 23:42:25 +0000 Received: from exprod5og108.obsmtp.com ([64.18.0.186] helo=mail-pa0-f52.google.com) by bombadil.infradead.org with smtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YNrmG-0003of-6b for linux-arm-kernel@lists.infradead.org; Tue, 17 Feb 2015 23:42:05 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) (using TLSv1) by exprod5ob108.postini.com ([64.18.4.12]) with SMTP ID DSNKVOPRtv7kUwG0joY+KCj7J66UYXuguhuI@postini.com; Tue, 17 Feb 2015 15:42:04 PST Received: by pablf10 with SMTP id lf10so9994709pab.6 for ; Tue, 17 Feb 2015 15:41:42 -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=g8mUSgtcu6LJsvJZKZVI7FXDymStoAsJ5J90UUKTmvVuqCfQqnF37w1MxFsrO75JnF pBbAxh+Iuw9bui0z8l5MSYQP/ZKpTgw95i+LNOTVKxeAdMI+I7uzz3Ku0iDx10fofxRA 0cRTAlEeDGj0dDa+Y7SM9V2pHAIUOq6eQmroSsNHR34cx4qJTb444h3bNJ7clbUQV5fd MRq2DrFhiHZvv5PBVcmhYCFtvB3LxN4Ex3YDWe7Vw9B23/fwJwz+GNY0d8gQRbcS9Lvc hUbOgmfmJn7givUBZKSW5LL32UA4jolpqiRDDCLJJPM9cdWnRXdDPl462tbLOlxBYx+6 +b7A== X-Received: by 10.68.204.73 with SMTP id kw9mr18726676pbc.48.1424216502576; Tue, 17 Feb 2015 15:41:42 -0800 (PST) X-Gm-Message-State: ALoCoQkgIXqGrkDO5iKBZ4pb5PbWFl8idpGVKwfh5ct9Gh9Sf/OXewl37ukH+LvExjXOSRLFNBXPL9O9eji5O1ckuVvtBPdTtmGQUct4yiRfB+ExJow8zpD+R+VUD+Yla+szIdBWE+4VuVyNxq+tB37JttbjyMQwo0jn/6ENbqCJmwwXycGal2k= X-Received: by 10.68.204.73 with SMTP id kw9mr18726664pbc.48.1424216502490; Tue, 17 Feb 2015 15:41:42 -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 iy1sm14575071pbb.14.2015.02.17.15.41.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Feb 2015 15:41: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:41:50 -0800 Message-Id: <1424216511-28724-2-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424216511-28724-1-git-send-email-fkan@apm.com> References: <1424216511-28724-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150217_154204_330270_CDA5EF6A X-CRM114-Status: UNSURE ( 8.64 ) 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>, + };