Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp789757pxb; Thu, 15 Apr 2021 06:43:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOC61PFM8H0Octj6H+srGbNaenE3TdDl9gewtudTZgxHUuxVMT+q8S6TAgY+74bg9dLLxj X-Received: by 2002:aa7:904b:0:b029:24d:5447:1270 with SMTP id n11-20020aa7904b0000b029024d54471270mr3397511pfo.38.1618494223474; Thu, 15 Apr 2021 06:43:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618494223; cv=pass; d=google.com; s=arc-20160816; b=nTF1Ap1SaXDOJyAcRDQOLrLVkeMuJhNYXGL0D4squ1/2uSoNnPKAKPzKQx+MD4sc88 YKImULjHD4ZUZeKgLB2QtfV7odGpIoO9SrlRgvemjcJiGtSVNtHXuDGahhqa6kSWbrEA /FvqJC9fayt2M2tp+a5s4w7YOWG/0w2IBMyVdBssBlOW+SdGjqO9LDCga0fY+0EV4n5O xMrx1kz7CAtfI4pEM8AgKp91Ck2EPAsPgQpAFdd1ilsIURjROPB2PhunZAwx02nepJp/ g308X3ubkEuRIAzt5vO4QMpZiR0Mkdpwo2upS3BZKtIQgNj1p0NVB61rzCBWAaFF46dy D8TA== 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=V4S51db02oMTWlqcF3wGNmVhKpSJwByi8ulLyGPDwrU=; b=C2GWiSaIiUmbJfrrYIAwGftTEB2jaJni1dQEbJFNjLOhwQmv4VZTLhScYZKM6/lv4O crkspaRTHKl9MNBzoi1PvBzckPewl2GOcRQRNs2t8YhL9DI0Kp930C1bZV8ayj9eySz2 l++KR9OWBuvkg7VGrBFzuX3tYYYaDl3GJPltPp6M1uJKus3I8+MNJvt+VDKyTwJO2U09 LVWW+bmaCWdaZ2kWGlf/vkNWxOfRgMCZnV4iNFRdwrhn2/ppfNV9VjKGzj/j4JVtvB80 i3ChRiUO3qLPl7mxAw/P9b4L8rVQdkq7wM6ihsjTYI7BnxwKWFkZN6kzTAzYCntfcmG9 +E+w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Xj9TITdE; 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 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si1304912pjl.109.2021.04.15.06.43.30; Thu, 15 Apr 2021 06:43:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=Xj9TITdE; 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 23.128.96.18 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 S233216AbhDONnM (ORCPT + 99 others); Thu, 15 Apr 2021 09:43:12 -0400 Received: from mail-vi1eur05on2058.outbound.protection.outlook.com ([40.107.21.58]:36513 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233098AbhDONnK (ORCPT ); Thu, 15 Apr 2021 09:43:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dmJW+sYQby1IJvL6JC8m9lEDYuG4w7Qqbw2YlI0F+fA6GYNLRv/LkBcH6ee5YHmtGn6MpHPt1ml6a821seiaf1tBs1gLgWtvhCLVgamdGSvzlzVZmwzvyNWTo0knzlgE6xUQ68ft/LSXSvcGYumWJr8AP9p1CzeSFO6YJ+YJJ7YQlMRIj0Jj1mCO3MNQM2+XkBWRpSEmOwMr9vQgGY2N1JTKMaNnTVZXucEPo3e778FwPKAl1bFuWL5VfTM6OLD6Saz6SshqBv2ZMY6v206JAl9nOnwdY8XGbZs5oMBHVxMcaFBQeRelSAPLpL454OpeMRZl6WxMllr/NmOFtxZ//A== 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=V4S51db02oMTWlqcF3wGNmVhKpSJwByi8ulLyGPDwrU=; b=fhWWhn9J5zug3kViTMO5Dq7vlcg8j1zPdHkYkqhIHfJutBACSYhGtfjYLeh/L+Djc+gcl68AH86tFc6wpsHCq4xzKA1I9bOLPV6LHFeMeAcj5RkybTtNNDHNuiIiKLU99+HPRMBtRWECxy2n0Z4EwG0fUtcKyvWR1RtOxwlW02iEV/M+IfVrzKi5kjFi3qnNjnw7YN7qdsPScKfm5OuQTJtfWH8WEbwv9eIgEAf2KPGBhfqD8xs0iZcxKPywQmGCYZqt5xxG7sQMN0D4EN5cTYBdRuwSbx9KNZ0ap4+fbwL4qqSaThUUT2AkmKXMwdHjoi0VA62Zi6xx+UhuCbtcWw== 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=V4S51db02oMTWlqcF3wGNmVhKpSJwByi8ulLyGPDwrU=; b=Xj9TITdE27CqrYaoAapAuykNxdbd5qC9ICulPCCTGhW9MpbCN+i5ti21GivF5fpFuEsURlNqT+ZgfJWyz89L4RvgnM29v0KJx+qGAW3vIGjh8dX7tOFsAmNVXFvx8bY1Eno3xXtYmK1QSuBl/U7XhIBPnTtaMlONqQYRzpPt3Kg= 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 DBBPR04MB7817.eurprd04.prod.outlook.com (2603:10a6:10:1ef::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17; Thu, 15 Apr 2021 13:42:44 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.037; Thu, 15 Apr 2021 13:42:44 +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, Peng Fan Subject: [PATCH V4 0/8] remoteproc: imx_rproc: support i.MX7ULP/8MN/8MP Date: Thu, 15 Apr 2021 21:27:33 +0800 Message-Id: <1618493261-32606-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: HK2PR02CA0132.apcprd02.prod.outlook.com (2603:1096:202:16::16) 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 HK2PR02CA0132.apcprd02.prod.outlook.com (2603:1096:202:16::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.4042.16 via Frontend Transport; Thu, 15 Apr 2021 13:42:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e48473cb-f6eb-48f9-382c-08d9001458c3 X-MS-TrafficTypeDiagnostic: DBBPR04MB7817: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2582; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Vse0/2Yg6nyYB4M6+NGR5URpx6NeIiMQM4ilIFur1gSEsFRywwoXl01In58kEBxWfaWQUeFnhb22hrbs/LzzXrNse9Ys3SmLBzxmlaH9Vj9nwaBGjrARX4CrRazENseAMj7BG9QEkupH1WhsgC8hvm/oYXyUYTqvLe4fuK62+xd60eWRmyNGlVJThF1OKjUSZ1ctIArqnzhQ594fLbpvvLm9+/M5H4g7Hm/5FfdfihgpRYDmnBw9LHBVJ02Z7BEM48J2U8jd6QcaeQVAN3mS9GpwV98WpJ8IYtgKeT2HOe9Jc5BSknYAFyQFkThgYh7PMSfS+wIYtTIZOKvt7WSTu5SBV8ByC83wYHo/T/EY93ofxckeMb2apjgxG4o7uaJRV38dnyW/aw1BiHImKWLzeVXZoyZy/FDaBHLP3PzIjzIWnKf1gu8f87FksItZ+G/FDILn95v0boUdrTDH32YRQ/ux61/7Jjb1iCrmZXskpnLLa/3qy7CfVsh/i4PDDqmWBo8lMy3rgQ/pEvOVaP2fSuEz85V4yeVkyLgq4K0olSQVZVG1zTHpsAgj0N7oXi+0W4N2f5neNesPQA17YwwnNnPL7Y+l2FYbGzmrUnf+fRRBu7mt67FGfoGF74VsgRgp63KN894pXsZ0vh7rnku1/X9AcA5zWkRLiEn8urqg2KcYirPcLoF7WjtB8G7beoGx 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)(366004)(376002)(136003)(346002)(39860400002)(396003)(26005)(478600001)(6666004)(8936002)(186003)(5660300002)(4326008)(8676002)(66476007)(6506007)(86362001)(83380400001)(2906002)(66946007)(38350700002)(316002)(52116002)(16526019)(956004)(38100700002)(9686003)(69590400012)(6512007)(6486002)(66556008)(2616005)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?CR8cMlYKMVkrxIEFF90ttzw1R2WFR1Is0+AS0DnQiJFPFmNQg7ix7IXCTBLS?= =?us-ascii?Q?gPL5osXLB8u6zosn8ZxTH2V9h1zb0IkzTzldJC9A3ue4l+PDT/a4lmG+bd9t?= =?us-ascii?Q?ctslfpiDGx9tTRzhjLAd8QrMJSPC0im/LV/OzRUU3GDpQVIR8MXM2Gs9P1NX?= =?us-ascii?Q?hBS11tvTgGj6kJOEjkPBXwWjBXOEwj30Zg9HutHpcIgR5LBLGah/tZiQRaXp?= =?us-ascii?Q?2VG8kOcX8AOmmjGtqjys19LN2orvf2a9l6ouy+UUYrN+bsFs7l+O1ivv7jmV?= =?us-ascii?Q?Qi2MDVy3ztLRXETqmXxsAtyB5jM/GMQFBwcAa7y76jh8HePJ+NCs73fg211I?= =?us-ascii?Q?wrAJ4fF1L4LSGgBFWGzJbFjWs/w19UfdQsOTW+EayPNC7Im5fDworXaAb6nT?= =?us-ascii?Q?vGjUUPeE8TmkmZrTSe2kelg+KzGQQIHaSsfBmRSJ++YTj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rLYkl13hfxMq?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e48473cb-f6eb-48f9-382c-08d9001458c3 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2021 13:42:44.3088 (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: HZbN85cuYi1RmXJhzbwTKcX+bBdhxhG6wVXcaEpTwds0PB90L8h+s+x9BVgqFJsdlVtnOcg2UD7yYGAxpR7cLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7817 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan V4: Typo fix patch 4: take state as a check condition patch 5: move regmap lookup/attach to imx_rproc_detect_mode patch 6: add imx_rproc_clk_enable for optional clk patch 8: use switch/case in imx_rproc_detect_mode V3: Add A-b tag for Patch 1/2 Fix the checkpatch warning for Patch 6,8 V2: Patch 1/8, use fsl as vendor, typo fix Because patchset [1] has v2 version, patch 5,6,7,8 are adapted that change. This patchset is to support i.MX7ULP/8MN/8MP, also includes a patch to parse fsl,auto-boot Peng Fan (8): dt-bindings: remoteproc: imx_rproc: add fsl,auto-boot property dt-bindings: remoteproc: imx_rproc: add i.MX7ULP support dt-bindings: remoteproc: imx_rproc: support i.MX8MN/P remoteproc: imx_rproc: parse fsl,auto-boot remoteproc: imx_rproc: initial support for mutilple start/stop method remoteproc: imx_rproc: make clk optional remoteproc: imx_rproc: support i.MX7ULP remoteproc: imx_rproc: support i.MX8MN/P .../bindings/remoteproc/fsl,imx-rproc.yaml | 11 +- drivers/remoteproc/imx_rproc.c | 206 +++++++++++++++++---- 2 files changed, 179 insertions(+), 38 deletions(-) -- 2.7.4