From patchwork Thu Jul 17 20:57:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 4578941 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6EDB29F43D for ; Thu, 17 Jul 2014 21:00:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2BF8C201BF for ; Thu, 17 Jul 2014 21:00:49 +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 9962D2017D for ; Thu, 17 Jul 2014 21:00:46 +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 1X7skM-0005Xk-1H; Thu, 17 Jul 2014 20:57:46 +0000 Received: from exprod5og119.obsmtp.com ([64.18.0.189]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X7sk4-0005SZ-4O for linux-arm-kernel@lists.infradead.org; Thu, 17 Jul 2014 20:57:28 +0000 Received: from mail-pd0-f169.google.com ([209.85.192.169]) (using TLSv1) by exprod5ob119.postini.com ([64.18.4.12]) with SMTP ID DSNKU8g4ooxH4FrgRvm5+DsKu84JTO+nKKEf@postini.com; Thu, 17 Jul 2014 13:57:28 PDT Received: by mail-pd0-f169.google.com with SMTP id y10so3785517pdj.28 for ; Thu, 17 Jul 2014 13:57:06 -0700 (PDT) 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=vjEumhmoKeM03z/c2QTWzKV3rskCES3TyFJ/sYwqnMk=; b=NHKkae0XqifyLsEUclHH2yqzg7tsr+ptKYmflCzd9BqIg2YwxjNYoNj7S9GlEklf+S CyMCY9ztsPasakuKd444d38/9bN0hLpua6Wp1/FGYmwTZfnq8XUyoJTlndMQHXI9KlNy sAhzD2+oZS00VnWb2tVtsH1z+gUo3pLFU13lUp/0EzzfuwJKiqrV4hfezmpQ3gBeiLkj T1u8s+URSvnLJVQ7ylcJASMznCTZg8N6/hVfQW80DwFuOzjjcG8NdXL18ewe+a8Q7U/u rONvc2tkzwt053sNvTIVWFIwrPLf7vMZGUvnNf6TnfTGREhR97erKYuBF/VpsLnOHkbK 9Yyg== X-Gm-Message-State: ALoCoQlaH06sGdfxDW901wkofXTHIWTtk9O9L+HEj38L1HPs85i/Qy5WKwZcsndLD+e7+MM+MG6upS+wNPGnNx+q1nIPvp5pHhvputPYhzSBKLZ+u/XCVlCosA5e97sKB0ngliZxm4a19W/p2A9XTRli4svLJTOQfA== X-Received: by 10.68.69.7 with SMTP id a7mr29825592pbu.49.1405630626595; Thu, 17 Jul 2014 13:57:06 -0700 (PDT) X-Received: by 10.68.69.7 with SMTP id a7mr29825420pbu.49.1405630624417; Thu, 17 Jul 2014 13:57:04 -0700 (PDT) Received: from fkan-lpt.amcc.com (63-147-59-2.dia.static.qwest.net. [63.147.59.2]) by mx.google.com with ESMTPSA id ph6sm3431396pbc.38.2014.07.17.13.57.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Jul 2014 13:57:03 -0700 (PDT) From: Feng Kan To: patches@apm.com, jaswinder.singh@linaro.org, =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: Thu, 17 Jul 2014 13:57:24 -0700 Message-Id: <1405630645-15337-3-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1405630645-15337-1-git-send-email-fkan@apm.com> References: <1405630645-15337-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140717_135728_223466_30CA062B X-CRM114-Status: UNSURE ( 9.73 ) 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=-1.9 required=5.0 tests=BAYES_00,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 | 41 ++++++++++++++++++++++ 1 file changed, 41 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..43e14393 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/xgene-slimpro-mailbox.txt @@ -0,0 +1,41 @@ +The APM X-Gene SLIMpro mailbox driver 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: Contain the mailbox register address range. + +- interrupts: Contain interrupt information for the mailbox device. + +- #mbox-cells: Specify the number of parameters used by the mailbox client. + Currently only one to specify the mailbox channel number. + +Example: + +Mailbox Node: + mailbox: slimpro-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>; + }; + +Client Node: + i2cslimpro { + compatible = "apm,xgene-slimpro-i2c"; + mbox = <&mailbox 0>; + mbox-names = "i2c-slimpro"; + };