From patchwork Mon Sep 14 11:06:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7174621 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 B821EBEEC1 for ; Mon, 14 Sep 2015 11:10:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4E3420649 for ; Mon, 14 Sep 2015 11:10:13 +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 C5C3020668 for ; Mon, 14 Sep 2015 11:10:12 +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 1ZbRcK-0007UP-8Y; Mon, 14 Sep 2015 11:08:12 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZbRcI-0007Dq-4R; Mon, 14 Sep 2015 11:08:10 +0000 Received: by pacfv12 with SMTP id fv12so144458542pac.2; Mon, 14 Sep 2015 04:07:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VycQVOUljB5+WYdblCbSsgByI8mdVAT4dHsXt+IM7/s=; b=H7/bzkPvnSJdfqbcYzIF3wH+zqCfsz0xSPUP6JMnhOBuJsWLyvkuaIOB9edbPheiVd 4f9K3UaDjkyNS8gkJbgaP1McTBgfC/Ltpf+2GxuhPr+E4LRcqbZuiUv4w2T5I1TRGHro JgHGc9KLe+T1rPxGWJYiZ57Fh+RALMZN2ojuygi5Teai16E+1scQUDCbBhjEKe70wU4a Ply4BYV+1hNz1QAwUlatPvrcsrb2ZET1HDJWQ4pPiYhYh8LoHt0yLqKLzZ2LB3ZkTr3A jOpXRYA5uWKzZbF4ROZKMGl2RXUUCi/OeqTd2hUnakM4G8jr6QUoajJCMIBGnc2gFddc Hvpg== X-Received: by 10.68.203.42 with SMTP id kn10mr33983329pbc.43.1442228871889; Mon, 14 Sep 2015 04:07:51 -0700 (PDT) Received: from localhost.localdomain ([103.47.144.143]) by smtp.gmail.com with ESMTPSA id yk5sm15631928pab.31.2015.09.14.04.07.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Sep 2015 04:07:51 -0700 (PDT) From: Caesar Wang To: heiko@sntech.de, jassisinghbrar@gmail.com Subject: [PATCH 1/3] dt-bindings: Add document of Rockchip mailbox Date: Mon, 14 Sep 2015 19:06:36 +0800 Message-Id: <1442228798-15191-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442228798-15191-1-git-send-email-wxt@rock-chips.com> References: <1442228798-15191-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150914_040810_325512_7B6D0A61 X-CRM114-Status: GOOD ( 13.77 ) X-Spam-Score: -2.4 (--) 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: mark.rutland@arm.com, devicetree@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, frank.wang@rock-chips.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, galak@codeaurora.org, olof@lixom.net, linux-arm-kernel@lists.infradead.org, wxt@rock-chips.com 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 add the necessary binding documentation for mailbox found on RK3368 SoC. Signed-off-by: Caesar Wang --- .../bindings/mailbox/rockchip-mailbox.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt diff --git a/Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt b/Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt new file mode 100644 index 0000000..b9b4768 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt @@ -0,0 +1,33 @@ +Rockchip mailbox + +The Rockchip mailbox is used by the Rockchip CPU cores to communicate +requests to MCU processor. + +Refer to ./mailbox.txt for generic information about mailbox device-tree +bindings. + +Required properties: + + - compatible: should be one of the following. + - "rockchip,rk3368-mbox" for rk3368 + - reg: physical base address of the controller and length of memory mapped + region. + physical base address of the share buffer and length of memory mapped + region. + - interrupts: The interrupt number to the cpu. The interrupt specifier format + depends on the interrupt controller. + +Example: +-------- + +/* RK3368 */ +mbox: mbox@ff6b0000 { + compatible = "rockchip,rk3368-mailbox"; + reg = <0x0 0xff6b0000 0x0 0x1000>, + <0x0 0xff8cf000 0x0 0x1000>; /* the end 4k of sram */ + interrupts = , + , + , + ; + #mbox-cells = <1>; +};