From patchwork Thu Jul 11 18:20:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13731003 X-Patchwork-Delegate: kuba@kernel.org Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013064.outbound.protection.outlook.com [52.101.67.64]) (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 834F716E860; Thu, 11 Jul 2024 18:20:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720722025; cv=fail; b=K+MNGTVrVBCueTa3aj56qZqwHdCqzB5e/NKRqZB/Arz6QAtDoDGsYMMwKFNnGC6LUG5YEeuuYDz6illZ3jiaOQzbGBgK/qJRuAQw6a9rgMbK8/aLpxoe/z1zgW48FTG2/JwpuEc6s/U6BY4mE+jzBesmFvsHFI41gCgTdi1Y6EA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720722025; c=relaxed/simple; bh=4rNUMSwGXrDCiKs1Q8iacBJbJRObprUdl9Ahwx7xZYY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=TaYA0GpQJVm8T9XvExCtblS0rha28XQ1Z38boarGGgs1U7bKfS8/fFubPYGzFrAh1684+yofwzI9/4dp9CCv/mP1Nr2xnQnNLpLO8DQwXseS2cJTlagK8J1p1fe0/sbx9XvfVNQcCIPBzQWFLQWuXMB4jFD5i/SgjziuGg1AdaU= 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=hOsdqt9e; arc=fail smtp.client-ip=52.101.67.64 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="hOsdqt9e" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v2amJOF65gBniG6uU4wuN9h/0fPbmDUMLch3KDZKr5fn4nVjOptq+Gl53lIoDAlLGkQJWf7sKX3mMbGyw5IIpo5aoRYYM9sRMmIQtQjNl5Gr2f8cdTw3gZwRkxIPIc4qr0PW1apr8g/VvfAQkmh1511qEROdPB1zjh0tMaX0dfHhcg2BRniu47cMsepTCyyxWACP+CwczVVMuIPHYsVWE1Z/wnQSYZCv5iAy3cl6pPzt7fwSKQ10Pd4KNq2YaKcxT7NjM2oqiYBYGFV1nEYRs0IqF0IIOxotDhJjuz/WWncnBdMdFMVzKqNCsLWJqHAhRwPqasr9TXNhXcHutLpD1g== 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=CV7eQR6jDZU7rASAOAvnO+8mczfS8U2uWUsaRyUaJVA=; b=F+AELOYMO/rLk+QFgv9sfVKIds2wsrPlKwQgHK8UmXMlPZYNr+CNZirSWReYxRPm/B/PW+bIgQxBEX0363AD3RvJgWZBTq/hpNoczYnjY99e/WC+0+rxEOjzoD1Eu7XhjLo94Ize+I8iKNtX+RAwcb4ZM7QHkdQHgYh7tgXKlOiCW50qpQ7/3JZbCPbxlBljlLP8Vs750x6aAwR24MXrx2XyjLf7xV/CnCfLyrBahoy76b0hzsb7feADD9RmAqVrVwS1IAC6TjYk9Z+GUh93s9K7RlJ+hoYPVY6xWGRkiHOvzWkhpDxt09KaEa42eIVNlnztkVTe3wLS+Me/kSbMqQ== 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=CV7eQR6jDZU7rASAOAvnO+8mczfS8U2uWUsaRyUaJVA=; b=hOsdqt9ej2VkN8e8siP0SyTg883L4F3k3sbJbp7ZBvC2lWXjQ78wCa6gnroBlrG8citV27iZldz8QVrWkXvZmwZBPTP4fbgOOpojpSPLc8mto3rsOrX+ZkeQK5sdXf0X0O/4ge16RpssWQGsxgjmQwOu8AyEqt+Meb7+i6p/ncQ= 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 DBBPR04MB7514.eurprd04.prod.outlook.com (2603:10a6:10:1f7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23; Thu, 11 Jul 2024 18:20:21 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Thu, 11 Jul 2024 18:20:21 +0000 From: Frank Li Date: Thu, 11 Jul 2024 14:20:00 -0400 Subject: [PATCH 1/4] dt-bindings: can: fsl,flexcan: add compatible string fsl,s32v234-flexcan Message-Id: <20240711-flexcan-v1-1-d5210ec0a34b@nxp.com> References: <20240711-flexcan-v1-0-d5210ec0a34b@nxp.com> In-Reply-To: <20240711-flexcan-v1-0-d5210ec0a34b@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=1720722012; l=777; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=4rNUMSwGXrDCiKs1Q8iacBJbJRObprUdl9Ahwx7xZYY=; b=yMxQVbFOeJJDFtMbqpWQF8kKUhtIscn/MwwVTYnZFAjLiWAmeYw6sgqP/KatmQoAtfZquyWE5 JLJEdx23YSCA01rW6BnBr1TtSqzvjL7aFGEUcQaz2ztrru1YJKuPv4R X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0134.namprd05.prod.outlook.com (2603:10b6:a03:33d::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBBPR04MB7514:EE_ X-MS-Office365-Filtering-Correlation-Id: 65c75bd6-e50b-40b9-af64-08dca1d62049 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?fW/whbz8IvCw7vI9cLBa9BWg9IjeDG6?= =?utf-8?q?vkCr7SExwLIDZ0a54CReF//R4/0ppx//Syl9L7IzRg0MRyVRIZOFStsypkd320l+I?= =?utf-8?q?Tf5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utf-8?q?JhjzdV5yFXezIkBlOgDPWmTl3fkkTK+sjpuejOyYW8ExDlb+KFAovuG0GtqbyOKkw?= =?utf-8?q?Lq/LnWkOQSYNeOvXsmUstqozlr654OEz0UF2/YdMZbF3FP1Rv6ACIi4/I9CXr/EUq?= =?utf-8?q?9Y1Pdr6CgN4oDgtWuSKDvKArOdCppixDZr4xqVdfHKmqYXWFqznyoz170mLBHja0w?= =?utf-8?q?FvCivmx8wbyOonumkTAzGm+le4gv6z+vC6zqiC1LVHTCDTnJnRy869fhymZNPqwue?= =?utf-8?q?ORj2HBRwlXSCopbkt07Xv+xu+zla7G6u/zWx7AdrDhn4BeE7OgYmM8+jN7rmwuNta?= =?utf-8?q?6gnOJ4j4usUlJhnFLreFD26MJPRT8JmCuGmGx0ScljdG3tTRFVxUoQ2E3oCyr+H2P?= =?utf-8?q?p+UIP7VwkZ84JAc785CIJ7+yUt+729wMfQ=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)(366016)(1800799024)(376014)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?UxjKiEmpH85vouEGjb9OgpuPPqb6?= =?utf-8?q?S5wrfG030crCZW4VrRBVqyb62nUto4y5ijDtzz8edoSavXf5ZSmJMkyDu0wvQy703?= =?utf-8?q?X2Ay2XCLZ6oqbIppdcQwpeX7ZjBXR//QaaR3CnAk0UOL39Fu8WFkKHwwMs16jZmIB?= =?utf-8?q?fOvH/lFSbkvt6NNIicPqIiVjBUKR61L+4R8qDon3oofqerr2i+hRtwBTaF8IaeZl9?= =?utf-8?q?JWg9NfejHMvephnHNB7xuBTTeQrXdlNeOWc5cvybSv5XnAKw/WKaAERWNkwUufovH?= =?utf-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8?q?WRYMtxDtdWxbJo5UEP5mxO1c4PhAaEBMLit5mfRf2ePCjhgUkTc5qxc1nyirXDV7l?= =?utf-8?q?nhwIl7nFZ9SEyk6BagULUgrXGCAw0RpmPjx5wjjw1S96jWgi0Bsh+GFTEdyxviAdR?= =?utf-8?q?uQTUUaN03D+FPrjpJ3fl/L3L7V/xeCsX3ADijnhSwNBcRgLyArPlAOs+kSKynK9Bv?= =?utf-8?q?q7bk6SurNArDjlPZMxCRJGuvENZYR2Iyuhsj6G+ZHvsLds2G3WgXH6n/Wp6P3J79h?= =?utf-8?q?TF3pca+CBvKqixDFJRETBKk7h7uBN57Q55rxnhn7TZTsCh9d7MzzGFa8H8z+DIXGE?= =?utf-8?q?0aAw0GnfxS4n1blYynTAf2n3Uqx3XclC1UyIH1wP3GzNqzUkiGvAnfUV1w769v0hk?= =?utf-8?q?Xg5FDulXBFFc?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65c75bd6-e50b-40b9-af64-08dca1d62049 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2024 18:20:21.7620 (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: TN0V8wRD7ZtMkG4TZWI5eMKIdcSyfihaiVOTi4sRRWa2mE2RCaYfit3u2ULgG8Kf6ff8r/jTfqQe/WhEbxRhMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7514 X-Patchwork-Delegate: kuba@kernel.org Add compatible string fsl,s32v234-flexcan for s32 chips. Signed-off-by: Frank Li Acked-by: Rob Herring (Arm) --- 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 Thu Jul 11 18:20:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13731004 X-Patchwork-Delegate: kuba@kernel.org Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010066.outbound.protection.outlook.com [52.101.69.66]) (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 CC4E016EB76; Thu, 11 Jul 2024 18:20:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720722031; cv=fail; b=i83mBsqt26yKKq/6s/6linJ+1oIIQNU4Jboa57uTr/pWXbSzaAilEGgkYhPlWS1jKiwKY5zGNtBKht8FhBtHGUsBnPbl6tsKZpL4digl6ni+k8f+lmAjSvDtpcoyoWdnZ+XN3D5NTNkBLP0xkjSIDwcirOrIU+dsxPOVoTYUiAA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720722031; c=relaxed/simple; bh=mT15hObaWTwSv2SHLwwESm2lVFZ3gRWzH0sKOD9wxi0=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=eiePskgziBX6Nc8ZNcuT9VEzcMtf4uikz8DUA2F42DAKaQdw+MOizbfTUdrp+n3bs9+kwjph2Wnd8wyI1DMNi3lDyHlBFZxr/yL7NNhz9tR6eSER8tPwsbEAPQZRpRuEmZco8KDMCLDo7VRS9veL+upDTgkfS3aeFNr/VQnZ2qU= 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=azdNNwKg; arc=fail smtp.client-ip=52.101.69.66 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="azdNNwKg" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qUxroqSqq7/eYiX4lhORIv/sY89uQBxFAICXSzp08Isorvzp8N5tIyDwYCP+HOg9ntA2qVAHIKNxTnt/h6HoMHRwTLD/ctOKuSEN6IvXBSL5MxonSY+gVmCJvTVRz8r0ysxUPv4xX1VLllKyvswgk/oIz6GgwXHjT+1ym7oFF5YdxFdlD/Ps1P5UlJo18MPdAxHkiZEq2KPVcJPX3HzmBynIUQxgnTrGKlVLiDKaCz8mv72PrD+jAYUdE7JXZDBAmhjAD4qSA7HMKbVkFdmdOWxlce3dp0ZzOh4B99C9T3WLfZLZBSZHsapNIj3EUxZvM2UW5jJBM25anX/DwNGJLw== 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=p0va/SeJQORm6tLb1bM4Go3fiQ4+zq9uN6LxqoCpdSPguEYfzjRIVRnUCUhqnokSl0+bGB/Sey/6hvKZInqjCA8lhdJ49J4kATq4l/Rv715/W3P7d/+62d9gdPwutWXrCBKrIImWV4JJ0riZ5nSQHtNTGtGZD2IQuSDatyeSZhqco04Z8EzlGQfwnKyR2IUWWLJwexmKFQVvgC4VYuiPPjiNRrIYfyOPBOe0WhGSPMzLTIQ3g6UwJXjNmGMp3DFyobYJIn2U+wSsaZxaaicw5kIvO0yUIbbJ/ARquLFQYEvVm1Iij8WwUQIJ+/3wv42xDpDeHM1nskWp+lHilvBhmw== 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=azdNNwKgxYGdP1IcdejAdqvIDAL9gxP3CsMEzeEMFI+Ulxtcq21FdfrUX5Gzrvrs+2KGH4mBh4Akwkzr6Pmv+gaFgk/pKimWvic3LdG5An7sxO7wD62JZtyYkqkSHNh3TjXZn3upNC1xah0lb44DIDIOsd1SHBLYG0UfB7OGDyA= 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 DBBPR04MB7514.eurprd04.prod.outlook.com (2603:10a6:10:1f7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23; Thu, 11 Jul 2024 18:20:27 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Thu, 11 Jul 2024 18:20:27 +0000 From: Frank Li Date: Thu, 11 Jul 2024 14:20:01 -0400 Subject: [PATCH 2/4] can: flexcan: Add S32V234 support to FlexCAN driver Message-Id: <20240711-flexcan-v1-2-d5210ec0a34b@nxp.com> References: <20240711-flexcan-v1-0-d5210ec0a34b@nxp.com> In-Reply-To: <20240711-flexcan-v1-0-d5210ec0a34b@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=1720722012; l=1628; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=80mv/LETBsFOYeyZH+dmpgodqlmtmDmGuf9twFeH9aU=; b=zHS3VlsJVO/eQoaz5sClQ2jZ3NchcruAtQNcFoDfZ9Aug6CpBW+nWqgoGQ9LAmCmEAa1c69Hm dHYZILbIc+SCquJjzIZ70jVgjdvISIQ9Et+hbWavlxWLh0wsQnGz6fv X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0134.namprd05.prod.outlook.com (2603:10b6:a03:33d::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBBPR04MB7514:EE_ X-MS-Office365-Filtering-Correlation-Id: e5acb9d0-6962-4fdf-d389-08dca1d62360 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ByyhjKbuE2z9fok21KyDIifpsHiPfPO?= =?utf-8?q?omggC8hUrtfB/bMWh2onYxKLRCVGW6A8eZHg7ee6ADRoNR1U/eY+gf7ZA9/I1EN+y?= =?utf-8?q?OpTTgoLsBGeTgdl18Xer5DCbmA5T1huAPF1edpprdIhjZbcm4cGJvR8yHpard4YMk?= =?utf-8?q?6a+EmeoZY+S5ljODf+o6YNFqgpDQcagLTjtStEE12ZxAaENk6jxRmq+bjTfrMN+Ye?= =?utf-8?q?Pi5IowUTcqvAxJvj1p8yWWt4y4oa5lhaST7OkcLPt/Crg9HMPLZtdSKlfip9RihKL?= =?utf-8?q?t1ckknBm3sZoMlTuEp2UFVVdr3w9Zv9CH14uFh6QJbQdTDPLAlWEXm0gHS1PFosue?= =?utf-8?q?TXE9iGj0QLNt9NTZBYED6d7KfyaTBYM3Tgg5q2J96kJEam3DujNFCPYopNi2cnsbr?= =?utf-8?q?MJvsEqVfwZduCOeSMm5ffA2R/DFLpYzbzRIZyoqcEIxzgULV1lbwVQrCaN/TxCNlr?= =?utf-8?q?/o3Xli+6l+MPfbsl4glSzluO0RKcBbLD0MPwreYoIlIcDU9ZxHu7ZJNMK96h2JPam?= =?utf-8?q?yFXeGu0RVGbBu5yCxdwh/M5dgjR6K/cpYiz6nx5hjB/Onvuw/pkY2Hz6ljDplujLV?= =?utf-8?q?By1mmtL09AizHxSG3APHMqDtZMisvHTGS8fswY14JqJfby1RM4JDkqCySpPF+lCr7?= =?utf-8?q?/R3ACzZpMoUfwd79trMTA+R+ZJ2k+r5aLSgioVAQ9vHzzXXDj++WJqlc6Rl/vp2pt?= =?utf-8?q?hNOeqa1ys3i6VVGdS1ZTtVTBJ3yy3v7Ynf/E8so8PGWtIWlmzjBtCaUuA1kiIEfTb?= =?utf-8?q?rkyZynmdJg2dSal01dsgetAfE8URUS8YdnyXTw94lY2zuGbExrDGAUxXx8Ck477nA?= =?utf-8?q?RNLDA/y4tkFPptm/pjTYvrPuLu7yOhZ9MYcz8BaTpxFPNdjHkP/V+Rz6p38t5cdJM?= =?utf-8?q?5wTQKb5ZkPAMm+AcuPQpVq+ikgSeyTthP+yRol98QtaQmP+f7XwDJ39ObKwRGO9oo?= =?utf-8?q?cBcbpWK7R3F+8MPAvAmD/H3H9hiJa+Ksg1p5zkqYmAheQ3Ar3h+E22aOGb35ciAKe?= =?utf-8?q?M0NOdYUbbfYwsAw/jM+Xf2BxoxvD8SvJCWaGi0mTf0xtZ8lhwTGFWRlAcyKo4JGDC?= =?utf-8?q?EKQe8vJlhHPCxqOoAxMUrIJ59aJ93zvkyy2G49NSkvcn74D6OfmWzeK3PlTnnnrbC?= =?utf-8?q?iyVISgzVRXFTN5ovmmwnvguPs9j2DtHfXOFvMO4jLTLH/RhhuOIr6fXtbvUbRH+rF?= =?utf-8?q?02JCAz+Ig0jbeyqBJKStTIXJCNxY5azMygzzZWp2L5TrQyVEWi+lJVBB6PC4TQr6W?= =?utf-8?q?WrfRgNa3waDzF+gUBjY4GSng/HgfucAg1ab8MrH5X3soIZFhm1AAt1vO5Go9N0oXf?= =?utf-8?q?sL/Rizpyee3RWO/Dr+qeNjdI9Q+b08UchQ=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)(366016)(1800799024)(376014)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-M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f-8?q?O4lKSOHihcvsdHKHLx3kZHBmeOmV5DH3PX47hvSPzawMqVMuqe1dsLAIHwMd+gqU6?= =?utf-8?q?9B0MZGQjEDbstBQaszYO/JWlG0e6go5e5U/ONNZwGy7+d5/c/BTmGnY8MGnEwi6ks?= =?utf-8?q?4gHAanzPM5mFbzf7rclcTZAU8glx37Ai2U3UNn+EAe8sqxhqrbhxBoE1fHtHKi//o?= =?utf-8?q?QVsTRkL8VJPxJBdQaKblX1tq3kedqMdT8GP/lbFdBhs/1tepFAMFf/dZ9LyBTiH69?= =?utf-8?q?EryXtlIOeKKfaZytrSRNexlZIBoQ6SXXf9R1X6LPzu7K+6qbrUC5WgikOzP5fpISS?= =?utf-8?q?uL85Pi4c6lGSQoorqtCDMFdaWwXYJrLq9hIoa7RjT8G+lWEHl401ASHL4WPmDOZl7?= =?utf-8?q?+IQILth/xTCv1hunYIiJPDtmsQYbSL5fOj10MHS9uUkKw5EFQL/XjDxNiyucZ4GWh?= =?utf-8?q?RjZn27Ua8hqQ/jTINZ6IIsXx19tCj2CUhzcEmUM6kKA5W9V3j6HwGUnKsOFnwgt0I?= =?utf-8?q?ydYAOIY8JubFv4YJ179zUzhylR/g1HH7vDbzCzwRdjBY4Ev1nFla7cXZoZ+ZjR2Db?= =?utf-8?q?+RFDX0tiq4bcE+Tr8dy2uANW5wciffjWPWKcqRBFbzpS5CyibexUGd5h/Qdb2FE+a?= =?utf-8?q?GZ7uZKrTBDwpVIowp5WAGvjfcvVujQL0Vg8MEyPqa/H8R2DDLir7gqO3XYodU/H5R?= =?utf-8?q?hVHPldMiOvD4?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5acb9d0-6962-4fdf-d389-08dca1d62360 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2024 18:20:26.9696 (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: XMb4xltugaV1kTQ//UnR/JIPoXOiP5ZiU6xO4gYAfTpWqYvD6EUgd70NnQ54iGOLa8aB5deZCVR3PejjJZip1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7514 X-Patchwork-Delegate: kuba@kernel.org 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 Thu Jul 11 18:20:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13731005 X-Patchwork-Delegate: kuba@kernel.org Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010066.outbound.protection.outlook.com [52.101.69.66]) (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 2785B16EC14; Thu, 11 Jul 2024 18:20:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720722033; cv=fail; b=THkKWRBAdco93ziE2ECxzNtMjL2C16RLQq1WQ0YP43X3zsKvQBL+gWRBnAyNAOMNO0NxhywodUJ4UHRPG1vd/Eht9uCXT4Nrnd18YvaBMPzR/dRpuvbSPzan4cLvlzFzs2p5df1iCBt6kop9j8Eo4eD58CdcQzqbvrGofaKEN8Y= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720722033; c=relaxed/simple; bh=psiAQr5zH/2twLHF/sa8uAK72vHgmvNSObmddI/7DJs=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Bu2c4O3xsrVGni26CiMscHjwfMRJc5x86/xY9NWukJ2bEA4dKXtOxlZndPxd6LKpsogARqGatraBBDR4GZtF7Wcy1O8Y5W07amA+TnUT6eo2qkOuPgkVLSxu/IB8lXgG0m3sIabikZeSoCRSEaKJhv2K41xA0kUQ5O0Mk44nf7g= 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=DPlINfqP; arc=fail smtp.client-ip=52.101.69.66 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="DPlINfqP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uAnNs1QulCkWCTKEe6C8c8VPGQci6u9ujtIwoE2v48l57Bb9vMW8TxruKrdGFYapL8QZt8IJMDcO/xyTlzvnZDttXq3hKRBoOr8MH3XzoOtCtVMfDYR2wbZXYoOhGh4/ZTJnqu2cMSYu9eKiqleXRTBRXiyUylojdZzBzgaectoFe6WrXEL5F96LH98lN6jeV4X6Q1Tn8H0Wga1Ez5JO/FJGB8YNQY5zkQQ2IXgEfDqv+WMmdB/VLMtfpuP1qiWSDPYIo2Mb6arp5KreJUqVxPMdzPQhTDhBIouGGSElC+Xk7jWBsQ8FbpY5h/PlDJqgWrwtRTlfG5rGLuR5wOqt+Q== 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=+RAOfFpBsOuLtX1rwe3lAbrqODqZC7/dCJhCvjjl5j0=; b=iIZOGfaeclfCn9Xa+3QeVx755O6SijZATsnnfqLiY3Ovu4nWGUOCQMCvVff4PFb8t7lHAMzLpyouuujApS4poj0z+9MyO7uveXP+XbpoqvNgBLu1ixsh0U4Qv0gyLS4Xie4WMsbjx2unqmD+9jMoSgaaZh8+J+L+Z/Ia80CcD10DnrVIzfdTdfQRewQd3c8D8ib7TV+DdfFe0ywez3g6OaPeGRkgk0X8buvAbMjbNmNmVEP8D5+tKMfwESOErcnxO9dZo7nx9KmkWGGnmKx7kzbueOlwn0eiOhw3Lz+gFPD3wMj12EyLxViQY2kNwDtvREMqJ/1rBBU5CRXRVmUwIw== 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=+RAOfFpBsOuLtX1rwe3lAbrqODqZC7/dCJhCvjjl5j0=; b=DPlINfqPiFzKOHmI7UmEJnQDUKIprqAuwEkosO7o8b+clYVKrdS+b/XK48jau8YiB1i9QFsfYTPMziFEhr9G3QWrY8nm751VilwlMISPj77XfJ1wETMtI6LBPQSPlhsKFYiMAdK8l8M+GEIsRvgXZM9j+eSNiyg3fi2Wa7nRXz0= 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 DBBPR04MB7514.eurprd04.prod.outlook.com (2603:10a6:10:1f7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23; Thu, 11 Jul 2024 18:20:31 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Thu, 11 Jul 2024 18:20:31 +0000 From: Frank Li Date: Thu, 11 Jul 2024 14:20:02 -0400 Subject: [PATCH 3/4] bingdings: can: flexcan: move fsl,imx95-flexcan standalone Message-Id: <20240711-flexcan-v1-3-d5210ec0a34b@nxp.com> References: <20240711-flexcan-v1-0-d5210ec0a34b@nxp.com> In-Reply-To: <20240711-flexcan-v1-0-d5210ec0a34b@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=1720722012; l=1251; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=h3RgjaAVphdcUYL47pzf0t2pJnMnLqmHnbv21aG/vEk=; b=uM892wVDAGA+B0Qf3hEmlwGDVwEEdyGHs7ZwT0LDU+G+UU6J1+xiCvMRAqMnALvvQoVvrTh6J d7E7C5lu3f5DRgz8+DlXkF3gwZKlfD7ZOGbfzY+4EdbfJwhFNSTYiY9 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0134.namprd05.prod.outlook.com (2603:10b6:a03:33d::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBBPR04MB7514:EE_ X-MS-Office365-Filtering-Correlation-Id: 8cf90e6d-2f77-4c16-dafa-08dca1d625c6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?AKtcTWRaKT+9aL03NjJQG8N41TbJYXp?= =?utf-8?q?y7/2WwNLDKhp5/ynOw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IFEV/IV+CSPei8NJBcQFec4zdcs+7IcphmX9SUUkCTWVOtuzA2ZZStJoc?= =?utf-8?q?dprF9XMHku103SZXt0DvFEzAm0qhP60gGIe02/NmmPaj1MFH9jwFegikCqEDCNhzw?= =?utf-8?q?jctFcXPjDjvaOsnOMyukUhPteIZwOBPNnaCzHlBfi5ZdW4FPdaJOSgNyX9j2MjjnD?= =?utf-8?q?yAO2oGbYc9P4g2x26wjOiBH3OEkEdGY3TctTX9Aog25c5HTKVjvKsFISlyoXnsoQr?= =?utf-8?q?hHwaCBe8gGZJocRjUC9zmN4dCydxKf0xsEriXALAmmD2RHx/bgsSt+tHNfePel1G4?= =?utf-8?q?81pWXG0B4fHrXJorGKaveCqVFPS+Hng7FXw+sT7qhoQa5iG6LvujiU7CHM/DPLRzU?= =?utf-8?q?HMjwvW05lDek2KJEiZr/PVDSl/Ec4VzgDzl46zf7VAZwg0xbXWhFceLwng7lAozrC?= =?utf-8?q?P8DYy3lceQNyXKOYuvtm2GAIznBJ1PZ5oA=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)(366016)(1800799024)(376014)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?bUJOvDnbB0hktYyficlMd7zUFxqY?= =?utf-8?q?VIgQpMGfDOoAefSXMp5p5qmY2fw4s0vYp4Jbl6wyfDhTf0jbeGF08BxDljNhg+V1R?= =?utf-8?q?3OqPg3q27BLwr6vprSstPaNaXJJdCFU+cbwhcTARYUCBiFIATccusVz22+PDU1JLp?= =?utf-8?q?cesRP2+QgYt1p7gy4Mk74GaE6trZBQGjkejLdVqupDCSEJjGMFTZ+gzyNZRREmj5l?= =?utf-8?q?ayCRefFd9hT0U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1eae7U+1cPPGnTTyZdfSEuvoFidYsDrveTjONziot2Jjb/7DqT0?= =?utf-8?q?u0Q/EQSrhOUgbPyjP8mLC+OSTjXOsd84L7n5EpLhgKPMuva/o9RaL+qashkgGPvbK?= =?utf-8?q?O0+mlaU6xOqGfjlFqzraWn9xANbd/Ja1XMWd5wA5XKy4BNsY8X+FvQ91XTyi7yNLD?= =?utf-8?q?Y4hqzmCPRExRCm9hSdWPTrl9ZwWnGJIKPKSr0aYdF7DbVKDdnP15i8WhivqdXt1+R?= =?utf-8?q?rNm1y+LCTdEAqjD3lUhKoEYR/SNLx874//Db3AlOAzcGkuDCHAJPYyxtIXXp8zP1/?= =?utf-8?q?M6n5Wia3wM9wtgRGzVBlguHIlDjyQYnA4u6gTFNEBBdNZq/iTBeY97UJmliqHZXhn?= =?utf-8?q?KmZy8ZjMzu03HPo09EUXFPwmcnHsR7bnz+Wss7//ary7+w3WEmHNL1rbV5WaLOrrw?= =?utf-8?q?nDmp0DtqU917?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8cf90e6d-2f77-4c16-dafa-08dca1d625c6 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2024 18:20:30.9572 (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: PZIaSJ2YzKK31YHXO8H/KtN6XqcWupvBeZDqxBtPkiXFaWgUJX4YFpzNvw2qiFvnHhcUwSngCyuGjZkWXFB5SQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7514 X-Patchwork-Delegate: kuba@kernel.org 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 Signed-off-by: Frank Li Reviewed-by: Rob Herring (Arm) --- 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 Thu Jul 11 18:20:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13731006 X-Patchwork-Delegate: kuba@kernel.org Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011043.outbound.protection.outlook.com [52.101.70.43]) (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 BFE4F16F0E9; Thu, 11 Jul 2024 18:20:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720722040; cv=fail; b=cY1Rqltky134TTwO8oq9GdV3q3ewd1UTMdBrXb/SDMifCfT/9KCKiJiW8QWNWz1xrZKsF2FpvXZ5xM7DrdFY6lDziF6McIaQ3bHScaCOTAfFC6kU4E4tjOnl6jd8uQ15IqQAcM4mFtwbR5hD5Y1mD8uK0okKPENfcms9wnPdjFM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720722040; c=relaxed/simple; bh=wV6jeLzg3g3yedL24p0+Z/VLhNR2E9IdG2mdphSZULM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=YYZhMUm+KdpboONCUq9ZbMcBt8FrW8JVlJKhfrpnQI7xVH7cw3/GsjG504BBJS16yqJ5jqZ7boYmcSr3o7OVUrrqEo/iWwmym4CuSDFV/ViPlGqbzpfaTvBS7X9DqZeygHBSbKQRcGPdO4B4J36YTi7ss8wQVSNNnXJeB9Xo56g= 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=Li+gK0FC; arc=fail smtp.client-ip=52.101.70.43 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="Li+gK0FC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v//+/jBXw93W5qJ3AQi5/VcIoteGJii6AzOXSyG9jLL8eInvHQmXAI/QQodPMIwToahJIUenmPRK8ko0ZWxivqXcVjqAUrQrEujUOTkLK8/rfVzSQspuCzz7LGxFHJ47rzAFdRBh5grm1jvrX4/S9QvsRwLquEATcFgsCKQ/vDDVmBY0BHL3aOUKoUl32lW8XqvyXAu3SUDgZkQ+uLUHkrftjPOChG/zjY8fJwXBddQAvT8f9fzsQUAZ/3DyzugWouvFDpW8C1vI0M1YAa2fwKMYq4DvRmeOHna5oP0+EJ6Xbw0Lb6IZ65LZz1PRJTYts3go77KRQCw8vI/YFHO+WQ== 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=qf4R1w+IFfREDDFzcckD+cSjnRzgbLiQXklZJaK0WWY=; b=J1tytqAa1SUoEt0Tq5dsqMLxc84iu9Jc91wW13xTs4S7oTq+EEFVGq1HVGqOb0hkNoFysw36EUq7dfnu5jTOLyu3NX0wp+bqvS+YBEBoOcmmjT6CVOV5lVRNX295tybj3IuDqiTEA6zGKFb9+srN8rPmc0sqRbZITraQyD7yE42DV5JeSfDHx+EDo2hmaYGpsxiQ44QMBeDeHvY9Ty541bCLu7IIDppzgO+KgDvKssP/QflLJrAmzfWi98VaexTrt5htN9CG8o5DR+QGNwuDR/3cb0MnQCEOUqGIW6hMParXATHwPTLs7OfwZweF1OBKgKyXzpneDxchZvFNGsYWeg== 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=qf4R1w+IFfREDDFzcckD+cSjnRzgbLiQXklZJaK0WWY=; b=Li+gK0FCsDIDbqV08Rufn95yofDlGtqX2IUZ5+G8vJZJYBIQEbEgH6ThJ5RvlNl5cbpwqUas+VhgL+05N58lSAx/RjgM2jirj8OjQnvJTCx6014CpCBe4d+M4vscTaztwOmcr44+g+3zu6mdNQUx+BGaCvMsxrA6ukmtLUfD7Ag= 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 DBBPR04MB7514.eurprd04.prod.outlook.com (2603:10a6:10:1f7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23; Thu, 11 Jul 2024 18:20:35 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Thu, 11 Jul 2024 18:20:35 +0000 From: Frank Li Date: Thu, 11 Jul 2024 14:20:03 -0400 Subject: [PATCH 4/4] can: flexcan: add wakeup support for imx95 Message-Id: <20240711-flexcan-v1-4-d5210ec0a34b@nxp.com> References: <20240711-flexcan-v1-0-d5210ec0a34b@nxp.com> In-Reply-To: <20240711-flexcan-v1-0-d5210ec0a34b@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=1720722012; l=6386; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=laFLVimb0DeJWbLI/AkKxnSps+vsZInKqjqapoJfi58=; b=2e4qM6H54zsC1usa6wNIsJtCGafFUQWK9SYPoJR2p1OaaClFEOMPW6TBBgdKEm2Vymhn4E/jX Q7v5Dm7pHT8BmzCQ4f8OPBqyNeczJUyAeKlxa1mRnkSUTvlrhCtKAkm X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0134.namprd05.prod.outlook.com (2603:10b6:a03:33d::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBBPR04MB7514:EE_ X-MS-Office365-Filtering-Correlation-Id: 4b426703-d4b1-42c4-30ee-08dca1d62829 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?5o7vVBOcUC9DA1aKx0N6GShyHDFrGnu?= =?utf-8?q?8cV2aeVbOx4od1lvcJWx8Ki/uui+L5cihdK9FgVv7GLZe9FOK7+JbeFy0+ilVF5p2?= =?utf-8?q?QOaMmnNhSxO3mIkvf407WQ38MUwDmjc55Bvqh+ezgLFTbDvY73qjFg9CmJ+cBIoR/?= =?utf-8?q?pzxeesf1dRwlPmWCbH+XMYLSpW4lwK/L8cvD9V5BoP9K7xtpmUdo1ldF+EMoHv2Ok?= =?utf-8?q?1eUu6nZgRl3lcLG2e7/0dP7VkkpjyiIDsdaWCemx3Hz0/8EemOyg6Jz3xxZdDWdsW?= =?utf-8?q?X2z9R+bc87S/UR9OwvUHzaUWewhJY4hUKEJW3KuJVDMiEeV01UP6jXpcfQ9iU4EX8?= =?utf-8?q?j0+VoTjjNT584JfN5Ll+fKZnWPx4KbZ5L4T9/ZxnFM/BM/cXw1B9rrV+wae/Djk+u?= =?utf-8?q?he67DmSeR3HyEWxECmXhvFEfctYcZb80wFn6j03bft9NKZ/HE1cx6HE6W0qhec7bG?= =?utf-8?q?B7600xCsCuqD6MHVUJ0//6nr/wLOxDFsD7sqFXpfdhBxBMTWrvGlUD75xeoF8gb9x?= =?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255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?MbOJA3VRxi3GV/5MdM9vggx2yolF?= =?utf-8?q?FbN/RkHVnZMRrP8MvKjayu4GPw2eQX/1kQdHpxN8aYg1qCothf4XWU0caLW0pLjfZ?= =?utf-8?q?ePscVjM+rkezGY1Qq9GxuXVeRENXk2I+8mZSR+UraBQtDkjcGfno1T6PYaMzkk2Tp?= =?utf-8?q?//gJGTtKgxnd9G9E0zsC/1Pn2od+y9XJmHjXGCHLCQhqj3vp4mMEctmzip3wntESv?= =?utf-8?q?fDFKCMawiFx97EytbsibemKrauSaMTwEtPAXETOhhw651DTAbNYpaMTyBaH7MLXEX?= =?utf-8?q?v0PRffbxwc+jtKzI5Z13fKbeH+dfrQL+TyUdEqAGFlhsdRI708BsN/4GTGc5ltDzl?= =?utf-8?q?AIDiSRGFD+ViT8bUWV/N4dQ4Iq326SeLD9DIoOTPE4z1PTt7XGmZGIyPWCegc2iOe?= =?utf-8?q?hblqvQhg9zfBdb6mhASIJdrj5FN/cCm435SXagfr1ZCm5rRw88ivFuMw8rDntwTSH?= =?utf-8?q?cV0mVC/2Qz9Svcr4CDWQxp5LZGVQSNzdH7y0dsnyfy9WqqVavwmaXA0kWGvUNRdAR?= =?utf-8?q?Ii5ota1X9D15oGK2EoLQcUe7Ob50GkYNkMOsUapQycSGTPXCKOgaVguYG+36l5d3U?= =?utf-8?q?tSeCWnGx+kfFYlMd+OhR21JoXsflOXMWX64KQJvjETUWnkLMN58ABgFNavnh63RQC?= =?utf-8?q?e5DgRVlvFImqqSPIzZUBIDzicawZV2VVX6sNsYUFI1hfvwQ+I2CxJDbzj32OrEq44?= =?utf-8?q?d97RMpYCKeVUlod0h9zXDbYoaowlx79NrMgkcW+fAdkos5XuLfxAuwB4uea0xxLQc?= =?utf-8?q?6u71Mws0uezvtUKkXspSuP2pvturESPjH4BlTdf/1Ii9TccjbFONrQGg+U290Aeqt?= =?utf-8?q?2rbEzCSiHZozVbw2Z7vcjGkwCDNX2jyoXLdSn57Ftw6e7z4pDARzV00D/bpbh3Fv7?= =?utf-8?q?B5P/dNBGtPEoV2ygTjSGtfmD05hC3mV0eBkXoP2/axL8kofa764tHrvQMAVTTk32u?= =?utf-8?q?QQM+tQulXA6et56Jm5nHsp/GRCxAE1FKYkP0l1nhTLjSrZvcsUmNauRbVuCM3Yk5r?= =?utf-8?q?iI5JfR5sAcB5cBc8bvHJp7mlStbrx+9ESJjwMk6/HsJskfOrzEOhDqr0gFw1kF1bQ?= =?utf-8?q?dNpC0y7QQZVHs6Z2+Wt2SV+KX/fkTUvmiuGoAfvZUiRIDf7N6U9wRFrc6cJxWi/ai?= =?utf-8?q?QVdeFHWn9kLIU7O0sy921HnQyymM7qugSMlikMR7B+U4qucSk+QH+4jefLdSAQi7+?= =?utf-8?q?7WyZH40m8UUIqvKfT6FhYWvjieFRXfJZeXC9d/yo7CbGu/EaUXpZ+KGfc1YmWiu8X?= =?utf-8?q?rwLiNZosv8Wo0fhKwq/17R6jvbtzdIwVxfVfHmHM7JPbizo/tLG5/x+yggApWGdMV?= =?utf-8?q?HZDRtV8jRE7sJ2fXI5sqC0fqEyzq43GNux+tVcZ68GakywRN8twQGM3mJxheWQFcA?= =?utf-8?q?IQP6OPsBMwvlu3gQLYf2+8IzC73SyJK8jvIdbjs21Ch/wv0dhbpwZzcczEKmmTCPm?= =?utf-8?q?hxF7bA91vMa/EtycUHKpw4ebtsilVh/4GsB3uvu7EQMWwPypuixyET2q6mkLFVZfb?= =?utf-8?q?FZ0ajoD+jv1u?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4b426703-d4b1-42c4-30ee-08dca1d62829 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2024 18:20:34.9467 (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: TPQRGiGU3RORLam5sJbzKpIuFoZ20rG0W4DU/4nKvakObkXsbUTo1HeO8TXg0VtrdFrjI0CxLo/sQQGi80XJeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7514 X-Patchwork-Delegate: kuba@kernel.org From: Haibo Chen iMX95 define a bit in GPR that assert/desert IPG_STOP signal to Flex CAN module. It control flexcan enter STOP mode. Wakeup should work even FlexCAN is in STOP mode. Due to iMX95 architecture design, A-Core can't access GPR. Only the system manager (SM) can config GPR. To support the wakeup feature, follow below steps: For suspend: 1) linux suspend, when CAN suspend, do nothing for GPR, and keep CAN related clock on. 2) In ATF, check whether the CAN need to support wakeup, if yes, send a request to SM through SCMI protocol. 3) In SM, config the GPR and assert IPG_STOP. 4) A-Core suspend. For wakeup and resume: 1) A-core wakeup event arrive. 2) In SM, deassert IPG_STOP. 3) Linux resume. 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 Signed-off-by: Frank Li Reviewed-by: Vincent Mailhol --- 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..ad3240e7e6ab4 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 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 */