From patchwork Thu Aug 1 00:00:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13749333 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010012.outbound.protection.outlook.com [52.101.69.12]) (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 D90861BC4E; Thu, 1 Aug 2024 00:00:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.12 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722470442; cv=fail; b=paChZ57wngMKb+df4DsMrguLaxNUcRbOOb4FmJlubWOWjhgK0qKXMOUcQBkZZ+CU8dqnrPDwSLkTR0Fjr3gkCZTL0iwkrno4J0OELLKhilHa8i8b1QbmRK0xkJul0kUviWTUn8VnIFF5Omcbfpn99XmDlq8GRYfJCfqkYyH6XB4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722470442; c=relaxed/simple; bh=ov3A7XzH+6rkr0oeR1eUaodBbvJgOOpAc4ZRVGBhX/Y=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=qTvavDOtT7I8qRzwSp0IucOMXI14lZB5+ZC55pGE4iHCudpA2itlJJmzkXBpWsr0nNHBYXF6Y6zXCB7/axFSGIZnI5lw+qzXNpp4bH7f/4F4lAxjw1uUG4c/HDgEvubw6YheNPaxNoSWjAzi+X7nWtPmpOKaxXheVgAoS8Ql9QA= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=EbisK8wK; arc=fail smtp.client-ip=52.101.69.12 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="EbisK8wK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yksjaqRSYBDgdWoTAC7AdJWwTFt7PtbWD8z80pIPBYQADpajzF9qHFVmppfYJ4RISyqPuTDolBzPc1rrMI1W0R16IR+qeHoQBbxpSQ7m/kc6Ag9Yd5xihw3wpjpAb5qwjntGNg398fXwpy8g/gn5VN9koC+FjEEApZEY8eBEbl3RQq3FmdKMxi6OOyv4124d1II4A56HZ+yYPBZ6haFKBvKAz+fs1D60bQiizGeQcNC1t9s6HPn7cEeJ5UynfM7QkU5sTDorqBublcuHyIS6/5qQP0qnzn1/Uzz+L2x250G6YpvoArxaHnlcYncNVMkmPdh+D0T3Dap++wtj9Adr8A== 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=BU4IoqoqdCYAkaOZWk0ZKMIFxHnUVNAgCrY6Tc0Tthw=; b=Z1eKbgyj4Q5dLHhCC8osOcGQsdhWKLGB/uTabDyjoM8K42g31rV1hEKEdIn2FAMkUB0q7Fi60CFkmrDjQrgYipxtXPuvwGwnKWyV74CaXY+0/AhOtQ6BBnwYtOFEKBWCvq1DZzkD8VoRKCmD+n6cFo+iSoYihpPJPaCjDtGEI1PJCKarzzWxJCPidXRXMCyiBV5jHeF10+PjxBwTobhrdinMgHsZD7V3qhT5pGKRbU/0U4IyeVIHZs3oNtHmkyWTNngP69QK0r4M5Zxk7p+VaM21rzXxKmb75Z7ClgxrjhKgyU3ffwsYeLDXSUc9YQX91z9Q2cAzTzozkVT1v28Puw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BU4IoqoqdCYAkaOZWk0ZKMIFxHnUVNAgCrY6Tc0Tthw=; b=EbisK8wKCANSgU3UAjTTonf+EsPq89FjPeV4fkSw9Ovt/bKWmZd/BsLFglPxP8qcArRrQUs7XKtQwdiO9fQ8FyDndVyF+UZCqQWn6uJtx1RNkP0FSzveh+74xuOFEKxzqvIg/g7ZIiyfmmnKRavOiOh/kBqESP3T9v1BFiGJsVzwVW9kw0iIY4VzNlmdUEFom3SaONmrcnH3ING/doccejKfrRYyQJ99bxHwdhu9k1lqe68oCOvfkKonyvvBwDnpHnVn8TDuTTmTnoervB4MsZwYvqFk0suZ9APS4lGUaB6dA9TiFeJfPEC12Sxud6OQnyYqi/SN+QuKNKvXDEN9OA== 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 GVXPR04MB10406.eurprd04.prod.outlook.com (2603:10a6:150:1e3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Thu, 1 Aug 2024 00:00:37 +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.7807.026; Thu, 1 Aug 2024 00:00:37 +0000 From: Frank Li Subject: [PATCH v4 0/2] can: fsl,flexcan: add imx95 wakeup Date: Wed, 31 Jul 2024 20:00:24 -0400 Message-Id: <20240731-flexcan-v4-0-82ece66e5a76@nxp.com> X-B4-Tracking: v=1; b=H4sIABjQqmYC/1XMTQ6CMBCG4auQrq2Z/gl15T2MizK00kSBtKbBE O5uIUZw+U3meScSbfA2knMxkWCTj77v8pCHgmBrurulvsmbcOASStDUPeyIpqNYKnTWcYO1Jvl 7CNb5cS1db3m3Pr768F7DiS3Xb4OxXyMxCrRRnIFFMELWl24cjtg/yVJIfK/UpnhWvCoFMIlKK /OvxE5xsSmRFVQS1IkxbbDa1DzPH4sxxfoIAQAA 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=1722470433; l=1707; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=ov3A7XzH+6rkr0oeR1eUaodBbvJgOOpAc4ZRVGBhX/Y=; b=qIX1pAYgeBg4ax/R/YHhnxMY3hZ1UtPHJyBsT8XIQZkN/IGLE+vO5JvsT8aq2Z298DT4PYlmo JgCRVu2zda5B6MWcUDnjYCK4P2ePSwWmKeRjLiRekdkQk/zKgP/As5+ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR06CA0040.namprd06.prod.outlook.com (2603:10b6:a03:14b::17) 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_|GVXPR04MB10406:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a3209db-df54-4fc6-f640-08dcb1bcf94f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|366016|376014|1800799024|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?3hSo2hzXQoN826p/f8dkpwUOvztN7c2?= =?utf-8?q?m8C32T9xJJsYFzkJI8DVwATSDhvtCLR7qymdAQR67QYq3Mdtnywc1Le61XEwBoqzA?= =?utf-8?q?BfL+3ijwXvE31+jOpr4tQPEUFigqhKN8WU3GB8GXCntpKjijO0mzQrvI/JC2QfZSA?= =?utf-8?q?ARpznNIbFXN2CkuFMthou25/E/XUIGMALagvcdLVVLEXw+HkkHt4ckiPsw4YnSrQy?= =?utf-8?q?L/5pG9F4wtnSYCynyNwUvPx6vyEOcXqTg7mkPrkunKY7XTXeuF8tkwcmOXrZnHC66?= =?utf-8?q?B6GEk2KbegJi9mBwJMLtB7R10izBzGKtKbPTfsVmZv9CCFxDdXBTH8b23nGZqsL0v?= =?utf-8?q?p7hZAHhOhpsbwjpnLgWIGSjewRrcVX+D4yFtKleOq1eu3gBxgYGkxz2vXi907JJC1?= =?utf-8?q?yIYUv8Xn/Q4EBYTZcWaMBsv0DffPyrpfscwCSMO4bj0BS1cVrMfP2LiY0pWcslkb6?= =?utf-8?q?QOXWj+a+ZzkFPDh1s4KMXcEvejAaDj5LoFNLNJ1TwuhnNk9iUnDrrPMRoi+l+yU8l?= =?utf-8?q?XkgPTfnlF6TAYBf/6yWUI2q0XEPPsVnBodHVbmVd/l2xFgWIj8AwSCJETFQ9v2ORj?= =?utf-8?q?K5j/cxwo6gjvoD0dq1SU5pUc03sKSks3qqFRrZAuoz8HE4Fh1GL0E1tvP+nPS9hL8?= =?utf-8?q?rOO0t2gxlKUqq5/SSvQoPps66QuQqq+A0R/yftdkb7WXBD3tqqhjvXWa1P24W5i9m?= =?utf-8?q?TzRTRV5h7jT0rM0lSokvi35XG+dSjCuP5Dv4L7S7AIGFlZP0So9+Mp19dntZrnJgF?= =?utf-8?q?Q8sDjB55ohsTC1B9zbVjgDsIp38ndGqC7DXXNECg0ab6VHl92+u/CxFKZOuqffkTi?= =?utf-8?q?0HbVOK8Od5tZGwlpfm909sYQVawgPHHqGEjjyFzYoalMjfIYgfyLU8SSqCZsNNHup?= =?utf-8?q?FcFrkbrHLTdE01pPw+iR/mkqVo/JuG6Ep5N6VClOrCl4FdhbUBqlO+BPyPKTPJv9O?= =?utf-8?q?b54+Yf0oefK27WUH3GEZSWGO3AtyI3YrUf3MBPssKSX2DbWyycxTYES5htUvujSLW?= =?utf-8?q?5a/Q7SpQx+Gjx8lShoVOP7Ny9F8TuX1mCYsr3b6ohhfDbvJ4ewkb0rkfrvPCvMPkr?= =?utf-8?q?iSoAQo4e+WocksmL2+XEH7fLGh/i0T4g7T2YvR5fBe339pN9YSETpCkfn1aALE2Pn?= =?utf-8?q?wr2aNB6k/1MMA/09ISOHnZ0lgUwdQyFSmdlw+XuhnMNQbjpx9M1RbWqWRrbZJ6rro?= =?utf-8?q?i5K1lrfJvyB6pRvZzL3BSsteZjqYbo4LJJDwjKCKHQZ6MBkYnEqCBeNL2zdABPjfE?= =?utf-8?q?3pKVT+wL6ju6JI8bjToBxZ23eKy0yW2NTZSXiZ+B/j6pUZjKHHH3wDGg=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)(366016)(376014)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?IpCkgjI8+RNIZyqq+N01mkNC+8We?= =?utf-8?q?bmxmtel5TeLze1p7RAsSzgTHlNZ/FiJnHwkm0io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d34KFQR96+mIwEVUtR4heyhl?= =?utf-8?q?0kEGCk9xOG0UI1kese4toblvSRsyAiiYKA9TBIm8TQlGKSmCstflwueJMGHdoyWVw?= =?utf-8?q?6+p7iHeoG36eDf9USMd5yP96jeBR/Tv2cCizojOH5pdWdjp/PiY49pNRUgDrsdR/M?= =?utf-8?q?ptWg5B3f7tolHjiDPVzdetV957n5oMr6V7i0TN5gl+5D7OzB8JHazJR5ME8RPN1v6?= =?utf-8?q?9OVBQKqR/RIUNwXUvK1ilwkpt+wqMJdVipFW79F61nG17Od3ltm7DagbF3aZn/ixk?= =?utf-8?q?rtFsRqBtziaRIfgQXYWafBG0FZlQLUSSKur30FdNZe/+uAqBc5KoQmvnQxfaCoylf?= =?utf-8?q?QTllN8acMiRtGIoSOCKPTt5FVc6u/vG5imWHj4tjKvKF6GiilNla73bdg2cpF+UfS?= =?utf-8?q?pcn1775PU29KE1MLKXtRaWXZ51Jrwot98YDINmLRCYW7bS8KZTWzy8sh3KVYjBUGD?= =?utf-8?q?FllLFA/odsTTuEESzVxU8vyen2CrzsmSO+fFqLlcW+qIG2b7h1X927mWYCTDWui7q?= =?utf-8?q?GuFo2nwRRceJt/6I3CnVYxWoBMefcwHYy3uEE32Uonkwz9+3h1e0H+FyKY6kHgrHr?= =?utf-8?q?A5ZOwwxjIjIH?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a3209db-df54-4fc6-f640-08dcb1bcf94f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 00:00:37.5407 (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: J51tSbHPACU0FReGM/LtQrsozG/NkFcjFk4Oyvdufhbb9hrTySsuyNoV9Kd5KcplvlrRfVs9jA1RPRuHJS0Ydg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10406 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 v4: - fixed subject missed dt- - Link to v3: https://lore.kernel.org/r/20240723-flexcan-v3-0-084056119ac8@nxp.com 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): dt-bindings: can: fsl,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