From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49F57C433DB for ; Fri, 5 Mar 2021 22:41:18 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C022650A8 for ; Fri, 5 Mar 2021 22:41:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C022650A8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nFEOiU9l8G0/+yDwqfhaZq/+s9NrXbKVZBuGvIU9kHo=; b=YRWa5eXyX0bzU/q7WqWSmjl4i 5c4doMRx7JShaTaISQ5e5xPJe4BQvRcqu7OI5ixYBhaLH4j3b64ZjL0CzrXs3DWilWZCI60RA1gmI YqOqhh8cmuom31uYIgPBHdm6LvJ9MpOCpi5wHV051w+wZEnzTaXrpJFi1UIxPBbR5230S62U06gwd n1Vvhkp7jp4z7c+O2jeTRj5cfBM5ESAbpR0NF2C+wUwluROUeXsI1f8HdRuIY3E4EPRub0GG5CmSh r8wN8r9L9HuIlKLnxP/kzqjyP1P6YQybe8KPJXMCNRS9q9yQE1vb8NA1tdUIf1AI+WQvUBoAz0A1r 73LwwBjJA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lIJ6I-00GsaW-Bi; Fri, 05 Mar 2021 22:39:17 +0000 Received: from mail-ot1-f46.google.com ([209.85.210.46]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lIJ6B-00GsXU-Ru for linux-arm-kernel@lists.infradead.org; Fri, 05 Mar 2021 22:39:10 +0000 Received: by mail-ot1-f46.google.com with SMTP id f33so3325352otf.11 for ; Fri, 05 Mar 2021 14:39:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0DQGnKEeYikHg3sEmIT2jOgE9H8/5ye18Kh/5SFhQQo=; b=HAsKQDiS0BF+60pv7WukNwpXGAINJbmymnx29rLmG1noqY/bs5H+3l06erHy0s0EXA tSvhFqQikv//B9VmJx/YZbzZBlbMHaBdp25VnvkP305K4KWpYKKNvu+cUVlyF+Gf3rSr GMdxOkgTO4QtPGUbx/EpfOx1X9WgCQNnmp6vRrdfK+zPu+8gC5ZWAP2rsgr13QIql5fg yUr6Fr6NitCy8vcisELs1VmCg+SY+YmFXHwxnL7uERXBxC3XbRtKKtJYbMHV9zlUMEsL HwjtOTSIdjcOHH/hL4jG6VGEy41RcaHWrFiII5zrB5LYkxPI7L4nMZ04VASLh2vmIvAL DuiQ== X-Gm-Message-State: AOAM5305E8PoOX9Bl4/lDlvlkbsYfQx/Zbg9fgdSs94bdmQco5PAXRFn W39ZQ3mZRHy4pY8GBnWbLw== X-Google-Smtp-Source: ABdhPJz8HnPbascpSMFIXJ7NJb8pA8YOLOJSoRsOHpjv7cekvS1uWgAniW9p3zvV+NjG0alXEr0XYA== X-Received: by 2002:a9d:340b:: with SMTP id v11mr9889048otb.284.1614983946316; Fri, 05 Mar 2021 14:39:06 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id a7sm875815oon.8.2021.03.05.14.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Mar 2021 14:39:04 -0800 (PST) Received: (nullmailer pid 772358 invoked by uid 1000); Fri, 05 Mar 2021 22:39:03 -0000 Date: Fri, 5 Mar 2021 16:39:03 -0600 From: Rob Herring To: peng.fan@oss.nxp.com Cc: ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, o.rempel@pengutronix.de, devicetree@vger.kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, paul@crapouillou.net, matthias.bgg@gmail.com, agross@kernel.org, patrice.chotard@st.com, Peng Fan Subject: Re: [PATCH V12 02/10] dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M support Message-ID: <20210305223903.GA769908@robh.at.kernel.org> References: <1613611500-12414-1-git-send-email-peng.fan@oss.nxp.com> <1613611500-12414-3-git-send-email-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1613611500-12414-3-git-send-email-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210305_223908_225124_DA9960E4 X-CRM114-Status: GOOD ( 20.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Feb 18, 2021 at 09:24:52AM +0800, peng.fan@oss.nxp.com wrote: > From: Peng Fan > > Add i.MX8MQ/M support, also include mailbox for rpmsg/virtio usage. > > Signed-off-by: Peng Fan > --- > .../bindings/remoteproc/fsl,imx-rproc.yaml | 51 ++++++++++++++++++- > 1 file changed, 50 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > index 54d2456530a6..52c8e523506d 100644 > --- a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > @@ -4,7 +4,7 @@ > $id: "http://devicetree.org/schemas/remoteproc/fsl,imx-rproc.yaml#" > $schema: "http://devicetree.org/meta-schemas/core.yaml#" > > -title: NXP iMX6SX/iMX7D Co-Processor Bindings > +title: NXP i.MX Co-Processor Bindings > > description: > This binding provides support for ARM Cortex M4 Co-processor found on some NXP iMX SoCs. > @@ -15,6 +15,8 @@ maintainers: > properties: > compatible: > enum: > + - fsl,imx8mq-cm4 > + - fsl,imx8mm-cm4 > - fsl,imx7d-cm4 > - fsl,imx6sx-cm4 > > @@ -26,6 +28,20 @@ properties: > description: > Phandle to syscon block which provide access to System Reset Controller > > + mbox-names: > + items: > + - const: tx > + - const: rx > + - const: rxdb > + > + mboxes: > + description: > + This property is required only if the rpmsg/virtio functionality is used. > + List of <&phandle type channel> - 1 channel for TX, 1 channel for RX, 1 channel for RXDB. > + (see mailbox/fsl,mu.yaml) > + minItems: 1 > + maxItems: 3 > + > memory-region: > description: > If present, a phandle for a reserved memory area that used for vdev buffer, > @@ -58,4 +74,37 @@ examples: > clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>; > }; > > + - | > + #include > + rsc_table: rsc_table@550ff000 { > + no-map; > + reg = <0x550ff000 0x1000>; > + }; > + > + vdev0vring0: vdev0vring0@55000000 { > + no-map; > + reg = <0x55000000 0x8000>; > + }; > + > + vdev0vring1: vdev0vring1@55008000 { > + reg = <0x55008000 0x8000>; > + no-map; > + }; > + > + vdev0buffer: vdev0buffer@55400000 { > + compatible = "shared-dma-pool"; > + reg = <0x55400000 0x100000>; > + no-map; > + }; These all go in /reserved-memory, right? Best to omit them from the example. > + > + imx8mm-cm4 { > + compatible = "fsl,imx8mm-cm4"; > + clocks = <&clk IMX8MM_CLK_M4_DIV>; > + mbox-names = "tx", "rx", "rxdb"; > + mboxes = <&mu 0 1 > + &mu 1 1 > + &mu 3 1>; > + memory-region = <&vdev0buffer>, <&vdev0vring0>, <&vdev0vring1>, <&rsc_table>; > + syscon = <&src>; > + }; > ... > -- > 2.30.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel