Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp312142pxp; Wed, 9 Mar 2022 03:34:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwew2gottMVUqjOiAA6sXTnYWU1aA7LvkXLlaHXUKAHC4acLVasZBXstuzXtzFfvAND6+wQ X-Received: by 2002:aa7:cd53:0:b0:415:f5db:5d53 with SMTP id v19-20020aa7cd53000000b00415f5db5d53mr20372257edw.399.1646825673890; Wed, 09 Mar 2022 03:34:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646825673; cv=pass; d=google.com; s=arc-20160816; b=sTLhroLAlYlyeHwUXSMwp6unHblLEjm4ot25cnFZEW2GTfPSHxrGHH36xhXX99GPTh hRtWzSkuvbvbWBGuPirJggF0Z+QlTjOoDtIboYY5UidrXqySttRK0rh3GnoQVriaYrS7 L9Ra5fPxK2ZMpWlRPeyShfsDmnOzNpRYKgUUB7Ye1gvGLHa1/M0qR2xL4dwsbRtmpeE+ 8BM6/KJSC2Mr7bw5Rb96nVP1FfKByjczXuUOCi1A4pAggbwb569QEiwFaPpoD5sZrDBr EcU63i4ToldixtsGish0M/yBO8Rr2LT3hFlOGxfDsMxHiQWbbRj6I+ZAfgD37dtbHBbc 8HRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=kNqHSPKxL3oC1pudsU1hWIqe0O8qhQwnJwtiPnDEpjE=; b=qAJeix6hecu9OJzjjyi5ORUulg6ZTWR8Jvo6UPnHCEPD0+deJiDNEIC2Qy9Sb2wjrZ Wo870GdpDe+A44CuN3mS2OKk/Fudhndk+dTLy9rU5IhVQg6d9wokeNzdxZbn2HhNMIH+ 3WojSHYcjT40p0JlhvCW3gNbLqqO7rw3xiAJ42P/qrdY6G8Mxoq2ByXcOO1emIB0JERX sEj3j3ArgkWng2P4rC0ds7Lx4uxnhW10x9NjiPiL9ee8mIC3viY9Ua+r5iltKBvC1CHf EnxpEFJllgyCl3rpGBsob1KcYAvQ7WGqnRVwmcxAW1wdYiTAIXjciiQ4HOTvUMt/NiQ7 oxnQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=JGpMAhXj; 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 linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g1-20020a1709065d0100b006cf37fdb0cfsi1616870ejt.936.2022.03.09.03.34.11; Wed, 09 Mar 2022 03:34:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=JGpMAhXj; 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 linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S232088AbiCIJmG (ORCPT + 99 others); Wed, 9 Mar 2022 04:42:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbiCIJmF (ORCPT ); Wed, 9 Mar 2022 04:42:05 -0500 Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50048.outbound.protection.outlook.com [40.107.5.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 703CA106CA7; Wed, 9 Mar 2022 01:41:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ExLzqNAcAWWE0XONpYALixxPjA5+C1qML5a2HriEJoTWOgqkUYPeLHaOrjITWDINeD93Ua8kfE867yE48bWoLRuL2yAlhNnzgW73pH3z0MRIfvV5Vk2Q6tDecWHHDTwrVKnxXila69WDSgm4uy5yJqKVLa45jqCmR81XBglxbCr0lBHgPSf52bZHwM8Oi/4uUzGcOur+2BzF1887wRQpNFvQGMid1owaFGIYWB5ip6gS8p/aCiFZoskoHCDTuOgJEVSiHrBZsLH1SNh6cg76N9UnL0ajYaLPOTG//i52mI9vdYibAaG2rhJ/mXr+uluWRABTVRWJFWynBll6OJ0Hzw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kNqHSPKxL3oC1pudsU1hWIqe0O8qhQwnJwtiPnDEpjE=; b=JOz7lVubav0VE/FcXVD1p7DQlptQqUdR7c4/BqZIKFgHX+IcpGFp4hyP6T1n48+X8lFM/EnXJoUV3Nn9HJCADQf5XHzCyXR1rdrpIDnyUOFgwY7ey3oHd8LdUX24Y7gVd2d3mBPzKgb7ImlLs+rXfjlUABkvbHd0eGNPEQslURSsvTb5qUOfUYixhylmW7uGPH1pGTcHAMjZiRIhJ64PLf23lQM5LGeyaOnxDmyQNK8x9KI7WCIpS77GdkOpK8Qq2bNIpJBiTN+y7oYIVdW4PHDiavZme1o78lhfkX2afE/oyXq88f8VYx5sv/thFMwlK2GNwViVJs1PdFhzWRUZjg== 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=kNqHSPKxL3oC1pudsU1hWIqe0O8qhQwnJwtiPnDEpjE=; b=JGpMAhXjtS1eC1J5E+sMCXEfEJsYd0FnTHVNe3k3fSu3seawA8fF8h+kY+Imd8ol3KKMMfwBHkIvF78+2qfZ+axtKi3clDn3Ge5SA8du0bzB9oO2cgER/IhHx+mbg3r8o5YcP1ZZYrLTHaK/8CTbD0s84uf24HuJmNUWWXOVn6c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB6043.eurprd04.prod.outlook.com (2603:10a6:10:c5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Wed, 9 Mar 2022 09:41:04 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::5538:7e34:6843:2bc7]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::5538:7e34:6843:2bc7%6]) with mapi id 15.20.5038.027; Wed, 9 Mar 2022 09:41:04 +0000 From: "Peng Fan (OSS)" To: bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@canonical.com Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: [PATCH V2 0/6] remoteproc: imx_rproc: support i.MX8QM/QXP Date: Wed, 9 Mar 2022 18:21:12 +0800 Message-Id: <20220309102118.8131-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR04CA0002.apcprd04.prod.outlook.com (2603:1096:4:197::17) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 664ed3f3-38ba-4ebb-c57f-08da01b0ed4d X-MS-TrafficTypeDiagnostic: DBBPR04MB6043:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NBDwRqHKtozxI0aFbdAbr4Avb3uyFOufEtr7ENdDu/hB9CpAo0Cel4JCq1Le4E7CIGmTq0lvYZCey+rwyolvQscGoilDe6x//e39txrkySo29lZ+Zj9t8GeaiiyWx6AozOlPxJwjDW2Ba1djc2mFxQwj4bx2EBLFH1uROwMeBzibxxG0T7gysIw/usrU7tJg1tgVQjJuAF/Cds2TiU9yoM9taq9TSdVZAydEYUJGgfJk20TWSKk7iA9CUZScPS6RMXKluJuqm3B19mcKhBriWw3vlwkOyrId7roZJjizFU9xCRqIbvcAzTfw/db4wUA7xyvPbXNEVssnl39VMk9/o86w+aylODT0p8fXDFKDw99kzoEAmQUI8IbnaLqPe5wv8v0p9M28vFJAyiAgArkOovmlKZHdlJ7HaTIVX/8pMfC+o5bbou19lxOLDcU2MGN5s0rCR5RfVRe9av0qVwbNOlAAvM0qVCLzgwomREHxUNoQKeJe6DaIFRLr9XpEa/EMzcBmCHX3xutchKTyt2BZVar6WFMVjWZuiJiWqt9zV5vwRl3VxqdMn31918wCsRXLjeov1XOx3/uquqIDEdJwYMadYBoUNW+DnoXseJHBo9sLnRHxXAs7mOyZ3aEUq+weod26Vvsk8GygPUQUeBBXQAvJq1k6ysg8NjQDZzDElMbfdJ6MNsaSet/Lz2QnQqz5lMB3JjVrUER4sB0XIJBOu7/OCmWLdiCYwv/IbeyVYKdK8Xpqg8IpYkoob3uCFqYK3+7bObEie3fgl2uq6GAtylQb82Dvff5tMFqGqjQ2Kms= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(86362001)(52116002)(66476007)(66556008)(66946007)(6512007)(8676002)(966005)(8936002)(7416002)(2906002)(6506007)(4326008)(6666004)(6486002)(38350700002)(38100700002)(5660300002)(498600001)(1076003)(186003)(26005)(2616005)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?FYA9rswvJcb06jSUuCxJRvGPEWLeY+Yq8TZYwIIWMWPgzNB0bGcVDHf3TXwM?= =?us-ascii?Q?mRB1emhM3WQ6Tq0/qeTNelL76M8KpUF3ucbk65ZFLdWvQ7GzaPWmPY5gkv2g?= =?us-ascii?Q?ptYwtsXFTsdMPxUQRq2z3lDxIVmmCbyz4Fvqn/0pJ+gPamuzCADFFcqTKJH/?= =?us-ascii?Q?FHZlesUUOkJBlK5b7Z8mT1yaS+oAUJyWsBPnDcQE6zB/4fO8Z+dJsJ1o9fKv?= =?us-ascii?Q?FTvyAuW5OtYywt602piVvjdaYjhHjXcTx2wz8tg0TC5Suc5avdn4ch+Sw+UK?= =?us-ascii?Q?ZjmHgp+FqCXfNj7AtTrjI77npSYaTxL+qmpWJlyCt7wCl1be+5EKgtO/AA7S?= =?us-ascii?Q?4n7S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zlv57J?= =?us-ascii?Q?us6YhQ37ef7wNwRQeNeldeyyMcdOv6o5MJ6hVpwKZJbYCBzR3WGgpiEyci2j?= =?us-ascii?Q?pQDQPv5oeqEA6MFC5kzb+MbemdkQuUO89O4NJxw/HOA+7YGoAgpdjQ9xqvo0?= =?us-ascii?Q?dVDMHFauL0ik/72snjqwD2jStA2RlWWG029z0oa7atXJm00g3mD7BuMrANM2?= =?us-ascii?Q?UCRqXCk9I1TTwbPjRPOEC5baAQVD2IPOZr3glbHzqKLk1WyNjBL3guY/ebjp?= =?us-ascii?Q?dM8gkWgxy2tr6OJ8jVdFwS87OP8M+ApmNRZswaXxWOm1AJmbJcasf+4MbZdG?= =?us-ascii?Q?mtr512eIsAxslcYb+aQev2dh90UfR2AY4LBO4EyOF8FY231F/bWbVrjZpK4+?= =?us-ascii?Q?8YYC1EOZNCW8/jJJHoe15OI=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 664ed3f3-38ba-4ebb-c57f-08da01b0ed4d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2022 09:41:03.8514 (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: t3iHxzA72Tlb9GqpYglG0kkSYpnL8JIEEeyYwJ2cvTuPfjzmmpB2UVKWzcEKl5vVLlzQmxXp/wVSQ5I3/N64gQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6043 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan V2: Depends on https://patchwork.kernel.org/project/linux-remoteproc/list/?series=621311 Tested on i.MX8QXP/QM/8MP Addressed Mathieu's comments Drop V1 patch 5/9, patch 3/9 is replaced with upper dependency patchset Move V1 patch 4/9 out to https://patchwork.kernel.org/project/linux-remoteproc/patch/20220308065754.3355-1-peng.fan@oss.nxp.com/ Update commit log Drop magic number to get entry address from device tree in patch 4/6 The V1 patchset: https://patchwork.kernel.org/project/linux-remoteproc/patch/20220111033333.403448-4-peng.fan@oss.nxp.com/ Peng Fan (6): dt-bindings: remoteproc: imx_rproc: support i.MX8QXP dt-bindings: remoteproc: imx_rproc: support i.MX8QM remoteproc: imx_rproc: support attaching to i.MX8QXP M4 remoteproc: imx_rproc: support kicking Mcore from Linux for i.MX8QXP remoteproc: imx_rproc: support i.MX8QM remoteproc: imx_rproc: request mbox channel later .../bindings/remoteproc/fsl,imx-rproc.yaml | 19 ++ drivers/remoteproc/imx_rproc.c | 240 +++++++++++++++++- 2 files changed, 246 insertions(+), 13 deletions(-) -- 2.30.0