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: 517365 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3F1571400B7 for ; Mon, 14 Sep 2015 21:07:54 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755408AbbINLHw (ORCPT ); Mon, 14 Sep 2015 07:07:52 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:36245 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755393AbbINLHw (ORCPT ); Mon, 14 Sep 2015 07:07:52 -0400 Received: by padhk3 with SMTP id hk3so141496198pad.3; 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 Cc: devicetree@vger.kernel.org, wxt@rock-chips.com, robh+dt@kernel.org, galak@codeaurora.org, linux-kernel@vger.kernel.org, ijc+devicetree@hellion.org.uk, linux-rockchip@lists.infradead.org, pawel.moll@arm.com, will.deacon@arm.com, mark.rutland@arm.com, olof@lixom.net, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, frank.wang@rock-chips.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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; +};