From patchwork Tue Oct 27 07:31:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7494311 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 062919F399 for ; Tue, 27 Oct 2015 07:34:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3444E2082F for ; Tue, 27 Oct 2015 07:34:50 +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 547102068F for ; Tue, 27 Oct 2015 07:34:49 +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 1Zqykf-000841-9M; Tue, 27 Oct 2015 07:33:01 +0000 Received: from mail-pa0-f67.google.com ([209.85.220.67]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZqykS-0007yq-HA; Tue, 27 Oct 2015 07:32:50 +0000 Received: by pacik9 with SMTP id ik9so23860100pac.3; Tue, 27 Oct 2015 00:32:31 -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=YP5fWl/V6GjaUnPd2qAXCbPIh3XUzilUUuJo5u4U59Q=; b=Uu6osfb7sxeS4qyIkHe10GBusgfMvv/A1uiWk1yEDJIBiv1KONwlvgi7EKxBcGL0hv uy5BX6RNbmeLyDY2cUIqsDUBXUEoRqMYBBtqsWOe+CHdEE0HUbQNHv0NLV7G0N+g1J8a yl+Dq11LhivUOcFkeu5SuxkA5tZ5+0Ak5R9Sg8uOiSUCQZYpEwn1UMMjvXA6t9uaR4Bo 6M1pEWjPO3QA3KG9sITlyaYsz2CYk/+9lfyirqtXArKo99f4maakBXMqHkmDC8V79CsG be00Hp/SLdFOPgr+iHYX2RTMz20NHL4cpkH2XQ8sh1QH/i/Ad0PI4dd6guXRrpMth1CM sCmA== X-Received: by 10.68.252.73 with SMTP id zq9mr26971544pbc.130.1445931151487; Tue, 27 Oct 2015 00:32:31 -0700 (PDT) Received: from localhost.localdomain ([192.253.254.149]) by smtp.gmail.com with ESMTPSA id fx3sm25846160pbb.60.2015.10.27.00.32.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Oct 2015 00:32:30 -0700 (PDT) From: Caesar Wang To: Heiko Stuebner , Jassi Brar Subject: [PATCH v1 1/3] dt-bindings: rockchip-mailbox: Add mailbox controller document on Rockchip SoCs Date: Tue, 27 Oct 2015 15:31:44 +0800 Message-Id: <1445931106-683-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445931106-683-1-git-send-email-wxt@rock-chips.com> References: <1445931106-683-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151027_003248_828195_D9D1D5F9 X-CRM114-Status: GOOD ( 16.25 ) 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 , devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , frank.wang@rock-chips.com, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Kumar Gala , linux-arm-kernel@lists.infradead.org, Caesar Wang 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, 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 Acked-by: Rob Herring --- Changes in v1: - PATCH[1/3] doc: - As the Rob Herring comments, s/share/shared/ and specify the value of #mbox-cells. - Move the shared memory in mailbox, let's move the property the client driver in the future. .../bindings/mailbox/rockchip-mailbox.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 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..b6bb84a --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt @@ -0,0 +1,32 @@ +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. + - interrupts: The interrupt number to the cpu. The interrupt specifier format + depends on the interrupt controller. + - #mbox-cells: Common mailbox binding property to identify the number + of cells required for the mailbox specifier. Should be 1 + +Example: +-------- + +/* RK3368 */ +mbox: mbox@ff6b0000 { + compatible = "rockchip,rk3368-mailbox"; + reg = <0x0 0xff6b0000 0x0 0x1000>, + interrupts = , + , + , + ; + #mbox-cells = <1>; +};