From patchwork Sat Mar 6 11:24:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 394539 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp228384jai; Sat, 6 Mar 2021 03:38:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKHECY4mQv/9QRAcuYInLmPIghu3okMr6CjAIaiA48zzIsDTWi7hon2CiRgHr6BJ1+GabE X-Received: by 2002:a05:6402:3550:: with SMTP id f16mr13368764edd.134.1615030728002; Sat, 06 Mar 2021 03:38:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1615030727; cv=pass; d=google.com; s=arc-20160816; b=CUedbKJQRCd/aQfp5xJ4msGni340nbxK6xkayeC4OrweMiUmTGce8crhJEYaJnrg/s fSTBVNzHJcxS6ghi3Frv1V4OtelsLEL/9KMUtkUAKzcg2Q0XaJwjB9odlvHKXuoqiMEe dIVBFeBPFEWPWkhhYCj5FFhEx0ob+B+PYZtqq99CTT8pE9HRAfJqG8cHP3yGF2sIVSDr vjwAhOn/jWxH2x1u10duMTtT9PpEmRNvjXZFjADM6RS9Bt29H+aWMXlQkbQvmP7JCXqS BkBdfcshAKosikqinKkHPVt7Lsa8sIkt8KcBjwUPo7rx9HkQTseg1WqfVbCx7aw570bS nEBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=VKTgz6g3bhbNjC5jn4bZA+1dkA94Q3va0AGpybirrtY=; b=sZJxYJIcQAy1JH7XgXCr5pgNeE73ZQC40I8894ooNJpPVzQdDAJrwClu0RKR6S3ZHr xK9aW1iKdV6eaKSvfph3oHvzWwMtRn5L4G6INggY+eMUTe7gt3Z5MYh2oOJnlREUHsKA urltLxAMEur95lCg3aCFomDrbV2y6SkSHeflKUEun+aDl05z4gfkTSo3K7CzVJdj2bcu +NhCBU0VqxRXFpi9KYRGUhvyRdOCWV3EiD/Ta9vKGColt0HZDWyh73W779Od7JfT1HRV +MkbB09aSyhZZDMOfKiYmDQAFhj7LxuCj58jY9g7slWFPu704imi3WNPVGMIamS3ITgQ F9PQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="EM+s/sUE"; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q3si3186237edv.223.2021.03.06.03.38.47; Sat, 06 Mar 2021 03:38:47 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="EM+s/sUE"; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230420AbhCFLiL (ORCPT + 6 others); Sat, 6 Mar 2021 06:38:11 -0500 Received: from mail-eopbgr30065.outbound.protection.outlook.com ([40.107.3.65]:64994 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230034AbhCFLhz (ORCPT ); Sat, 6 Mar 2021 06:37:55 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bq77aFN5yrvgDPwPSSeONW8HiDovOHIKXwr6zwHmQLgc9KLc6cQsIU6hsYbOpEmZlMcGoBEL3w21ebCflg4Qo/6SQLELOH0AWcjS8NGJWB3+97Kqbi6bEbG/2MpCetwhiyqPlgu/q9+/IXjoXlIlkNa8oJWquzBeMk75BFJSjUSQQr3P1z5qw2BOLkI8yz7uBEaKvvVK/ZtJgeq0BiZOCjdug8i/b13Myft1FulE53eFB12YFAA+ovNUu8sK9IF+QrVatmDkjDwQn8th5C09jAJlur+mVsNnHyJHfyr6p+zzsiW5476Z6Fg4HLcHEBQXz8j99r26MT0Z6TiewTh0FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VKTgz6g3bhbNjC5jn4bZA+1dkA94Q3va0AGpybirrtY=; b=Zutg5/W2i54M0toGPgl7NTkBrxcU/KtK+kN0zUl6KVqCoAbC7aIRA6H1XMt3NEsI/gHFV1wuNbaO90EbNNvn/LUUwF4M6s4BiPEqyw01hDZJXFRSAwx6QYjbu+a++RsjEfa6+RXpLWNgHS7ScdxnEBaQ0ww8t2f2jORsh2HzPadInTR8zfjHLu+KrJCfrTBQzoNaxTRzEBNlABblq/4NKvnwtpzXtODTwRyNzhHhhKkTBeH+5CEI8aQJkri5kBEQwWF5E2p6oXaHtNHJh+jlu4q40vx0at8VjLR1HJc7xrI2/z8eVecLFKQNBxYu276SqyWhxZt/SaUjhmQuHJVSug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VKTgz6g3bhbNjC5jn4bZA+1dkA94Q3va0AGpybirrtY=; b=EM+s/sUEmtAK4oeJfw6q7yGNQItArmksRLNFR0tO3ssZ/TkUUZfpUKXB+IHkDgVgn34xHSbucrNelxibe32cdJEHu7qzOSYSVoQIjd6DvamheU8iMQFTC2JpUNspa6ghzSPXpbqHnBxpJXMANAJL5PaqOyaz0zPZkyjcHoSrN50= Authentication-Results: wizery.com; dkim=none (message not signed) header.d=none; wizery.com; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB6618.eurprd04.prod.outlook.com (2603:10a6:10:10e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Sat, 6 Mar 2021 11:37:50 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3846.054; Sat, 6 Mar 2021 11:37:50 +0000 From: peng.fan@oss.nxp.com To: ohad@wizery.com, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, o.rempel@pengutronix.de, robh+dt@kernel.org, devicetree@vger.kernel.org Cc: 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: [PATCH V13 02/10] dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M support Date: Sat, 6 Mar 2021 19:24:17 +0800 Message-Id: <1615029865-23312-3-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615029865-23312-1-git-send-email-peng.fan@oss.nxp.com> References: <1615029865-23312-1-git-send-email-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR04CA0047.apcprd04.prod.outlook.com (2603:1096:202:14::15) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by HK2PR04CA0047.apcprd04.prod.outlook.com (2603:1096:202:14::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3912.17 via Frontend Transport; Sat, 6 Mar 2021 11:37:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 09ccb520-783e-4c42-4b1a-08d8e0944592 X-MS-TrafficTypeDiagnostic: DB8PR04MB6618: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2958; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /qIXMe+AlJJzGE7ugD+0Escm9I3znGzoPFIK9apZJyUzThbWQoHEfLngMYbxqlEdIYQiGvZXJjo5jFkxPgdPeRVxkxtpWFs7GV3g5QLMUh7HvF0+20L3nDK62BirIIJ9mQKEpM8uutUoFlnXowVWwqDjQdKLDeW+8whboFu9bA22uFCdVkN+z6Y5LIsyrznvTMl2Et0ky6+bk2Rmbf6g1VYzYcCnKkTIF7CuqYTx08bUUNoBCsmaYb2hMV8x1eIZZrMyBywDGEk19lGKqVPAVbYjNtpvANMMQzOwlyftrNuVxvJBry/nwL7tR+7KLaGvxmH94l6QPbhoYUfCloST2BQVWVoekLcPV/eZCokys2zejEjXKb2Dr2Lnid9xV3lAFAz5ogZkHdypRZB94s8ME97bxKeEZMkLnJhyLTJmo9bLLgkPunhfqvvE83rY7iRfp8lxh4Zct6jez7Nsnd3XlbFpaP7ymcAUeRvcEPvlCWiAThSaSYV7qY7wtx/qe/P1pVc5PBX62hIjzjHmtiPrHfxk0wTNJKGKzu+jrsSICogAa5YOaru7/3/BqchoRiPV4eraaa6ujuCwLYZaygVJlmLcDISAoh/f7BPpElupilyOJInn+obG/czuqDlk3rZJ8aw0T5trWU1JVVKYhtXRT/7XrxLvyy42saiS3efApeE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(346002)(376002)(39860400002)(136003)(83380400001)(6486002)(9686003)(6512007)(2616005)(956004)(8676002)(6666004)(69590400012)(86362001)(4326008)(66946007)(6506007)(7416002)(2906002)(52116002)(186003)(16526019)(26005)(8936002)(66476007)(66556008)(5660300002)(316002)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 2WB/+dFbzRvIm+N62tuucSTorEz3nJNEZ8uU3rgC69xgY1pRK+EBE0uY0t2c7I37Vu0kGWbVUziKLUkqE7dQ1+Qw55vA4nL9+lglx/R19wU1/NNJundz8SuGAukwNMN2EVDYzC0VG3a8rV6pGcBiD+qGzNWKMw/qiY73P6BVOU4FhQsLBJ2Skg60Krw3Y/cvieHv/zjX+o0+Ykf84cyxBgb1VjG2YCemyO24VQA9TH4jhn7bUOUZogRvSlRVxitMnMYOcu0UBA9DZHsj6DyNoAD3/KuQKj0qqT307rePRnjjpt4Lbs+gfXJVViqCm7FUhFsrC/IaZDsTL9f5mvX0hWHJLbcZWvqkqLToUaSky5kc/SK0b9GMife6mriju7E6O4wlAzKMXfCkK3WBqyXfKjz2/+bqarVcZScasRrEem1Rsi4a05xaM6tXgIIs0c2NKB4FPry22g0QOR66XWsTL/ItyeOJoV00nBvKSW6ihXmJ0IN35djCCr6u4tdYTEveFO8BN5k22BRfkxAXQFkDr5TqpHGHYWEEjDhZ9hIUw0EhnHmELEq5TxBY7C/HS8wm/LEDQDO3lOpFBypTJgfpNsgnFPBoaLd7BW14Ufx+RAXV5Ud4P3uJH1U8GU0Gl1lx8LXFbdAfIrOg3s5L10nzbCOFjgZIXE48xtdof8IaT90Q7IykN4wOqO1zXftMYFJmenkAJ6MR67aVeeeBwY+uCyE/wX/UPUvXntlDULiRtxLDrPp6RHQ1dJAyQzdz0xAw1EMf5dpOpgnEbMhYadXMXrLFbfGLAOLKn2fWLukzAjfK/aDM2z07rzzjNBFx0H7nksFc0H9YrULBKgkQM77vXmls18HjhhuNJUZrWqVdgpUpEHzjwxz16J33Ylfp+esaIO6x2ed2gtwz3OeEk1u2rL7dTcMqcOAz5x4ozxJh73Y6M9cnV5jO/CQGvvrNDab2ktGG2/2sfHu5RU2mlopEcWNscboF3M1GYxars0+XsaR8T97w5x7tsIEQxA7MP4ROKZIRpd82G0t8lHVGWB9dHHGdDoLYxvfWpcOahysV0EkQtDgbLE8cONAfSDQWWdE14+UbkH29bWxH00Woqkqmbc65ZXgvyjQkd46r3vNnEvyQqtY3sCI6w1HVCS/rfxN9J5GWMZApPTSArHBV9usQwsA0gsw5VdJ8E0bydFa98NPZuQz5ugJ1Nagd7N5HMZIlVzP3ksdATh2C+SfAbD2j00+uOGFAWt61XHnM347CQne6EJMDcsWVp0VFsIltf4OHvnulLaJF3PhNXYjTqD0yOfMO2RZ/dP06wi4NMPmFyiWprrP5xH6GG/8P8aQHi9yw X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09ccb520-783e-4c42-4b1a-08d8e0944592 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2021 11:37:50.2081 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Yy0eba5YqSFV9oewW4hnHBD992rAz2untkf16+yuB/kxnh1tCWib84PF86QQUASw1Fgp0SNnvcAa28dzFdelUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6618 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 | 31 ++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) -- 2.30.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml index 54d2456530a6..208a628f8d6c 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,17 @@ examples: clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>; }; + - | + #include + + 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>; + }; ...