From patchwork Wed Apr 22 22:18:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 6258701 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 CCD12BF4A6 for ; Wed, 22 Apr 2015 22:22:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 14D6720328 for ; Wed, 22 Apr 2015 22:22:51 +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 2D6E9202F2 for ; Wed, 22 Apr 2015 22:22:50 +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 1Yl2zh-0006jr-20; Wed, 22 Apr 2015 22:19:45 +0000 Received: from exprod5og118.obsmtp.com ([64.18.0.160] helo=mail-pd0-f171.google.com) by bombadil.infradead.org with smtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yl2z6-0006Xz-31 for linux-arm-kernel@lists.infradead.org; Wed, 22 Apr 2015 22:19:08 +0000 Received: from mail-pd0-f171.google.com ([209.85.192.171]) (using TLSv1) by exprod5ob118.postini.com ([64.18.4.12]) with SMTP ID DSNKVTgeR8HNrE79Ap/1PbT7xLFHafK5xZr3@postini.com; Wed, 22 Apr 2015 15:19:08 PDT Received: by pdbnk13 with SMTP id nk13so415949pdb.0 for ; Wed, 22 Apr 2015 15:18:46 -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=e/+MBiXMs3I/xTpUq/LmYJuXcRD2LN9eWFrIr/HtnX8=; b=UDbqGYRtA1yxfNRuNCmg9JdrPFn70PutYPHdXmL9xZLo8GpOQan/zFiBIEmaXQku4z PhqoAtcN6y7XhDEhlyGi/JsxPZsGoPwY/Y1dlopSt+Hhew1/1QvRWd81eo2XjME1/9z1 G5f0QVzeWZrBPwyoinYRCkvyK6JNDRT8WBFVUhrtXthHj0aCr3OE3SGQB2uX6X89YcQ3 j/QaMIzxtdnAfRxWtDmhvUMzK/lofDqZiKMomNC7SwCJ0jpoMIndWKU98o9fganI/I8a MQ17ro8FwMq31KodErWan9bj+sgZYTIvyONQZzRd878w0kvHJz4RFIxh2B9AV2ZCJorc GDMQ== X-Gm-Message-State: ALoCoQkxOd4IiSGHHI6CyUsghQNFlK6Pj2h4EoHN1lO2nIHA3+2iW8H+XR9yt7k9qSae2IXq64LeI162pRtvpwfu32eX+zNF49ne82lP38bug225hGE0/WtNXRcFemCRQf4/K7mJ2pMK5zaUraDfAkA8GxRv9+kCd0Kec8HP9ijrKo35sVMMv9U= X-Received: by 10.70.50.199 with SMTP id e7mr51430988pdo.124.1429741126630; Wed, 22 Apr 2015 15:18:46 -0700 (PDT) X-Received: by 10.70.50.199 with SMTP id e7mr51430972pdo.124.1429741126479; Wed, 22 Apr 2015 15:18:46 -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 qh9sm6004905pbc.24.2015.04.22.15.18.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Apr 2015 15:18:45 -0700 (PDT) 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, linux-acpi@vger.kernel.org Subject: [PATCH V2 3/4] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Date: Wed, 22 Apr 2015 15:18:44 -0700 Message-Id: <1429741125-29156-4-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429741125-29156-1-git-send-email-fkan@apm.com> References: <1429741125-29156-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150422_151908_217282_8017F2D6 X-CRM114-Status: UNSURE ( 9.34 ) 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>, + };