From patchwork Wed Oct 8 00:06:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 5050671 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 780739F349 for ; Wed, 8 Oct 2014 00:09:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A8006201FB for ; Wed, 8 Oct 2014 00:09: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 E1DAB201F7 for ; Wed, 8 Oct 2014 00:09: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 1Xbeml-0001O9-Oq; Wed, 08 Oct 2014 00:07:19 +0000 Received: from exprod5og118.obsmtp.com ([64.18.0.160]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xbemc-0001I8-Ks for linux-arm-kernel@lists.infradead.org; Wed, 08 Oct 2014 00:07:12 +0000 Received: from mail-pa0-f41.google.com ([209.85.220.41]) (using TLSv1) by exprod5ob118.postini.com ([64.18.4.12]) with SMTP ID DSNKVDSAGcIomVU+n0O8hk8YMqqNLQvjxGnJ@postini.com; Tue, 07 Oct 2014 17:07:10 PDT Received: by mail-pa0-f41.google.com with SMTP id eu11so8035716pac.14 for ; Tue, 07 Oct 2014 17:06:49 -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=RbeU1R9EiDeHUnOox5KM5w6K/t3anGRXwI9Y+Y2mW4M=; b=MuCZ4e9ppVzX9KXGi+pMgYyrn9g7zcYzDoLSEn2vnCNum8fyQaTb2jThvoQnpTQzWO A7WS9pu4fPRHcYRgrNgqH5l9nLePYMCmu7FQyA7WkVhVPPNfPEZHKetEIxr4YHzbJQeU k4weWNYADwn48rTee4HQMQ7/rFrTyFLZZREMdAaF4sWqJF5y+Gs1jIRa6Ub3gM/EYRra A356iNyuGw4cpQZ+C3bgTjgSDUo63/j6WJTf6zlyZvsmn2EkB47+4bKqnroUbvPJgKOG Qo8JaqvGsci265+a6Elqht5GKlqysdrVjpITNyb8iziZFm177N/Z7UOqik5APFAOqKMR 8qUg== X-Gm-Message-State: ALoCoQnAnJfhLvhy3yZm93liqLU5zbzmmIF5E2EHOHTfDIIRj3MQQiJSQvoyujp4Lgzpy5HXCbZf2trMJZdwkLC/wTf3mDeZCP0OAx/D4msWJMirmdgCYNRut48C8NDnZSL5zOs/B158D765wbiao5lKVrSUrOI8yZh0Dqt8fN7I5kx2oqbDXrE= X-Received: by 10.66.222.74 with SMTP id qk10mr6715799pac.70.1412726809002; Tue, 07 Oct 2014 17:06:49 -0700 (PDT) X-Received: by 10.66.222.74 with SMTP id qk10mr6715788pac.70.1412726808930; Tue, 07 Oct 2014 17:06:48 -0700 (PDT) Received: from fkan-lpt.amcc.com (67-207-112-226.static.wiline.com. [67.207.112.226]) by mx.google.com with ESMTPSA id d9sm14820250pdp.44.2014.10.07.17.06.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Oct 2014 17:06:48 -0700 (PDT) From: Feng Kan To: patches@apm.com, jassisingbrar@gmail.com, =devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/6] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Date: Tue, 7 Oct 2014 17:06:45 -0700 Message-Id: <1412726809-7525-3-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412726809-7525-1-git-send-email-fkan@apm.com> References: <1412726809-7525-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141007_170710_714418_D2910A93 X-CRM114-Status: GOOD ( 10.68 ) 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, RCVD_IN_DNSWL_NONE, 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 | 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..d0b74fb --- /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: + 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>; + }; + +Client Node: + i2c-slimpro { + compatible = "apm,xgene-slimpro-i2c"; + mbox = <&slimpro-mbox 0>; + mbox-names = "i2c-slimpro"; + };