Message ID | 20240905-dwc-mp-v4-0-aedaeacf0556@nxp.com (mailing list archive) |
---|---|
Headers | show
Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011061.outbound.protection.outlook.com [52.101.65.61]) (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 E47B3188595 for <imx@lists.linux.dev>; Thu, 5 Sep 2024 20:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725566799; cv=fail; b=bYiGU2wFiqfLSUj5RDsiFyXsFy8PfMCcKETB33uMlQ8Lu4yzBPliKNFI3RqkLbd2+Hl2N1Da+S230OMN3kk73P0EGvFX9dShOqxkNJJaLGdqc5v5t6e5DKTyxBq8FGeSLc1NrAAua0PQXDhCcNgalDMOsYx4NQPLj0UF5Qy+n0o= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725566799; c=relaxed/simple; bh=/OavMWLX7l88fbxJ3viXlld87bMoMI9DZw4+2I94Kcs=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=AyaFf36zTPDgdYgTk91wTpHMjfwUkKKfBiv89AAbFut+2xqMcRwI6X9n9C9jwm0SeVIz9Z3RAUbGXiH9PjUBAfzzkEjJbWn94t15Ef5fnWZiqAb6nL3MPW6Y0ga8Is5aMkDrghNBRNTaOV1geu8+mOOTCbp/k3lHhjljZo2Ak50= 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=M1lPkZA9; arc=fail smtp.client-ip=52.101.65.61 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="M1lPkZA9" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mJlsVVCHx6rbdVkiyWe91ONkl4qGORq+A8akHGSJwd1T3iXCIHBwhQJABccIiciY/flzzdixLX3yrB98dQJXVWRmwGRSzPxtSZBUNRqjS4DBLAETD8DpEbbawYK21nWY7W5oPszv2klSCyMhwlAJLRCCw6P/UyR2sNduireidr5e5UM12dvmnRL5KHEBi/NtCY5rV9TuTDxIbAmDqF0V5FrkOmF0dVQ68hcm8uGX2pXZtpaGltaLsL/K6D7lFlkXzlmjRLD1AtQEHUqZIwRHlqYSRBGTkcqvHjQSxvHfTOR7nZTl/AsEViPSPjPa3iFmZrUV6tBZVPqGmYPNnW64rg== 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=MBoVh2cW9Np/RSbDQMFx6DinRYhxgLCE6VsqhDryzLs=; b=ZkPR8otX7tMgqenMP/Sn2nabnBc1/FzQkg7yDLFYKLf1bVZB2CAYNRgjBVXPKy9pEdxHgUAM3dVG5ntGmju5GkUtUdg7LdYzwWkBZZ9OmzIHutyRK+UMYX2bNzaVxQEVkJ1uCRQBC+k2vkcWdNMec5LBdVEn7mHhRxm0+fZERHc969+nFenNIouvJEmmr/WbYZz3VMwaTMFzeZh/I5yMfO2sCWRubQZM8zwjga5ivPa/UpWsT2mem4SO2SCoAOrUPHyTdVd443e9DpOS24DdF81n4xyEuBGKZ2Pk46WdLEZJq7t9qSA7x6StFzWi+iO3ECen+cOvEj4Rb99D4qsnag== 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=MBoVh2cW9Np/RSbDQMFx6DinRYhxgLCE6VsqhDryzLs=; b=M1lPkZA9GQS7j10ChuTS/x638dNyRL04OxbgClL8FZQyb9azupCsV8Ybn5bCx8Kucc6fP4F4FeOJEN0hH/kTlCPyL017n0JMydBUHhknSannWVI8i7wfGlzWxEECNgkWnLxV/hHXoaMiRaN36nnWCLHT2/a3dLRgsjlenFJgdh5B20cPznITf3o5PwevgNlxmMq8bBfwX7NnfMl0ZVFW5HMgUGEguz4/SCOhuT5JfTShQXqjwTvzrb7DtOE7BQn8Bi5rUgDYrBAifgHLBxvfzZYQqDcMWzYkIlgwJvl56GhUAjrkMG5c62DpNjhf6EXxouY2GtCOOkxw2IJrHo6C/A== 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 AM9PR04MB8423.eurprd04.prod.outlook.com (2603:10a6:20b:3e3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.28; Thu, 5 Sep 2024 20:06:33 +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.7918.024; Thu, 5 Sep 2024 20:06:33 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v4 0/3] usb: imx8mp: collect some improvement Date: Thu, 05 Sep 2024 16:06:18 -0400 Message-Id: <20240905-dwc-mp-v4-0-aedaeacf0556@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADoP2mYC/1XNTQ6DIBCG4as0rEsDA2jpqvdoutBxrCz8CTTUx nj3oomaLr8Jz8vEAnlHgd1OE/MUXXB9l4Y+nxg2Rfci7qq0GQjQIpeSVx/k7cAraTJNhCYvJUu PB0+1G9fQ45l248K799+1G+Vy3RKwJaLkgoM1ZFCTIrT3bhwu2LdsCUQ40BX2fyMsqABbZoVBq PU/UgeyQu9IJaSktTrPVUYoDjTP8w+7TwfsBAEAAA== To: Mathias Nyman <mathias.nyman@intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Thinh Nguyen <Thinh.Nguyen@synopsys.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com> Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, Frank Li <Frank.Li@nxp.com>, Xu Yang <xu.yang_2@nxp.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1725566789; l=1558; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=/OavMWLX7l88fbxJ3viXlld87bMoMI9DZw4+2I94Kcs=; b=BthTsnJ9EI4PDlS/T5pPNQII9fHOf+c33yA2VBQuRRtjHdm7T0ffhScWrs+64bg/uehIRDoEs lwIjbhgFr3pDtb41LC2ttpl5NofOigMor8K3d4xNYpxgVXORrOtLChI X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR05CA0105.namprd05.prod.outlook.com (2603:10b6:a03:e0::46) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: <imx.lists.linux.dev> List-Subscribe: <mailto:imx+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:imx+unsubscribe@lists.linux.dev> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8423:EE_ X-MS-Office365-Filtering-Correlation-Id: 847f8a62-bb05-4b6b-0812-08dccde63d35 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|366016|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?lOQHbW0puFwkNt7LMC2Pzb8OtD6LzUW?= =?utf-8?q?r4ONl8QdAGRY//kYxGAe27HLUkTjNtgjoC221qivQaxcGYqvUfb6L4jLg0XzrxaSq?= =?utf-8?q?yk8Tf5oBZSOXIcmc9w45VAAzhdHTSutOySlSSAypfpwUKadC8gsf3RF5JFvlXV6oW?= =?utf-8?q?mXRxm8dhBTvtrTGcktLyBPRbcxniJRVUcdRhRFGpxSG0KEGPm9YCzDx017KcS4yjw?= =?utf-8?q?Nln+xYZdyimif3ffHUQAA+X1MVaDQfZdGV+b0FZ4GNIIU/GlORwkRm244VznEWqOx?= =?utf-8?q?982xam464bF1ppbBGFF9muXChBNEuHjS10Xb0N0M5JbisXwAvX+rf9TZFibEDH7f5?= =?utf-8?q?q3lpJrWbkvlJfmebLIyRrOEjjTAGEI1lyT8NIvOrgJjwy/468n/wG18frD91hV1ZQ?= =?utf-8?q?0GoDgSHsMk90F5HvXIfIMeO1FVHdfyko9PrgXkbjwRh4LKKdvaGekpckHgJ/1DWPz?= =?utf-8?q?WaRXAhFY8vnOfiPVm7ZUd2lPuj7JckuNe4T+dRAnHcKzIxJ787G6Akl/PKjH2rsPs?= =?utf-8?q?9q6v64ZsNNAremGW6XvhL6ZlGMYPG8rdDleTNhRxyO3n/xiFY7uyZdgSa0ctRaB2m?= =?utf-8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;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(376014)(366016)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?3VPI/tWeDFJ0rFgY8jFxp6y9w4S4?= =?utf-8?q?0F76v8N73tjgRHRKPJQ4JgE1dUXEQnOeVeXw7PBni0vgDAd7MpBJXGOBrMtFNTvgL?= =?utf-8?q?0hLlsRo5QXvWABdWCSVzLXeGjUm+nfT6LJfB5zYOY3jSvi0MreE3SaHF1eJ2Ysz5p?= =?utf-8?q?v6LlZ06yUxsPfu9s1wQuzWcWAJmU1cYppqXi7lNeKnnX8Izz2jN6gGPlD3nHmMI4K?= =?utf-8?q?nOnXJdt4zactYPKb5A0ag/eYbTB4nHp+EG2U3JDo3DAJlcZhGSnqqCpp43V9uRDgG?= =?utf-8?q?VnugaJFbE3UI4SD38nFogqLIbgVFJpgOwK+as6OwxxMxsV2nkK3eSz+bD+T6Y12kQ?= =?utf-8?q?5vSQ7BfsfkfyoHSUakiTHkdD5vC5Io1lwnzx0igh/5YNBKSV/fTU1Utv61yo/L3FJ?= =?utf-8?q?feCfKtvXuAmY9BYQjIvthVsNsjHtlWQxWvaKgEdZJ7UqND17FvGcJSpxGHebNKrLb?= =?utf-8?q?6NHIpSJdVtzf68rP5/3oD7FX231DRrapZkbLANAZeL4SPb+JIK2P/+c3wZ5VpLVhj?= =?utf-8?q?5LDl+nEaQYZtaNX+/xkD4z/cH2OjjxhL1nckNPVk5C50SF6hkuWa+GpoaaYisOF4c?= =?utf-8?q?egT0wbWIu1zBzQPYRmiKAOlo5JMD8vz8EZtJRSwSvhbGqi6/BbD308OzqoX72hOKe?= =?utf-8?q?kiUjIQ9iVO1JbopiOjp+Ozz6mN9Je8hdc5V4NvDQMLi+YubRulhoMj1eRqFdsXOV+?= =?utf-8?q?VsOjiE8lS7AxxtFEO35trcKG0yAbGPwxNAdcih+aZPBYb5IkDRzWy9G+cWpHnZcxH?= =?utf-8?q?elHV7S4z0zHgFk0rrDA7rMXz3X9cWkgNnpZ2HTnPUcpcENV57KVjVDMt7wh7hNCx2?= =?utf-8?q?g0SAKIg/0lWtOPfceQvCHMoDb6BX+QLlLMaaIbSn7IcZeeuMFM26NRXu3cAxiJ/Nb?= =?utf-8?q?7fu2vHZnOxEW1PyEdhL0/umQbzrsdZcJFwmx60RF8CHoEkcUepkKGTQe73QNh9JZ+?= =?utf-8?q?rpwh5rifdTtcILqGP02Qf4crca9cQCpDuFPAXbTn971HEl2aPz8i19tcGf5JATQZ3?= =?utf-8?q?VRLQfYVYg2bGRYX5C/uQ71mX2fpv2fBBCwHZZuX0GrOwr3FURzhGtUPTBIq9jHBiB?= =?utf-8?q?2GJtDtLeAilEU9hYKg5Ifa6oU66rrRazyN0mbv5vHNbd45zMfCJA/onlFjCFXNEIZ?= =?utf-8?q?+4DIhDdwx/6n2UMO/A9sXM/7y2B3BRqjkLecoapH3kxFSm5EZAOKdCDdPXpLH7006?= =?utf-8?q?qm+I9BBJcb2cFkFrqbCiKVMjyWWEkCEanbv1Hss1gcOxxhGddc5OwYnMg2bnxiq7H?= =?utf-8?q?LZNbwo30lWc1HQFSKc7/GJwEqr4PBlL7boIZUyTWRy+Ju8KMJn9BpuebM1HiLwtlg?= =?utf-8?q?60tiAL3pXHaMENINL8Z8w7wSrKobNueXsJjCl83lNUDlbpRX3GvsmzHRUXFyQth+K?= =?utf-8?q?1pklwk2ZjyYU60/3R/jWtyTyHwAIyC6KwsmW7ShVB6PIuFvKqLCwQN4K5QfSyhA0y?= =?utf-8?q?o+qVHMe1zwNz6ff9f3ymkZD3+zO5Mgicr3L5H/KtBPvoSS/GYycPVvDWP47uWejFt?= =?utf-8?q?OMr80df8/NWL?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 847f8a62-bb05-4b6b-0812-08dccde63d35 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2024 20:06:33.4129 (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: aSkcnZcT+nwIGfAaD0O0k5a/LiMiwWMOsClgGS5bKTV2xzbSZlzHf8RjdrKjUurEtij1mDYgS9IfTW869oSfYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8423 |
Series | usb: imx8mp: collect some improvement | expand |
Apply two quirk for imx8mp dwc3 host controller: usb: host: xhci-plat: Parse xhci-missing_cas_quirk and apply quirk usb: dwc3: imx8mp: add 2 software managed quirk properties for host mode Runtime pm and wakeup: usb: dwc3: imx8mp: disable SS_CON and U3 wakeup for system sleep Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Changes in v4: - Rebase to usb-test - Link to v3: https://lore.kernel.org/r/20240904-dwc-mp-v3-0-319947736ec0@nxp.com Changes in v3: - see each patch - Link to v2: https://lore.kernel.org/r/20240821-dwc-mp-v2-0-2a29b6a5c2f4@nxp.com Changes in v2: - Remove patch dwc3: core: add a core init flag for device mode resume The problem can't reproduce in latest kernel. pm_runtime_get() in irq handle return false because run time pm already disabled at device_suspend_late(). So runtime_resume will not happen before system resume. - Link to v1: https://lore.kernel.org/r/20240712-dwc-mp-v1-0-295e5c4e3ec9@nxp.com --- Frank Li (2): usb: host: xhci-plat: Parse xhci-missing_cas_quirk and apply quirk usb: dwc3: imx8mp: add 2 software managed quirk properties for host mode Li Jun (1): usb: dwc3: imx8mp: disable SS_CON and U3 wakeup for system sleep drivers/usb/dwc3/dwc3-imx8mp.c | 40 ++++++++++++++++++++++++++++++++++------ drivers/usb/host/xhci-plat.c | 6 ++++++ 2 files changed, 40 insertions(+), 6 deletions(-) --- base-commit: 9c0c11bb87b09a8b7cdc21ca1090e7b36abe9d09 change-id: 20240711-dwc-mp-d1564eec57b1 Best regards, --- Frank Li <Frank.Li@nxp.com>