Message ID | 1613611500-12414-1-git-send-email-peng.fan@oss.nxp.com |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp3281315jao; Wed, 17 Feb 2021 17:39:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQjvhj9DSWZte6EvcFzFfoANcQ/tuRvGbDLTyfX9+Jjev7vnihbxveM95wEONbN3uASWpt X-Received: by 2002:a17:907:20e3:: with SMTP id rh3mr1669992ejb.510.1613612346149; Wed, 17 Feb 2021 17:39:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1613612346; cv=pass; d=google.com; s=arc-20160816; b=spQoLUoN7hS1SWzeIYtMR6gnF7pr5C9pOSSqWLrkyMA+KG6Wh/0Tm9YfsXaZ4tWgYe y1infDunn/nmsDSY6XcQ1B2RG3TkVIwb3Yn79PfTReOyCsrwsHe6CGApL+znhz+5FqCr 2KvwbvMd4b1KTxZQ3qR7GWso/dTS3SpTV3lbeSitDwnrEbst9F3cf5mm6PfaiD/uldKL BpY4gwiv5t1p6leDMyhwwhPtreqJt43ZDKI7GQ4FpfUAgu+NtC3GFAziOexOHI2K2pTp 4MouL2Q+o1wN80k1e4XINpPRVN4rqITJkaS5JEnIfG2FwA8YqxrZE4NtS62YrffjwSBo /r/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=yohFhiq5yq3tRnqzUm+PutEdHG95nDtcaQQz3pje+GY=; b=dLkVe7QcFvO2oPxsjY9WdPWOOKs0Gb3LsxMHl9JAkUTY/4tQAP6NuSaWkgSHr9NyAi oDCUMC/0mdDqyXibLEc4EQMiWkvT+A4Zg+6uUHV/hGR1yT+i3Tlh6meOjHEEXTxvhVd8 3AgynX1oO49oxNPyGw9KMH3rSE70RjuSfnfYoZqpEc3OCEnqKEO85XiL0gmUg/rtiOZc 0peVz1LioJyk6aWqWlkslBF/zXCT/is59bcVrW7tYPrzm3VICVMHNUIWmxoVQonogY7R sqZhSCUqBx7uu71g+RkTsIN/fjAiTtQ9Tb0wXnUF/Yh6z915GUFUDnQw1oCB5PIJrEUN erLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=PsphP6QL; 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: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e1si2551315eja.255.2021.02.17.17.39.05; Wed, 17 Feb 2021 17:39:06 -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=PsphP6QL; 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 S230060AbhBRBhs (ORCPT <rfc822;semen.protsenko@linaro.org> + 6 others); Wed, 17 Feb 2021 20:37:48 -0500 Received: from mail-eopbgr80089.outbound.protection.outlook.com ([40.107.8.89]:51809 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229850AbhBRBhq (ORCPT <rfc822;devicetree@vger.kernel.org>); Wed, 17 Feb 2021 20:37:46 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ClcrWJbrBvbOd1gGPNI2uzRQx/wTBugK92GkfmOoCtYqV2371lURBBWR6EaOc/JOfUVC1QwoS7OEDQ1TFR3LwQ4sm5N5e3Lek+9THdaTaZY+KJ+MJXgSl+w2HS1usWDeBV2cAD1iGIAVGEuAseHFSKMiz0x3wLNjJCtHoUO/tevEZiJelO7pqeplTE50VV7Mrff1JK+KkU5MvbJ+/FQzfiDVdkVcls/1cnldFaC8Z4DurMRGW8tfLY1Gb8H+jPfkMpcwhXCrjkyEGykztk7hsYkECeaE3vfe4L8H+iS4bjO/rOilAID7iXLwIAqr9urdX9K2JuwEvu9/uzDra+20ig== 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=yohFhiq5yq3tRnqzUm+PutEdHG95nDtcaQQz3pje+GY=; b=Sl6OYMXp9rDLl+hXSwkkS6UPPQmCwlyoJVbVTtPtVx2HdBvARHqzMzuFqgu9GXlH2RX55dy+/W8+F4JLuY4sIaVKFCFQvBKohgTUMA9dqK4Jy9yVpDB3IFH3Gk4HOK8JQHEbKVDQ3i5fWAKt1ZJcHzLH7rhofqfAngl+8gUJDuaiaLkvSwrMroXohJmsYzl9fdQVPGPwRYTACmxJ19Ivbfcrv8XJ/JKkLBcqG2h4Qyl5O1Zd/YWkJtc9brh/2xYMjCp/ZuL8ChRm6du2gI/ef/JU6znaq+hCl4IRhcAgxC+K/Gn+Vyvyh+mnGZDo/kC4f6c24eFHjxej2XHqj1bQWg== 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=yohFhiq5yq3tRnqzUm+PutEdHG95nDtcaQQz3pje+GY=; b=PsphP6QLeoXXYBRDpU/qYTChKNfMxO3tQgBt1f1I25pjwHoUKZBSTduEs+ejNYdox2WJhrqNOONsl0agvjr50xib1mpnw0EMTAAtl+e89WsE648RaPT1YunVsoZy8OC+s3N0pUVIelBErzdTFwjd0HPJxk7APZlSrEvVauazuFg= 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 DBAPR04MB7285.eurprd04.prod.outlook.com (2603:10a6:10:1ac::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.28; Thu, 18 Feb 2021 01:36:55 +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.043; Thu, 18 Feb 2021 01:36:55 +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 <peng.fan@nxp.com> Subject: [PATCH V12 00/10] remoteproc: imx_rproc: support iMX8MQ/M Date: Thu, 18 Feb 2021 09:24:50 +0800 Message-Id: <1613611500-12414-1-git-send-email-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR0401CA0005.apcprd04.prod.outlook.com (2603:1096:3:1::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 SG2PR0401CA0005.apcprd04.prod.outlook.com (2603:1096:3:1::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3868.27 via Frontend Transport; Thu, 18 Feb 2021 01:36:50 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7a040ef4-ccab-4cb0-09cf-08d8d3adac76 X-MS-TrafficTypeDiagnostic: DBAPR04MB7285: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DBAPR04MB72854A3761A3A6346367567FC9859@DBAPR04MB7285.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qe8zrXXwMf4Vd5YkhTxPmumUy1WSM5ArHQKi6JpksECM6iO2qbWuOUBcYQZGRuIMQ9s2huCRmH6YNYFSzUxl24hrlSURuV1GEj2gzRZki2HWF6Mm6A3Xx6T2qJL1ljQZGsycjFnsy0VAcWiC/ckSd+dglu9yHsZsss3xkOOOKKCtvDuqTSxnhTNZ384rNmk5XQ/PPNcLn+4NQqqaDADxMN3/ZPUq+dbLjwxQeSeCkJ4n9auezA+6Y0YmnX/FrL8LA0xE/m4WuKmxXpqn07xb2dm0GvGN2n1fE2XaRseNO8h/WnOuzIwtXFxxS90izoL9kGGIfAOUbxjr9kOFalzFHhStoFIIWxF/Mmtnon3jwLThww8bY4ZqpGBZZkQBdW/chbtG9zp2yWxPKJslIEgx10DLDj4dasvgNAMQwWfC6G7S/p+xtGYKWrPmkcnBLPdKGOWv6ZD9bLxhe2ooVSV5zeDMYH7JmE4GRiY92Gb21H9489sW1zTN8XHEtAs8RViLEWAvwbDsrQoVj83lbB6uSJuBrZeeb3Fk+gEhFTa26IlfNJLYptak8/flrBYZhRv26vl4vu2i8c9kLKBSfZBSpzIjXvTQ4IQtJ1p9T4z74Z7/5V03w0E7bG8V5bdTLLGNLNffcyqmgGDZDc6erBt+ipXk0KK3PDbzbCi62v2wCCh8VIoX4pMf1rrGgSq1IV2G 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)(136003)(376002)(366004)(396003)(39860400002)(346002)(6512007)(9686003)(16526019)(186003)(966005)(26005)(5660300002)(83380400001)(6506007)(69590400012)(66946007)(66556008)(2906002)(52116002)(7416002)(316002)(66476007)(8676002)(2616005)(956004)(6486002)(86362001)(4743002)(478600001)(4326008)(8936002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 6zVMovEptIc0U2290dnWJsDAOB2ftM7COiby7uZ1CTDkcwV4xVKXYRCfWeShmf1warRCqQI1OOfi9y8UJFrEz9/o2WyUrvhSqQsfwwu0QosWwHVDfXA8Wwl7Fe9VpajOEjRrdnfEMz/Vqm2cjTKFneCxwVkh7LQJqsMygtsZXFOO1yFmZErLnAbPxKvGRiYKeyFcN8xGKwMxG91LQ65d2cnmWv93bj31x0MGpuAoHE4W0mihEqfTE1GMtfBcHorbo4+K2XNvmi22fzNL1J/8s7GWlvEhXuVfNjsR+cR42rUKeGVEK8VfCXaBwZ/Bn7EKKDQnnAfvrtafdWF2ZPTbDeS3yFvvrXtfLvk5oZ7nDgoYR79FLe9j2jTjGyQ0ugWP0mxIef4onEZfUSpz6AvqatpPd+JINrLNGczsk/TzUTBfwoncMkTqif8Sf0/VpX3fRLNaAO3RkssKixodDNKuee76JQiPps/QRfNXXioIGF4vLSdjme4FXZocZREGQuXk+dMP31paFoJM0EqHaAmij3+K7Ur/17D3Ils/jSRDV5hd5+nytNzKr2QGxrhCSRak5J4XDElCZqO3zojRkER7Vum+1zvrmiN6RuBzVEcXshzldlBpMlPenjg6rZ/fMCqZrxEgf6O67aUDtdUTO8Lezz4B0GC1l6C1GbGbjuIptHqXm5aBYGRW49A2f6waYm03orpibyjfYusYSOQUHkgFijvqZa6qQyLENYvzPhisfZs9CajDOeyrSsTyYBDkEQEJZ5/RyvWBtiFITvcatUqbRJbipNbQ5bLxzsSPP2t3YeUDUaotuW+hjAZ761SDF6tEORvGh1A1O7yFaJThulKtbw0gEUoNmB4UtlfKFmQuhZr/cbElWp+4385t7mTwnr6wpocCa0tMcsHVOY6zuN75PhhXRpfS1L+D1bdRqHbDAOXoLuwHANDAt84Ar+5WNbrK8oLtOstDEUep6QMti3sxS2qVhewIEgYQygw/011KvM2sPMwcP/B3EvrB5TIxyXjlxu1LnnXTiN4kHPKS0aoBg4usMAX7gb2mifWOD20Ua6aIxunvrvbl8gcwqdjWM/gvs5cb71BKWnO+d8Ua0jVG2dmVH6fLGzio/dvLg9IJP+ib8ABeo77NT5Hd5xpTJmwX6vTr3B+bHZmy+8tfIqlWl9wMDv+1Z3ZyMCVrELUEfe1kE94C9DC8gWW0cJCfUU665WoeDkXW1pLIYYwsiOjT6DKWw4bRHZ4b8uPvZViTMXCf7wN0AWfx1AHXR+f3Qh8Kg9U8BUzS16uFzGbzLX3YP39OdKc2Kz1Zif2Rv6Xe3vIKvcfaeXcB8GE/kQdPmZ1i X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a040ef4-ccab-4cb0-09cf-08d8d3adac76 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Feb 2021 01:36:55.1963 (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: RRcJHhbmLCIiYrbqrp2ytjB1eZOeOmyI9U7VbY47j+sXyv++QtZO/WPUTzH7BtjbjHBRQ6WJisEIhCObnaMwSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7285 Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
remoteproc: imx_rproc: support iMX8MQ/M
|
expand
|
From: Peng Fan <peng.fan@nxp.com> V12: Add maxItems to avoid dt_bindings_check fail Rebased on top of linux-next V11: Per Rob's comments, fix memory-region in patch 1/10 Rebased on top of Linux-next V10: Per Rob's comments, fix patch 1/10 V9: Per Mathieu's comments, update the tile of yaml in patch 2/10 update the Kconfig and MODULE_DESCRIPTION, I merge this change in patch 8/10, since this is a minor change, I still keep Mathieu's R-b tag. If any objection, I could remove. Add R-b tag in Patch 10/10 Rob, please help review patch 1/10 and 2/10 V8: Address sparse warning in patch 4/10 reported by kernel test robot V7: Add R-b tag from Mathieu vdevbuffer->vdev0buffer in patch 1/10, 7/10 correct err msg and shutdown seq per Mathieu's comments in patch 10/10 Hope this version is ok to be merged. V6: Add R-b tag from Mathieu Convert imx-rproc.txt to yaml and add dt-bindings support for i.MX8MQ/M, patch 1/10 2/10 No other changes. V5: Apply on Linux next Add V5 subject prefix Add R-b tag from Bjorn for 1/8, 2/8, 3/8 https://patchwork.kernel.org/project/linux-remoteproc/cover/20201229033019.25899-1-peng.fan@nxp.com/ V4: According to Bjorn's comments, add is_iomem for da to va usage 1/8, 2/8 is new patch 3/8, follow Bjorn's comments to correct/update the err msg. 6/8, new patch 8/8, use dev_err_probe to simplify code, use queue_work instead schedule_delayed_work V3: Since I was quite busy in the past days, V3 is late Rebased on Linux-next Add R-b tags 1/7: Add R-b tag of Mathieu, add comments 4/7: Typo fix 5/7: Add R-b tag of Mathieu, drop index Per Mathieu's comments 6/7: Add R-b tag of Mathieu 7/7: Add comment for vqid << 16, drop unneeded timeout settings of mailbox Use queue_work instead of schedule_delayed_work free mbox channels when remove https://lkml.org/lkml/2020/12/4/82 V2: Rebased on linux-next Dropped early boot feature to make patchset simple. Drop rsc-da https://patchwork.kernel.org/project/linux-remoteproc/cover/20200927064131.24101-1-peng.fan@nxp.com/ V1: https://patchwork.kernel.org/cover/11682461/ This patchset is to support i.MX8MQ/M coproc. The early boot feature was dropped to make the patchset small in V2. Since i.MX specific TCM memory requirement, add elf platform hook. Several patches have got reviewed by Oleksij and Mathieu in v1. Peng Fan (10): dt-bindings: remoteproc: convert imx rproc bindings to json-schema dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M support remoteproc: introduce is_iomem to rproc_mem_entry remoteproc: add is_iomem to da_to_va remoteproc: imx_rproc: correct err message remoteproc: imx_rproc: use devm_ioremap remoteproc: imx_rproc: add i.MX specific parse fw hook remoteproc: imx_rproc: support i.MX8MQ/M remoteproc: imx_rproc: ignore mapping vdev regions remoteproc: imx_proc: enable virtio/mailbox .../bindings/remoteproc/fsl,imx-rproc.yaml | 110 ++++++++ .../bindings/remoteproc/imx-rproc.txt | 33 --- drivers/remoteproc/Kconfig | 6 +- drivers/remoteproc/imx_rproc.c | 262 +++++++++++++++++- drivers/remoteproc/ingenic_rproc.c | 2 +- drivers/remoteproc/keystone_remoteproc.c | 2 +- drivers/remoteproc/mtk_scp.c | 6 +- drivers/remoteproc/omap_remoteproc.c | 2 +- drivers/remoteproc/pru_rproc.c | 2 +- drivers/remoteproc/qcom_q6v5_adsp.c | 2 +- drivers/remoteproc/qcom_q6v5_pas.c | 2 +- drivers/remoteproc/qcom_q6v5_wcss.c | 2 +- drivers/remoteproc/qcom_wcnss.c | 2 +- drivers/remoteproc/remoteproc_core.c | 7 +- drivers/remoteproc/remoteproc_coredump.c | 8 +- drivers/remoteproc/remoteproc_debugfs.c | 2 +- drivers/remoteproc/remoteproc_elf_loader.c | 21 +- drivers/remoteproc/remoteproc_internal.h | 2 +- drivers/remoteproc/st_slim_rproc.c | 2 +- drivers/remoteproc/ti_k3_dsp_remoteproc.c | 2 +- drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +- drivers/remoteproc/wkup_m3_rproc.c | 2 +- include/linux/remoteproc.h | 4 +- 23 files changed, 413 insertions(+), 72 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml delete mode 100644 Documentation/devicetree/bindings/remoteproc/imx-rproc.txt -- 2.30.0