From patchwork Tue Jul 23 20:48:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13740378 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011018.outbound.protection.outlook.com [52.101.65.18]) (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 9AC251422C2 for ; Tue, 23 Jul 2024 20:49:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.18 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721767745; cv=fail; b=jS6zEhiYQgY4K72hRaK1Phn6ZjRHDaFmq7LgNlOcR8tmlLAR8IX1PI6q9ms5zK1tw9SvEyViQ80P7DAzMZYBd2J9NCEEqXaIEF3Z4AzN5ovE1mgkVEwinGmy6o2xJlHgokXrx8IEY5doY6GMAyOas7P8YvzYczoNNYviAuBRyFo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721767745; c=relaxed/simple; bh=02ixpVxr7I5pGFsYQobdmHMuUtNDHCTPsz4OAFPzH5E=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=gzooI2xOZhzxyBRpdF+d9RdRfUO/4sDJ9Z9bEIYKzq8M+L3jQrYakiSup8QrqDZI2l9yAIxsluZyv475LmhVcqFRfYwsZ85LWGxxyQ8GG5Q6LB+PnIv/vvljSxEEQGC2ayIkYV6X+3zDGSCgsE6tEMTkg6vL1sEzeis3wbh6Zm0= 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=Ntil2imy; arc=fail smtp.client-ip=52.101.65.18 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="Ntil2imy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uP/OpYoJIXFWbFqlygweaigwCx+rWS1CvEUJItIqOrJGkzR0C0jOH+HEWc/QlFQIWeUtHY1VtK4pvvejhcwQnd8VY6dHo6GGF25ZLAiKlP0Go4A8xettBdj30mlWb4hGIsSMbwqIgpZQ5Q4oFqWO/qwWId5ROKvckFDuFcATl+o/FosLT0B1tTVwuveyE+5S6l6fPjmFnGUIQXwsFDcab7g1ZgwkffH8yE1Xg0j2/1ZOu9xpXjOoV8G+/cT8cEoyfrMLphLAbIxebypuz7vIdfGixRmeEPc40oyslIvNy13lXg6a+FlYuKn2nCua6MlGCEBVxRlfnX5vYA0lzuebRQ== 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=bNzAKwFSzo6vyw625zIXo6050e5mdOqKGgw4poz7rhg=; b=YsVYsUv8z5ypEECf9zivwJe7lbMtBp90TDLuaB01fOEMAC2xGKgwqkS4XT6umaVbc1nFe/iVgfGxVhRWjfYlw9IpwV5+vohaWpOawpesqGgYCPaQ8bzmEix3tzt0iCIn3vNN0m0obar0ElFYx7ipIapeb32kLtF+Fko5x2FNHQAXOuQ8mwxUuyUf7yaKCnJYPbecy2fX2VykdRKnh0Wn50GdLquW/8Y/zI0R6Jva5iyJsIjYDQ7U6ylToM3GyB4WI6BrPZqY++eoHQ7jka26EI9Qe/mbx66gw7XrvFLg0SrTlaE6uAJ/m8bqMIhH1Ts+yHJndJziXxMio3bvDleQLA== 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=bNzAKwFSzo6vyw625zIXo6050e5mdOqKGgw4poz7rhg=; b=Ntil2imy8DnpSV5U5CJ0ouj5SqyPrWczuEHBxHe/HuWNvwuV2dErfXoaTO0nolq8sN4owMyrOyzFuvy10xBHUocCduojCQyA3AMDkaFZmsaiWa772uAhhnamZmV2US0pBbazpf7DEuzwxBCG8FIjpPB2+NMQI6XcHEfgELvGBfQ= 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 VE1PR04MB7470.eurprd04.prod.outlook.com (2603:10a6:800:1a3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Tue, 23 Jul 2024 20:48:58 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7784.017; Tue, 23 Jul 2024 20:48:58 +0000 From: Frank Li Subject: [PATCH v3 0/2] can: fsl,flexcan: add imx95 wakeup Date: Tue, 23 Jul 2024 16:48:34 -0400 Message-Id: <20240723-flexcan-v3-0-084056119ac8@nxp.com> X-B4-Tracking: v=1; b=H4sIACIXoGYC/02MQQ6CMBBFr0JmbU070CCuvIdxUYapNNFCWtNgC He3ECMu389/b4bIwXGEczFD4OSiG3yG8lAA9cbfWbguM6DEStayEfbBExkvqNZk2aKhtoH8HgN bN22l6y1z7+JrCO8tnNS6fhtK/RpJCSk6jUoySVNW7cVP45GGJ6yFhP+W3i3MFp7qUqqKdKPNb i3L8gEyHsJL0gAAAA== 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=1721767734; l=1571; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=02ixpVxr7I5pGFsYQobdmHMuUtNDHCTPsz4OAFPzH5E=; b=6986Ip83TffRqOq4wYK59DkyN7bFib7eUqwmmAUDP0AkquDPKudlXmdGjlRBX+AGTqG2UTGB5 pPjtFI7lUAhDZtQPYZ3ZVwIQA/Dk4fnilbZTipvWM8aEl274VzLt+oG X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0115.namprd05.prod.outlook.com (2603:10b6:a03:334::30) 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_|VE1PR04MB7470:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f574879-31e0-4e9b-002a-08dcab58e035 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?7agnIHK611Fhsiqal3bqa8U9uh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utf-8?q?/noIT63SHi1d+6+Z3CTZAT3bfjGX1TyWdj3vQGoq068KL8+WF95w8nlWJyDClhKNs?= =?utf-8?q?dRpPatkmBAvIahaxWWc7FOImoKyrT2Z4mTy7TK7eq/aAT9RaGmk2WUb8uLt+1R0kq?= =?utf-8?q?07YtThIvA/kyOalHCGGtLkodcjwM65m4UXFwJ8Py/InRci0KsHv/OAr2quCeu0yRU?= =?utf-8?q?UkXLwxE11t7Ytp0emMhSzVbom2KHqXR4L3qwy0nNhAQU2nakg2g1K/wbQN9dveoFr?= =?utf-8?q?NqBGRCdl4oLKKDxNRqXBKvgFa2Dy2VZXFvMxCorn09Gpxmn2hJQZ4cBluW/ibzyx2?= =?utf-8?q?OvReaBx+hoICPqUtg3KyNtt43UM5N1VwBVaKeoqXlrUxwOkNcU99dLyjg5oS8cSZD?= =?utf-8?q?PAc8yP2Jll6kqx6qbflYXrGWBUuSXEUxdK2UFUZJLUorCmLc830qtCJI=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)(7416014)(52116014)(376014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8I2oq9T/b/NnFjXBiTP5ofeXvhVX?= =?utf-8?q?7PH0PEzW1t/U6YVWlFUga+ZpQB4ag4pfda1R0/FqYKPPKooO7TMIXsRDdDXm82yJe?= =?utf-8?q?d59Ji9/kXJm7CfkixANn5TmIGVY9l6Zqki4KR7BMSvp2i61zsZ803G1i+oP2Jj2rN?= =?utf-8?q?wHjSm70PdqDx17cg4ylMfvzYqDQpZ6QFgKGTyl1+x4HzlyHkmTA/G3R7R5/IXv3ii?= =?utf-8?q?a2g+KfihvL9as2F+rAEfbmqC9MSzkSULwUJ26h5Sze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BKD/Oj3p2l1ptF2Y0x73/?= =?utf-8?q?HvXPaQIQHF1oS9OWJ2EpcKoToU5xPnyYuGhA0kmv4o5jkc4AcO0gEeAE5fR2JfpG1?= =?utf-8?q?m3detxJLwDvsUkqkQ7xCwrUf29tJZ/FsM2shGufn0Dkvmz80uOv5Pj0G3AbFIB3+w?= =?utf-8?q?lXTzcYm8vKFbGm8iJBwSBkUlePpPOzdxMKw/kpJ9Za/kEECnJGnRVbg6HQXxxekrf?= =?utf-8?q?vS1zfw7lNzvvRGvOl9K4JU4+0lvOktMYQlkU8yrBN5dNXdfhLu4IoDUGSIoL1xosT?= =?utf-8?q?+knSKekRB7klnAv9cIzzh2jyJc7i28EegpS74lusxSixMXARTMqzgGe+pxIMad1vp?= =?utf-8?q?DMKCBv7vEcIt+KXju/g/ZjXsXTteVMWv61oOIFG0VssZfx9vCyHjPjk8ccavxD4s+?= =?utf-8?q?i3DZRplmt0Er?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f574879-31e0-4e9b-002a-08dcab58e035 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2024 20:48:58.7935 (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: swxyIlsoZ5PUGbd8p9xkUkaWRfSPBidg+T1NHk7x0B2YTqDI9j6BGknFIXWFiWqmt9Rdi13B83gti4MqI1Wmfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7470 To: Marc Kleine-Budde To: Vincent Mailhol To: David S. Miller To: Eric Dumazet To: Jakub Kicinski To: Paolo Abeni To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley Cc: linux-can@vger.kernel.org Cc: netdev@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: haibo.chen@nxp.com Cc: imx@lists.linux.dev Cc: han.xu@nxp.com Signed-off-by: Frank Li --- Changes in v3: - Remove s32 part because still not found s32 owner yet. - Link to v2: https://lore.kernel.org/r/20240715-flexcan-v2-0-2873014c595a@nxp.com Changes in v2: - fixed typo an rework commit message for patch 4 - Add rob's review tag - Add Vincent's review tag - Add const for fsl_imx95_devtype_data - Link to v1: https://lore.kernel.org/r/20240711-flexcan-v1-0-d5210ec0a34b@nxp.com --- Haibo Chen (2): bingdings: can: flexcan: move fsl,imx95-flexcan standalone can: flexcan: add wakeup support for imx95 .../devicetree/bindings/net/can/fsl,flexcan.yaml | 4 +- drivers/net/can/flexcan/flexcan-core.c | 50 +++++++++++++++++++--- drivers/net/can/flexcan/flexcan.h | 2 + 3 files changed, 46 insertions(+), 10 deletions(-) --- base-commit: 60338db30855441b23644e319542abbacd449d08 change-id: 20240709-flexcan-c75cfef2acb9 Best regards, --- Frank Li