From patchwork Fri Jun 15 09:51:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 10465927 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 82B9D60532 for ; Fri, 15 Jun 2018 09:51:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A50D28D36 for ; Fri, 15 Jun 2018 09:51:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CBC128D4C; Fri, 15 Jun 2018 09:51:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55A4328D36 for ; Fri, 15 Jun 2018 09:51:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932360AbeFOJvR (ORCPT ); Fri, 15 Jun 2018 05:51:17 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:59877 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756005AbeFOJvQ (ORCPT ); Fri, 15 Jun 2018 05:51:16 -0400 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTlNu-0006mb-0S; Fri, 15 Jun 2018 11:51:10 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1fTlNs-0006SX-VC; Fri, 15 Jun 2018 11:51:08 +0200 From: Oleksij Rempel To: Shawn Guo , Fabio Estevam , Rob Herring , Mark Rutland , "A.s. Dong" Cc: Oleksij Rempel , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, dl-linux-imx Subject: [PATCH v2 2/4] dt-bindings: mailbox: provide imx-mailbox documentation Date: Fri, 15 Jun 2018 11:51:05 +0200 Message-Id: <20180615095107.24610-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615095107.24610-1-o.rempel@pengutronix.de> References: <20180615095107.24610-1-o.rempel@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-clk@vger.kernel.org Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Oleksij Rempel --- .../bindings/mailbox/imx-mailbox.txt | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/imx-mailbox.txt diff --git a/Documentation/devicetree/bindings/mailbox/imx-mailbox.txt b/Documentation/devicetree/bindings/mailbox/imx-mailbox.txt new file mode 100644 index 000000000000..1577b86f1206 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/imx-mailbox.txt @@ -0,0 +1,35 @@ +i.MX Messaging Unit +=================== + +The i.MX Messaging Unit (MU) contains two register sets: "A" and "B". In most +cases they are accessible from all Processor Units. On one hand, at least for +mailbox functionality, it makes no difference which application or processor is +using which set of the MU. On other hand, the register sets for each of the MU +parts are not identical. + +Required properties: +- compatible : Shell be one of: + "fsl,imx7s-mu-a" and "fsl,imx7s-mu-b" for i.MX7S or i.MX7D +- reg : physical base address of the mailbox and length of + memory mapped region. +- #mbox-cells: Common mailbox binding property to identify the number + of cells required for the mailbox specifier. Should be 1. +- interrupts : The interrupt number +- clocks : phandle to the input clock. + +Example: + mu0a: mailbox@30aa0000 { + compatible = "fsl,imx7s-mu-a"; + reg = <0x30aa0000 0x28>; + interrupts = ; + clocks = <&clks IMX7D_MU_ROOT_CLK>; + #mbox-cells = <1>; + }; + + mu0b: mailbox@30ab0000 { + compatible = "fsl,imx7s-mu-b"; + reg = <0x30ab0000 0x28>; + interrupts = ; + clocks = <&clks IMX7D_MU_ROOT_CLK>; + #mbox-cells = <1>; + };