From patchwork Mon Jul 15 21:27:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13733919 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013009.outbound.protection.outlook.com [52.101.67.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE57E73477 for ; Mon, 15 Jul 2024 21:27:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.9 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721078859; cv=fail; b=q4EdxpIvcW28gUk5czrSwbYQpK00KLAW3H2f7Av5v/eLUdgD5OGH0uSpvwUCtza2kt5v2Cm79GN+IXrMzEQY87V5YriBncVr1KVKRgrueBN+E8yXa1+xdsBiVa57tgc0cu++z9wzaAZF4dWBZgL6pjzg7/m5Z2F59Gld+1lGb+0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721078859; c=relaxed/simple; bh=SW2DaK3gA3JGIfjd83d6VfSubovWT1+ogF6Mv/ASmx0=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=h1GzaPQG46a49k4XRYrEqU48xiE/RA5c0OHPuLfRfpAThaaIq0wPrAurhoYY/mFTZ3PDWI6LXItf2q0JNTkFCqd1B/U/AhNkVuo8Pb5G/ympVqeiUdXDR9o//AYeXeBUC4jBu4sOnJuwRwsSTpoSYYAsH/Pok66S/DsWiUwaTJ4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=TK13gMg8; arc=fail smtp.client-ip=52.101.67.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="TK13gMg8" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gn/NtkQlw/E6VUJaGnu9d4L8ldugW7dNvyU8TTPDpc0Y4awJiXIR5nvUPsU3lM6jF3yqeZnMofJ1mAfpyp41ayJBSDGdrITGA1DulAYs2bA1Ei2J8T6SEyiGuDYvsjE2mPR+TrJBotoufSYKV49mx9lvUZbHhoLMpeuqGn5bSPlhzw+YBq+L0Hpv9apn1aqGE0Cp3B2UyqCrIOhRbUEmZs9w12T1MlrvH0cdPR/PiaFoBRv7pFecNcpBmOy6wMPXqPS0nj7KV3jlSaGkQOiqSZYJuJHhsQ3tgoRPoY6a5gj52LwCKqrWlWKsiInBKhUOpd7NxfQM4HoQOo6XHW6c7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=wgJI3AiLvTPxBGYQBB7FrV90UfRpnZPmPDjyhDbf3os=; b=r2zrFv5UFRIr6zfmiJaShY2OmQUx/DMoRm4zkACLQGWHzJNrlY/Z6TCNcNC97kFhKp36iLAIsplUJkJ+f5+FF0SKIv6t+FQnjjlnUgly70MTnZbBz3BOKKSWGxf6r24vpf9fYtQRPICoUBFjpBSEhjcpdobYXhY592sTjsb8eMevHa9O2TbAWYMiVI+P7p8aEFsyyedl5FGEg0pvqdEm3dJtiz5r7rRIuG8ZZUf64+QewJUMRH3oVL8mRQh6Jt0SkUn8smftUTWvvtMsviwTxOA/ew1P+KJbS1ATCQ+RoMNlpdHaPzL7Os5R3tyxKzoZ11uXZBg2M109qKn9ZSLvrQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wgJI3AiLvTPxBGYQBB7FrV90UfRpnZPmPDjyhDbf3os=; b=TK13gMg8R0NRidd0/fYrryYbyg92FEt6ZIC2XAeK9M0xe7FxQDU/E8Nf9iKPJ+57SAAqIHuvKOWeCqrk5buglQ9jTZxKVL6o9Sywz/7WlYwpVv7VbJ09QNOt3DZ2MucK2j/RxQRcGHSAXZ2Yo8csjKWLGuMiT13WYF5goj0ThVQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AM9PR04MB8275.eurprd04.prod.outlook.com (2603:10a6:20b:3ec::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29; Mon, 15 Jul 2024 21:27:36 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7762.027; Mon, 15 Jul 2024 21:27:36 +0000 From: Frank Li Date: Mon, 15 Jul 2024 17:27:20 -0400 Subject: [PATCH v2 1/4] dt-bindings: can: fsl,flexcan: add compatible string fsl,s32v234-flexcan Message-Id: <20240715-flexcan-v2-1-2873014c595a@nxp.com> References: <20240715-flexcan-v2-0-2873014c595a@nxp.com> In-Reply-To: <20240715-flexcan-v2-0-2873014c595a@nxp.com> To: Marc Kleine-Budde , Vincent Mailhol , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, haibo.chen@nxp.com, imx@lists.linux.dev, han.xu@nxp.com, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1721078846; l=824; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=SW2DaK3gA3JGIfjd83d6VfSubovWT1+ogF6Mv/ASmx0=; b=5RxoczcCCf4MitjhvAmD6lEVoD4mkTVXwCUnx5kk16lsT0n7GhTGDNUqhvy/ab9lR4bD1uaO6 Q4FnGh03NOOD4+mSUro5pGlUxfRLkWTYmy8QB8flAEmjgKbcVWQh89e X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0112.namprd05.prod.outlook.com (2603:10b6:a03:334::27) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8275:EE_ X-MS-Office365-Filtering-Correlation-Id: fab03f9a-b243-4ffd-ff64-08dca514f26b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?0wrUZjl9ol8ih3rpdAPqXfzLceYYz/c?= =?utf-8?q?oMw015bA7m/56eW8fzh9882nL9QY+0n6HOi5hLGyl22bguX7+XYNqzsRCdWRxCt0V?= =?utf-8?q?pgaJQoaGV7F2qvwuJ94+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Jyq2gA0+l0kD77vxSGViN7DH/paK72a4uWQCUiJHiXOMZ?= =?utf-8?q?VLmTrZNIT7K7g8tyLRT7LboZ50aZSxcfPo2IoorHsKbauM0aXqq1wTe5lM5OOHkKa?= =?utf-8?q?/RkDpPFh62FVOO4Bu5q6e0/RBJX9nfKT9fP+0my7q4Bvqp80grZg8eiBTStN0hwtm?= =?utf-8?q?Qt/9AUf8zMkqAifcAsbNMyuyRFbR2p79sy2m2xNUFDMDoWI2R1HjEbBywbYZukZkt?= =?utf-8?q?1KRio/AwFaraQT26TUN5LQky2KA3+RxXDFZHC5IdCBBFm8c/iZoAvMe+g7lIYZ0P0?= =?utf-8?q?UKeimzCuV1THX93iSVWxFv7JmPc9Ub3wX2xWb3r3FqipbRkQCFhCcnA1yHLYVZATE?= =?utf-8?q?Bz4cuJtnRpfCH+sVHFbGVFEZFWdD9KH9dg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(7416014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?er9ZW8CMlKz/oiybWpeFZNe3fPJN?= =?utf-8?q?bF6XJSt3s0Fqo2ZJXpB/SrdAEtXJ0nUUYdMUyJNM0JZYuSNnBz1pOiAgsMmNxwhPv?= =?utf-8?q?zXJOj1ENsI+xcWwrl5XvswFmpibFLraNvY+1mSof0c5i7lhUxMQ1kq1uzCfi0HV0H?= =?utf-8?q?KlJ26Xooe4jterlG1gRnahnzQr0g0DtoaBciRYs6jI5pVro5kKkX5UvAdhqY3qVv9?= =?utf-8?q?wdwzzb9w276ykNTsx/so0dYGi5Z8eHjSc16DfUI915uBk83mm62/rzJzIfVO9aHdk?= =?utf-8?q?9yE1veVA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NWRMxE/UF2p3rhAf53ZV9vOcRE6r1Ub7cXyCWilc9DXYz/BpmXBM9lM+sm7kXZP+?= =?utf-8?q?CXo7JO3eNrqHUYt+/ZUSN+3yT8Fwc4k2LTV8e28Lz5I5ho5AIrpaTKSsOjt5npNtj?= =?utf-8?q?UO5XVTw3CrRkTiG/Nl4EdfP6ge338bLjDgW+v+YZ5r/0fUob4Hzk5grPl6XF0J+5L?= =?utf-8?q?TcntadShvVlUJHfF5Ek8LLLhPCIve4KqhbfDDOauOP1g3Y91vEMFNFvRLiiBv0hI0?= =?utf-8?q?u61van8Ub4qcQDdjeeyAVP1tMKSa27xXxx446QrNdyBUDhgMVp6WVkS+tMkNcGcdE?= =?utf-8?q?8QWIYL1UW/6vsZjXFxT2D9JZL4Blctd2JnqxBttlHEf1ZQg6mdLbDNbk=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fab03f9a-b243-4ffd-ff64-08dca514f26b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2024 21:27:36.5675 (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: KuKPKQMZ2feJLlz8MeumJ9PBN6a2tp/tI9Q3XwdWyxEE+uMvHHizhKaJ/4NZmGuf36LuwEU/WZ/e+5yVYKFCHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8275 Add compatible string fsl,s32v234-flexcan for s32 chips. Acked-by: Rob Herring (Arm) Signed-off-by: Frank Li --- Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml index f197d9b516bb2..b6c92684c5e29 100644 --- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml +++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml @@ -27,6 +27,7 @@ properties: - fsl,vf610-flexcan - fsl,ls1021ar2-flexcan - fsl,lx2160ar1-flexcan + - fsl,s32v234-flexcan - items: - enum: - fsl,imx53-flexcan From patchwork Mon Jul 15 21:27:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13733920 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011003.outbound.protection.outlook.com [52.101.65.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B386142659 for ; Mon, 15 Jul 2024 21:27:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.3 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721078867; cv=fail; b=WxLLB7cCLrjDwDRrooFnQNTaB10AbFNQZIXdBTUY+cjt5OTWBL3Sce71wb+CGOpekD7yw6Z/D9WJR4dWoPD63dOmqO1GPaQez1qaFeLIs+C8yXzp3STroexBVsnELLBxlycYwfihbIfZcIjEMB3Z1NjdXeyM8OHGNc7KH7w6eNE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721078867; c=relaxed/simple; bh=mT15hObaWTwSv2SHLwwESm2lVFZ3gRWzH0sKOD9wxi0=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=h5b3vaoy0aUazcqydwhyzeP/GMi4m1LmaMpdFcIRWZ53JGnPUQ/dBlBAY4R4rSJnVQX5JLRTS+NywNDSJNvnHRdqhr7KO4jnoRDd/WrctiAoWbwKleOvvWeIySPNd+lNxbh55+2mj5/i/+jDH7ml9bqkEOGKQZ6wBD3b/NAjGHg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=e83qV96W; arc=fail smtp.client-ip=52.101.65.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="e83qV96W" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UNSECNrvllm4XnMqyU6RZxBRQfS9mfYWK9iu7n1pdZb5gVkPreCkuE7iA+uU5H2X1qf3rKkX4Hl1ZLb7OekcLw6Fe5MSkS5SdWA8vKLL0DxeBVwY+MmvckX7TgAkkwqB6P+7sC+5roOToXL4CYqyk/SF3n+MyMHPcr0UQS8AGm1I2lTNAGxNscYHVGmnKpKDEG44BYxlHhAJ8Eb0yp3gEoevK16YYxx/Ic74tNcJUD/4JqgviBWymy+ot40ETnKkCW+xCbNOAi4LDOF/OOecU27C34ak0tddTDrOOjh8b5z5d0HzcgLGBbmaQMO9OM7ksCoXyuQMlIpiQ4fvxt/WSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=gbkVXBQxQVjnfM11TBjBsHzyJzL0huUuh+g/T+f4+Tw=; b=pGmPC9uMYKOpEdRaOo4UKsyzhYj4qb9icYIWfBPiCC5+pVwGdpqCW6XGZKSwxzWWEQ/UJ+0agE+6iBlXYvA0OrJPDaUueyJ9sE1Gq+QRKMVpJWMh8FW+424qFVTaBj46Jp5J/eskqHomAuviq/0Ao9c6t6HOsMf/htuhnSG+SHfh/TShiiHdEoRtUnl6gypf5Z/7HCXchIl7MIU8kanXlCJI2Y1GaxO371w4S3IlSbNhljs1vMcfFOSJrg/tQ6Pctq/BWwzSy6ONEzL9+WK6ZIPY+epGqEFU0quc45sQr6yJhf2wpO3R3LNVqdfKh38KUE63tCdqdbeI4OlEB+jrjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gbkVXBQxQVjnfM11TBjBsHzyJzL0huUuh+g/T+f4+Tw=; b=e83qV96WF2jnB/gQ0TULDaHPC3qTPCzYjQDoD8ncfPAbOaDvs04y87QS/0dllyUE+Ohx+gf1TUza15M4kjm+tJ5/CpWQ6sP1XvPXjOwuO5lM2B6r9KSe4ewl7qtFwuzp30PqrJFtOxANnE2nES4EjBzXFdeR0loGe9g5H1h1Ig0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AM9PR04MB8275.eurprd04.prod.outlook.com (2603:10a6:20b:3ec::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29; Mon, 15 Jul 2024 21:27:41 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7762.027; Mon, 15 Jul 2024 21:27:41 +0000 From: Frank Li Date: Mon, 15 Jul 2024 17:27:21 -0400 Subject: [PATCH v2 2/4] can: flexcan: Add S32V234 support to FlexCAN driver Message-Id: <20240715-flexcan-v2-2-2873014c595a@nxp.com> References: <20240715-flexcan-v2-0-2873014c595a@nxp.com> In-Reply-To: <20240715-flexcan-v2-0-2873014c595a@nxp.com> To: Marc Kleine-Budde , Vincent Mailhol , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, haibo.chen@nxp.com, imx@lists.linux.dev, han.xu@nxp.com, Frank Li , Chircu-Mare Bogdan-Petru , Dan Nica , Stefan-Gabriel Mirea , Li Yang , Joakim Zhang , Leonard Crestez X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1721078846; l=1628; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=80mv/LETBsFOYeyZH+dmpgodqlmtmDmGuf9twFeH9aU=; b=83mp7sv/Gi+l5u7zfu9aQWAmS8PRGUIGLNDsYltzmk0tkgkd+Wo+BI2YKUUvcfr8ZlSovBDQm dLjAcbDnVeoCwlomPWDkvE1AIUb92O770sXuzD/yU8WP/gKrLfVSP8r X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0112.namprd05.prod.outlook.com (2603:10b6:a03:334::27) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8275:EE_ X-MS-Office365-Filtering-Correlation-Id: 17fc3654-40ee-4592-3c7a-08dca514f592 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?DS5xLhSGtmZNlXzMM1iYnQSDaqXlkiT?= =?utf-8?q?yppp/4LQ8tOdvQb6TOwjGACE1676qjLfIM4kdnHEZ14yt1CVatC9qqpu0pUkH4/0w?= =?utf-8?q?BlUHblDqm7KdjsZxRdw9OrHcOxKgfenU0H+zxJ77N0fEzMJXc/nOjfW66nLLVzSJh?= =?utf-8?q?MHKK17xmHIQ14B9PK6gdKh44VkfUk+Q1dmH+LaM4B1xRWjB2UsTZo0L970gWGscMG?= =?utf-8?q?BYQwuKga+TO20D/3D1D4nW7P42bdDIu+ihphgYkQnIcyJwevvBPFnWdqGGH844TbS?= =?utf-8?q?Y7R9/pumNWnz67DPEyH7qamQq2ZydDtvTnvweg6BrXl9+Dmn8Xjfbxg6NVPEL8MBN?= =?utf-8?q?bneN5YF/2Xs1lv8Uel/v/7hIcHpG1d1ZX9aOHqOqcDXZdmSaJeM/2WLjGVLPA/gcy?= =?utf-8?q?3WI+/q9oVNCch8wRdGUPVZkiRmcrcSJT2ma9VsdnzZtD+66urNaUbIAV3iSkMjy3N?= =?utf-8?q?XlOvbuL3xk9nCSaZKCzlvcF5KW3SvikRqtRY7VJSbL526Etftp21hNDsbgVsamXhp?= =?utf-8?q?xH2+iB6ZVwNPh9QttrqrXWnQYVGPbYSUXuTi/fZt+CX7QsEvvx56AkMY8qL2kFUkJ?= =?utf-8?q?Ox6DlbaZ4eQrBvw52KaXkQV9Oq1a591eiPOHKAovipYa34u++8X0RqCMtMPXSCDPP?= =?utf-8?q?P/g0az0eqTe5pQiJBd7pG/bd+l3N3yEQpSaMqr+9IQY8niK2rzVUpnpxf2g+Jy5GZ?= =?utf-8?q?NROOzyY+JVMU6y+a84RRpn0qJJOwSAqtxaznYskQ1rRCwJhiUetJ4+1I3+myabC3e?= =?utf-8?q?DLnFFMJZoZgICIhbiu2MElQXXsnNt2mshe+KU8p+2jg79sh9NAiIWLmgDP1aiG5Rz?= =?utf-8?q?KI7crpG4UxS0/lvUp8YtQb9ShzhaVf3jRQ+A0C0fSuumeDXFMoze3IMwUZgw2LKFg?= =?utf-8?q?3ixDqsfPbB9rwQOrHYJm+0BFq166MuG7m2b8PjrARhBcZObOXr/TsBsFRm7IzHNc9?= =?utf-8?q?LeH/qOEMoTAVd107fckxM454R7lIevm/WMFLR97OFtvfH+5ZPF56EeE94KmVb7F2Q?= =?utf-8?q?32EyFbn+mh0NsAuNOtUXVrQMJJmwleLCrRxl78LGNB2Ifvd8qh21KXcSRJvEE6sBR?= =?utf-8?q?TMkC0j3jvcIYdwQdQh/7nrGGlDRbaLLeTWzA9XxwX4SS1VHm0u69LZTyA0USXHxmE?= =?utf-8?q?pdr0HzX1xOFrYye9QXIddDINbQmWWzHvNCXU7g+unog5xF1BnF9AhN4nJ4F3b+QT7?= =?utf-8?q?0quL0jN6gxtfnaJYxGEMc2/bsUrLUK1jVYbC/WMJ6IEpGL7BUvT7QWVtuMq4S9be5?= =?utf-8?q?7SihUQ3FB/fynjasLs/KzOg1Y9WLkhMW7dpkAkhup5cagU/s808hoMMpcUknOvM6d?= =?utf-8?q?+TYFy4N3Seql06FnjWDd4EgKdggyWo3Zsw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(7416014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ShQnyqd+zWd58VM4NxXyU/Go1E4a?= =?utf-8?q?YnibUB5Xpaw/KJhPpSzp97z4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Q/W3q6ab1BwaKTs4n+H6pPxInlcdoaz1rlVNLs3sLh?= =?utf-8?q?U9Rw5OYTb9gL/6lwh08ZFu3rQprwcVXtZEf1SpPaaKKXebt9bBtnrQ6Gr2e7K3Prs?= =?utf-8?q?SSTuaQeBi/pKJ044LzrUBPCKqGBk3VDtoU31SD/D8vzsY8cT0CKONs5bSV4fAlM9W?= =?utf-8?q?l1EbnvExg3l8VU7Cq0XEOuUfzIITrwjfu2IMuidt9oE2aAWzVxq9m6YPJfXulO3QU?= =?utf-8?q?UjItVCdQjQeHLoG/7wsPl7wBHPpaWnDNTd9XI0HiQah+LNcMC/SSmzltUuiUTYRpi?= =?utf-8?q?aDVdJpYWSlW5mqKmCwJe3PlQT5LNSMfR3vOWH/5RyL0s/3HkHmzSUMl5SBmsFmY3z?= =?utf-8?q?wKmmP1G9VbcE8V2qIbu9g5s1yN1wa0cL6K5LwLCN6VQbnyUmcYnmx6pNqLrPFh2Pc?= =?utf-8?q?BFmjCz2MDlFYIssdL/sUvMOjnBQcalLzRHc3yk+dqyQPyFGj2I23jdIw3Nyh2w1ct?= =?utf-8?q?ot1i9WLXNqzVLyh+lZa9Ns9x5Pmy2B/fOjzRyCa1d6OxJDoY3NbT8yw9rbfVkNnsd?= =?utf-8?q?/Jt7A1/O1ZXHkL0GgtJaSgFaW4WGRCHp+O6cIzoKXh6kxZxCJmgUEEjU=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17fc3654-40ee-4592-3c7a-08dca514f592 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2024 21:27:41.8485 (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: hZ2hfrSYsM3UtEOtiwIy5nog1wIWk8393hGQZlX00QHpLVEBiQDeNDIqnMhfjTpDNZOIfiazQa7MuC/1Uo17MQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8275 From: Chircu-Mare Bogdan-Petru Add flexcan support for S32V234. Signed-off-by: Chircu-Mare Bogdan-Petru Signed-off-by: Dan Nica Signed-off-by: Stefan-Gabriel Mirea Reviewed-by: Li Yang Reviewed-by: Joakim Zhang Reviewed-by: Leonard Crestez Signed-off-by: Frank Li --- drivers/net/can/flexcan/flexcan-core.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/can/flexcan/flexcan-core.c b/drivers/net/can/flexcan/flexcan-core.c index 8ea7f2795551b..f6e609c388d55 100644 --- a/drivers/net/can/flexcan/flexcan-core.c +++ b/drivers/net/can/flexcan/flexcan-core.c @@ -378,6 +378,10 @@ static const struct flexcan_devtype_data fsl_lx2160a_r1_devtype_data = { FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX_RTR, }; +static struct flexcan_devtype_data fsl_s32v234_devtype_data = { + .quirks = FLEXCAN_QUIRK_DISABLE_RXFG | FLEXCAN_QUIRK_DISABLE_MECR, +}; + static const struct can_bittiming_const flexcan_bittiming_const = { .name = DRV_NAME, .tseg1_min = 4, @@ -2018,6 +2022,7 @@ static const struct of_device_id flexcan_of_match[] = { { .compatible = "fsl,vf610-flexcan", .data = &fsl_vf610_devtype_data, }, { .compatible = "fsl,ls1021ar2-flexcan", .data = &fsl_ls1021a_r2_devtype_data, }, { .compatible = "fsl,lx2160ar1-flexcan", .data = &fsl_lx2160a_r1_devtype_data, }, + { .compatible = "fsl,s32v234-flexcan", .data = &fsl_s32v234_devtype_data, }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, flexcan_of_match); From patchwork Mon Jul 15 21:27:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13733921 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011003.outbound.protection.outlook.com [52.101.65.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CAA213CFBC for ; Mon, 15 Jul 2024 21:27:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.3 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721078869; cv=fail; b=iRu3DjuNgfWraVxdUJtcW/Er45h82B2gjbj0Y9AE+Uu1Y9ZhyaqyGH9VwITiQa3YnBx4VFYKsq9RT6ed0uiEDdBX5Fs4ltvrsPWi0sLlLb2MaDN9pPod8EgsEmprZ26bhXG7TSpQ6qLflFyQdhAwo62rNrljXLNWaaxEgOLCpNs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721078869; c=relaxed/simple; bh=+DIGgBkBWyrtYQfrFvCkUgA9e8HOpEMFLYOPNyi1qdI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Cdkl66YaXIIEv1inNNBP89USt8RBKGCl8zxiwGSKUbJfVll5T+oAfMIWkZO+C5kItWZX2cDR2LvHOXoY8H3q5iF0hsd21EuouBb0hnRiumPtLUNNZ/uXzzZGxeJtCYrRSorBJdpVi9AM+8VUjJsTx6NKBNIxIjup+319IQ2PtPU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=dIrH3QCw; arc=fail smtp.client-ip=52.101.65.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="dIrH3QCw" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ig2af21ikcnm98MR/N0imjFNaX6MEDFH7mIZ1YojxZjcSFmi2wBLZahaumG+q8EkfPZSmMfiAcykSTBgK975p6lm91tQxAlKno0FEhprIyfLwZaymNj5Mj2MgytDXM7XgBq4T5+5tVdcA6m2uuW/Wm7x8O4QQsAUuq71FqonLU6hmebm8wBPKfz6xYS35NXX7V/QJEdSukU5sP5CRSEO9JJafvmJe3yt0MFKFfRdfQRjU9ClDuBTaHBv3MyHSovxC8GUuLcMrOhrI/fgs6xvCdggtakJS9LWAMmwOY2h1EeXUZ51ZCTOswrkmkJuum77Z+lF/SMAqInc+TYbBvVZcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=GOd6FLZLIcIbPo0Sq0J+NOU0MeVyh5JVCAAuAq9yNW8=; b=CUGNBJKIWow+ZfOZuPSzyIQ7YZQ8APcSqMJzMSbcKF9olySYVtqCDb6pwzxkoTxCblAFJK9Y3gspkDYol5JST+nUK/KAzmurI7weK3FTBCuCSJzG3PANndHNKYR9ZoSMnYHu6Bvugq/zbHhaBt1TRAjDL/szcL09hrjFETLuumGxi/bvuf54tf8IDXbY5hsXZNEKOA1hSejWu5OuOKZrVWD71m8JAO3jnQ9x27SCJK/Je76o6KGp0uQXRi8/LUH1HntuxrZ8sEOhCyg09cOyI+8T6ThH4idYrQzBggRjqFHw9nDlXBXmRpQNon102O4kUdcwrVunF5NMsVBUnJ7CJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GOd6FLZLIcIbPo0Sq0J+NOU0MeVyh5JVCAAuAq9yNW8=; b=dIrH3QCwXRf+RUedjVVVoqPKj9MSQnFUiEhGQnCm4kKTipTLYKYXZe1t7XvyxBZ4flYsbtWiidHEf32WuimQ5gob3oG+CiQksi1M8ISQsT+vNs472RClRxw28xIYgn7Gqt6CbnkbxQEh/FGB0PgX/LOkI6lAeL1Q1Xqoeqa7pjA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AM9PR04MB8275.eurprd04.prod.outlook.com (2603:10a6:20b:3ec::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29; Mon, 15 Jul 2024 21:27:46 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7762.027; Mon, 15 Jul 2024 21:27:46 +0000 From: Frank Li Date: Mon, 15 Jul 2024 17:27:22 -0400 Subject: [PATCH v2 3/4] bingdings: can: flexcan: move fsl,imx95-flexcan standalone Message-Id: <20240715-flexcan-v2-3-2873014c595a@nxp.com> References: <20240715-flexcan-v2-0-2873014c595a@nxp.com> In-Reply-To: <20240715-flexcan-v2-0-2873014c595a@nxp.com> To: Marc Kleine-Budde , Vincent Mailhol , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, haibo.chen@nxp.com, imx@lists.linux.dev, han.xu@nxp.com, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1721078846; l=1301; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=27/RZ5zCVbTg9TNZoQv/itKKz/Wfggk4JwdgIMWCZlY=; b=fJ3phZR1p/jFldbpDbJDi1FK+wACaCi/Wi7FrA/TFPg/46DJ77j6EkJCMHnQkWLIFmKolO7L2 l9dJ/kl5qe7AW3KG7xHvwZ1VEu6E5PHbxi+d/XUyxsMDneA7GoaW25f X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0112.namprd05.prod.outlook.com (2603:10b6:a03:334::27) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8275:EE_ X-MS-Office365-Filtering-Correlation-Id: 6eb2b2cb-0352-47a8-333d-08dca514f801 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ZnGzj5bWWhgYZK8igxGWq2EegnIjPIZ?= =?utf-8?q?rkdUT7mhkUBYvIZCMe3XB8s9bJ1alOTbIPF6DvjUB4PIu3Y9Y5bZRH3gwvsM94OnG?= =?utf-8?q?wP8YJG0g1gEH/MPWuQHELr0Mv9I+bZyOgZb7Q95tU+PKMzTfUD0UGN7HnHFMO8/+t?= =?utf-8?q?Bp0/JcD8b/1ZrHpxo0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W1diLRCBos8bX9jmYx1BkZmemWh74gI1KrE2qG0UYJeWA18?= =?utf-8?q?Ph55H1LI/lVKx7MzEsSXgKHRImK++okG4UwBkyqoqdb6Y/0P1QMk/AmBnHs1gU+dN?= =?utf-8?q?IUWnC0kezoHmr7x4xG7bIizHPqytGQ2XAMIrglc8aLgh6d6ginPBVK3e+SjjDrpeW?= =?utf-8?q?gojg/7UCgIVH9Ry8J6+wuDbPXR+bxNZKjIcHuZ/VSfS+e8+IVBEo0odJ+BplnMhK6?= =?utf-8?q?X6YsijB/p8A9gr/YWwpINedqlHc8eJTz7AhX4x6vEOufyP72x3PFwHnWijKzJ1Tq4?= =?utf-8?q?N5NBn07PPWUYFLEYHOMRa4Weqg/IvYKUtA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(7416014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?GP3UgdLOnc1UasDiP8yhLSj9gJ+j?= =?utf-8?q?ciUKXPs8fi+OP/qZKY2C16ooaN3jpOy621Ox6ky9tMwzAyLsCbL+BRbipXrgkiFfS?= =?utf-8?q?gXC9c/K6f0qi/v2CWWA72ByKhHZSQJlgNRfzU7hUxPQe/z5EWaD1HkPMsVRgvelxk?= =?utf-8?q?8rrWs2IW7LPqWXKIWz9vNFwW/Y1WenZKuKLqUKPMZwq+KEitq7HqRPVatu2wUozuQ?= =?utf-8?q?Czjsx6a0jB93lAgN2hMhcltfgHU0lmpqbo3pNjmTLtTCPf03PkSL53i2BJyI3DcWA?= =?utf-8?q?vE8jUqlm0+zJIjGc5k8iAyVJiZ7IKX7yjuL3J+SCRvOIySOLupHXNexQ7+A4vRXhi?= =?utf-8?q?5k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sJOgkAKyOlA+aM28WP2SyfzdWNl50SWnUNxUj3jaOuv9EV/29y4VAUmwYeot1X?= =?utf-8?q?en6Ti07S6Siw1F74V+JSRkYaVrheJSJOz3GlNHuVvRMD13GCB/MypcJ5V4gNhVZca?= =?utf-8?q?kbt8JV1wSzdBg92JvbEU6/Dez7OZJ881Up1padWM1mhaVoy6txdQ8jz9RAdRuwTv8?= =?utf-8?q?kvgr0XBUmHgmAsc2nLII4VjChCNSaA3YuwV9Za+UqnDgKSo1m1HT+e/qFTVH6TKnv?= =?utf-8?q?fnM4kZFeS+hYOWPMC4fmgKNIZFgNNzDlX6V2tumFEbp9Amgdb+5cfCys=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6eb2b2cb-0352-47a8-333d-08dca514f801 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2024 21:27:45.9482 (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: D8PwmSmwqyKbzCuUdUqMU3qP4H+dfRict6CDBgI6bRicLHBE5ro25ODJ1vEhaNk8MRoErM3Q5bYdHlw5yFPXIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8275 From: Haibo Chen The flexcan in iMX95 is not compatible with imx93 because wakeup method is difference. Make fsl,imx95-flexcan not fallback to fsl,imx93-flexcan. Reviewed-by: Han Xu Signed-off-by: Haibo Chen Reviewed-by: Rob Herring (Arm) Signed-off-by: Frank Li --- Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml index b6c92684c5e29..c08bd78e3367e 100644 --- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml +++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml @@ -17,6 +17,7 @@ properties: compatible: oneOf: - enum: + - fsl,imx95-flexcan - fsl,imx93-flexcan - fsl,imx8qm-flexcan - fsl,imx8mp-flexcan @@ -39,9 +40,6 @@ properties: - fsl,imx6ul-flexcan - fsl,imx6sx-flexcan - const: fsl,imx6q-flexcan - - items: - - const: fsl,imx95-flexcan - - const: fsl,imx93-flexcan - items: - enum: - fsl,ls1028ar1-flexcan From patchwork Mon Jul 15 21:27:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13733922 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011022.outbound.protection.outlook.com [52.101.65.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9072A13D502 for ; Mon, 15 Jul 2024 21:27:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.22 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721078874; cv=fail; b=PU/ADPUeusi21Pg9MiLxU6dpAsztmoLlU+ONFxWmVFsnwSK/pos+k441e8abckctmuxdW6R1mFCG1l5w3yAQZKzF4+76PQT9ikoJodOb65jhJxdzBazOyNkse1f2bWymN6FwSfZQOjMO0ZkZ9sQIuAMsSzOUoz4Y45RF7iycCJI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721078874; c=relaxed/simple; bh=BDMPlxeguvTdR7tbMlQo7Ms11jQeZFOQkfxYh+b8HnU=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=ncU2c2SnT+xnhvMv7Llymgo6jxn9mzLqxZr6qt7FgSZGgE7WdQSGW68uqWCWfYX4urpJEW6gSSvif6Rs+BXUksk2F3Zp1SBpIxbgXdinrueSdqCSBkuXXkgmr1wWdAhtZ8XJ4vfGrBmzoxp3G/LjRWckL2nOnVCA8RjNqDZfNAs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=N4OBeEaE; arc=fail smtp.client-ip=52.101.65.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="N4OBeEaE" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BRcra8eLAdR/fjLvauiapmzSERp7pDFMjRZxXwUbpaN3bT5pweEDIVYw8Xskope0TOapjP40O5OC7D0NONd4V5bnQWNUle4p+2X3MMXR4lWAYDmqXUoTxp9kKD7XZovUt1GwJsYSToPLCrj/J35FTIAS8HxiHE7PIpSJEdXfEsmUHU9+119RpfUxFQLXI+QVLsp1bUGLPXX3E7+00j5mkTHhxfps4/V7e53emkmL5WPGvgj41/fPqFPtI5vKqTq2YTuO+dmZ53QZvZcniLmfxit0ttw+VXAAyVtrUeE60pIS+YarfxZwDSIILkxxUofXFPUXgKIpnOD53e6W5miXMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=JcdYbiAS9ICOQCJYY0Q/Y06j0YLPixKjy3Sva3xxNe8=; b=kWb8a+ybr4kJO2T/0esC/mxDuWifCK4rq5bGM0b91lXVV6ptzBzywIDMHmG12QfcuUyerQw03p0vudQl0/hOlZkpu5FB3E9dGFTkRt2ya6kWkcrl6sYOhFE6nBNguv36tRxYEVF0IV6P1frLuDusWTWROUU8zHE6WKf4xZVFEAt/hAqWvTQPG9DYs2cntWwyaSTLnqlpdLdkRkfm1AK4lXVmQs+mQ+yBFPBnYEO163y0E9sN2JPH+uhmRsToH8KkQ+gtUenG0enBfCAIdTo18YF0ukD/QRKNRUDcqbkGITzrwR2PCDDm7HOo4oAeTeTzZIqhp2Nphy3pFKnsX530vw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JcdYbiAS9ICOQCJYY0Q/Y06j0YLPixKjy3Sva3xxNe8=; b=N4OBeEaEie10mCp+UvWHadfc8sB33aSP6oOxH3fvwQH++JBtCo1+HB/BQSl+dPmVQMyUPDnYRuxk3xjhPIHcVPPYOc0QxMGCxd2vEZxyWb2FExxvLPijCUL3o+1GAxb0ECPTLb2GtOMprjiZJLbhV0Og060rU5vRZ6qd7A33/Hg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AM9PR04MB8275.eurprd04.prod.outlook.com (2603:10a6:20b:3ec::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29; Mon, 15 Jul 2024 21:27:50 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7762.027; Mon, 15 Jul 2024 21:27:50 +0000 From: Frank Li Date: Mon, 15 Jul 2024 17:27:23 -0400 Subject: [PATCH v2 4/4] can: flexcan: add wakeup support for imx95 Message-Id: <20240715-flexcan-v2-4-2873014c595a@nxp.com> References: <20240715-flexcan-v2-0-2873014c595a@nxp.com> In-Reply-To: <20240715-flexcan-v2-0-2873014c595a@nxp.com> To: Marc Kleine-Budde , Vincent Mailhol , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, haibo.chen@nxp.com, imx@lists.linux.dev, han.xu@nxp.com, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1721078846; l=6508; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=lqHfROCxFB43LZ85KCvKowdNhLtFntzq/RoPEWnMlnY=; b=UbNbkzmUtNEcwqcAuYQsfDgD8VSgtvfB6W8z699TLOOetJbs89DW9P8fDsVm4Aj5lZqZrDoFq klpbr91t015CJ1zMymWBSIzGY3pwVN79t47g8Ob+OW5Or/e0pL+lQ64 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0112.namprd05.prod.outlook.com (2603:10b6:a03:334::27) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8275:EE_ X-MS-Office365-Filtering-Correlation-Id: d0ee7989-af5b-41b2-073f-08dca514fa6f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?m96QLS+pxjNhDs1bj4MjYm7S75InsLG?= =?utf-8?q?Vh0FfKktD20hy+VzstVkw387hJ8nNVcjH60FQH+Uz6s3l7u6SfTLXC4qTTK31qRdM?= =?utf-8?q?zyDR3KE3GSYONypW920qQAfu/0fNw7RYuCiDEB2eB+Wor80idPTFD+f4y659Zhx3d?= =?utf-8?q?IdhEfLKNMaP2yVg8HaSVqh6AUDvOw+7pnRGpchQ6x3nAaLMJtS4C1x5byvEMf52N6?= =?utf-8?q?0np1EIejPnFbtR8G7/smJNl2mHw4ZSW5bcO2RvN0q5pd8xbF6gT7aNxlgvEx2P8EO?= =?utf-8?q?sNbwyOAluKHCVaTviDO01bYuCHtS93ZWi89lyoajPB55GBhp6Q6WKI2ByuIVJFAXw?= =?utf-8?q?MDidkbmr71hxXEk2TsT52SKZp7gQ3ciBuOcnIrBcorJvyHelprWyWUKe7GUENg93L?= =?utf-8?q?Kb7JnX3IV0JeQkQ2teSsnY3khR3UnRt7n17YJbrLMwSEHIhgEK83q7AWoEuNEJ2wk?= =?utf-8?q?QTfyoS9zpc31a6sTJ92/ymFcL2eXU8vOgxWU0SqHUSe9SwNzYfhUYkJD2YHJ8Ji1K?= =?utf-8?q?ZruUWhQelF0b5aFcSvJIn4J6/d5E2bbMl07Xe0uBCRwcfPkgxnUwrsOEODEi/0o/H?= =?utf-8?q?tC4vZ2wyvcDILnw94cKVj0q/PlTNL4j+t2evMeMDc1AIEN896s3czKcqmoceHWyOU?= =?utf-8?q?pL+KXn3dP66EtCdSY3Uvh9aCyrtQPBgXg8P30IJzkdkvrkZlLUF9cAWQqvaaRl4JL?= =?utf-8?q?cq5t3LPHrn/lglpVPHpQIyGkDVcRc54gaJriV0AHVo2iltyIX0aFicO9kTbTY8u6O?= =?utf-8?q?tsKRgZ2zGEyV9rKDefW+JQmi19uy4cv5cXUQgJuPypG3iE1/R0+FtoRwQKAmFHEoN?= =?utf-8?q?uVVu7fuFd8c5MAydNOmHjHFMnpXnecPsU4eKJtOAtxpk2Dgk4BwlaU3uXyzPbM++H?= =?utf-8?q?NIyddVZPEQQiWU6M2VWmTA44COXagNVZSnOF2Urwx8YFD5Jk/ShbpketH0gu0CruE?= =?utf-8?q?YXJ3M0KJdeQPgmXhLvlocHtRQnIZtdBII9OVjWCETmeoNf4cSP+kHl+sSCbA3uiYW?= =?utf-8?q?87Y029Xjsq9drEmsECYAm4FD/nGV9q+CnEbKoldbye3NjOXdHYQH94eJRJ7u/nHw8?= =?utf-8?q?z0CohmcKlCoKyGphnu6V+rVoHFdMA2bJkB4Dpv5zWOdhqVoxroaoopdYjDyiY5pBs?= =?utf-8?q?tBZMym/2pVlNKP75F5lTScYNRu0tAr0IYHEQqD/yczwJKXr8QbIhO+iiGPDEAFrl6?= =?utf-8?q?GX88fcrFXLCUfNdbPb64WNr7H9/Qeldz9bxSzFnpzff1+e+6V0X8gU6hF8dc9Piyy?= =?utf-8?q?aKUP1VHhigxdSidxe8bDO0I5SFs9Grk7xC6j6jZG00C3YDYQ6PvHIjpm/zR9Loon7?= =?utf-8?q?cQPiMnX3jDI2Vc7A5lW9BWCuAsOfvE6VGA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(7416014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2OvLLW0LMTrl4COn6ml6YSH3h4nj?= =?utf-8?q?DUE4Bg7Jb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f-8?q?pntANdalAUIcHfHD9ry18PA6IzbNK2JfadP+MH8ZVCuFmnhf9t4HuX4WCZQxz9RRF?= =?utf-8?q?JQT+exoLKVtQE1wanPM+B7UMqyTGrvMQVTzJr4DBfPine9pq9A0SPlhuHlpE0wjzw?= =?utf-8?q?OQsitKC53dWbRLmDfm+nssjEkvssA49K/fuPq4ixqe2VyCYp1Q3BXmXcdoZIDlDnT?= =?utf-8?q?KgzpvdGw0npCHq6NZ/X6+Lan3cqucXSXDJKAT9zmgCr5bOVMtgumcOhi5HYdd5Bmh?= =?utf-8?q?431ntJq/W7o79hhQVqbVbuNPllv2hr/sIMZNN5lXqS7Nq0OVMAW63pfdmAHyKaZuY?= =?utf-8?q?j+WkOJ2/5cDbQDnIclVWu3EeR2KDkR9VwwqQdjMZ3Vix5dysrm6OUfU61rE3VRIe6?= =?utf-8?q?fNmDB0vgcbut2X5CjK8u9bydjESbGZqOuHtHDXILtE0TVZZP+IF2UW1EjBZC/s7v2?= =?utf-8?q?yZBmisIhmUvnmKfLY6PtQiHql4q99X/TE0lg1OiAFYwMdQOIsIq+uluq9qk/UBYgL?= =?utf-8?q?PYsXC+tmuVKQPPQlMm47yr5qAVWbGMJLou1MxSQO0TUhchIV7YpVjGlsFvBnGNvVh?= =?utf-8?q?I8+LloN446U0lGEx/6PDdyxUBUx0Crse+/cikJxFfKoU+OMVquZ01g88=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0ee7989-af5b-41b2-073f-08dca514fa6f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2024 21:27:50.0146 (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: D+DsD44Xhc1KUFiHoMrIx20i/YORqZnuLW6nusXAl18hFin6fMXky84cHzCzAE+XJpQASEesLHp4s+KnzR6sgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8275 From: Haibo Chen iMX95 defines a bit in GPR that sets/unsets the IPG_STOP signal to the FlexCAN module, controlling its entry into STOP mode. Wakeup should work even if FlexCAN is in STOP mode. Due to iMX95 architecture design, the A-Core cannot access GPR; only the system manager (SM) can configure GPR. To support the wakeup feature, follow these steps: - For suspend: 1) During Linux suspend, when CAN suspends, do nothing for GPR and keep CAN-related clocks on. 2) In ATF, check whether CAN needs to support wakeup; if yes, send a request to SM through the SCMI protocol. 3) In SM, configure the GPR and unset IPG_STOP. 4) A-Core suspends. - For wakeup and resume: 1) A-Core wakeup event arrives. 2) In SM, deassert IPG_STOP. 3) Linux resumes. Add a new fsl_imx95_devtype_data and FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI to reflect this. Reviewed-by: Han Xu Signed-off-by: Haibo Chen Reviewed-by: Vincent Mailhol Signed-off-by: Frank Li --- drivers/net/can/flexcan/flexcan-core.c | 49 ++++++++++++++++++++++++++++++---- drivers/net/can/flexcan/flexcan.h | 2 ++ 2 files changed, 46 insertions(+), 5 deletions(-) diff --git a/drivers/net/can/flexcan/flexcan-core.c b/drivers/net/can/flexcan/flexcan-core.c index f6e609c388d55..fe972d5b8fbe0 100644 --- a/drivers/net/can/flexcan/flexcan-core.c +++ b/drivers/net/can/flexcan/flexcan-core.c @@ -354,6 +354,14 @@ static struct flexcan_devtype_data fsl_imx93_devtype_data = { FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX_RTR, }; +static const struct flexcan_devtype_data fsl_imx95_devtype_data = { + .quirks = FLEXCAN_QUIRK_DISABLE_RXFG | FLEXCAN_QUIRK_ENABLE_EACEN_RRS | + FLEXCAN_QUIRK_DISABLE_MECR | FLEXCAN_QUIRK_USE_RX_MAILBOX | + FLEXCAN_QUIRK_BROKEN_PERR_STATE | FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI | + FLEXCAN_QUIRK_SUPPORT_FD | FLEXCAN_QUIRK_SUPPORT_ECC | + FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX | + FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX_RTR, +}; static const struct flexcan_devtype_data fsl_vf610_devtype_data = { .quirks = FLEXCAN_QUIRK_DISABLE_RXFG | FLEXCAN_QUIRK_ENABLE_EACEN_RRS | FLEXCAN_QUIRK_DISABLE_MECR | FLEXCAN_QUIRK_USE_RX_MAILBOX | @@ -548,6 +556,13 @@ static inline int flexcan_enter_stop_mode(struct flexcan_priv *priv) } else if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_GPR) { regmap_update_bits(priv->stm.gpr, priv->stm.req_gpr, 1 << priv->stm.req_bit, 1 << priv->stm.req_bit); + } else if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI) { + /* For the SCMI mode, driver do nothing, ATF will send request to + * SM(system manager, M33 core) through SCMI protocol after linux + * suspend. Once SM get this request, it will send IPG_STOP signal + * to Flex_CAN, let CAN in STOP mode. + */ + return 0; } return flexcan_low_power_enter_ack(priv); @@ -559,7 +574,11 @@ static inline int flexcan_exit_stop_mode(struct flexcan_priv *priv) u32 reg_mcr; int ret; - /* remove stop request */ + /* Remove stop request, for FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI, + * do nothing here, because ATF already send request to SM before + * linux resume. Once SM get this request, it will deassert the + * IPG_STOP signal to Flex_CAN. + */ if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCFW) { ret = flexcan_stop_mode_enable_scfw(priv, false); if (ret < 0) @@ -1987,6 +2006,9 @@ static int flexcan_setup_stop_mode(struct platform_device *pdev) ret = flexcan_setup_stop_mode_scfw(pdev); else if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_GPR) ret = flexcan_setup_stop_mode_gpr(pdev); + else if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI) + /* ATF will handle all STOP_IPG related work */ + ret = 0; else /* return 0 directly if doesn't support stop mode feature */ return 0; @@ -2013,6 +2035,7 @@ static const struct of_device_id flexcan_of_match[] = { { .compatible = "fsl,imx8qm-flexcan", .data = &fsl_imx8qm_devtype_data, }, { .compatible = "fsl,imx8mp-flexcan", .data = &fsl_imx8mp_devtype_data, }, { .compatible = "fsl,imx93-flexcan", .data = &fsl_imx93_devtype_data, }, + { .compatible = "fsl,imx95-flexcan", .data = &fsl_imx95_devtype_data, }, { .compatible = "fsl,imx6q-flexcan", .data = &fsl_imx6q_devtype_data, }, { .compatible = "fsl,imx28-flexcan", .data = &fsl_imx28_devtype_data, }, { .compatible = "fsl,imx53-flexcan", .data = &fsl_imx25_devtype_data, }, @@ -2311,9 +2334,22 @@ static int __maybe_unused flexcan_noirq_suspend(struct device *device) if (netif_running(dev)) { int err; - if (device_may_wakeup(device)) + if (device_may_wakeup(device)) { flexcan_enable_wakeup_irq(priv, true); + /* For FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI, it need + * ATF to send request to SM through SCMI protocol, + * SM will assert the IPG_STOP signal. But all this + * works need the CAN clocks keep on. + * After the CAN module get the IPG_STOP mode, and + * switch to STOP mode, whether still keep the CAN + * clocks on or gate them off depend on the Hardware + * design. + */ + if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI) + return 0; + } + err = pm_runtime_force_suspend(device); if (err) return err; @@ -2330,9 +2366,12 @@ static int __maybe_unused flexcan_noirq_resume(struct device *device) if (netif_running(dev)) { int err; - err = pm_runtime_force_resume(device); - if (err) - return err; + if (!(device_may_wakeup(device) && + priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI)) { + err = pm_runtime_force_resume(device); + if (err) + return err; + } if (device_may_wakeup(device)) flexcan_enable_wakeup_irq(priv, false); diff --git a/drivers/net/can/flexcan/flexcan.h b/drivers/net/can/flexcan/flexcan.h index 025c3417031f4..4933d8c7439e6 100644 --- a/drivers/net/can/flexcan/flexcan.h +++ b/drivers/net/can/flexcan/flexcan.h @@ -68,6 +68,8 @@ #define FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX_RTR BIT(15) /* Device supports RX via FIFO */ #define FLEXCAN_QUIRK_SUPPORT_RX_FIFO BIT(16) +/* Setup stop mode with ATF SCMI protocol to support wakeup */ +#define FLEXCAN_QUIRK_SETUP_STOP_MODE_SCMI BIT(17) struct flexcan_devtype_data { u32 quirks; /* quirks needed for different IP cores */