Message ID | 20240906-dwc-mp-v5-0-ea8ec6774e7b@nxp.com (mailing list archive) |
---|---|
Headers | show
Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012009.outbound.protection.outlook.com [52.101.66.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 3B98C1D0DFC for <imx@lists.linux.dev>; Fri, 6 Sep 2024 16:30:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.9 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725640256; cv=fail; b=aSitZXQ7b1dqBfmNbHVrjCJuJCPWjsJRBVt5kdpV54X/aurXndd3O+5VINVUykTifPS0Ayj1tw6ENF09A2gDBSPILLmlmDAwLVBW74oDhpeDHa9EVXrzu942cNZhXapAx6chIW/KkZ68WZ6qQG9vYhRqAu22XJFfQRjFym537iI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725640256; c=relaxed/simple; bh=1y6wKuY3lLivGgUCZ+enzjVmHg1X5T9f98D9O9FkOCY=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=g/6RMgkfutZQleWFHbZpHntkmaSIjmjzqfwhuTLJDy2Xh1WaoNJabN7EAVq1HP5imYAElMxLzWO2AmdCZJVkK7UbOI3UV63Uvr/WGAvZ8Vhvfk3Ay//WDXZtX80Vie/ZBSu0m9zLk6yjljg60hSJCr0TPbb3XzrLT+G06m+Nvro= 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=ctYyrnru; arc=fail smtp.client-ip=52.101.66.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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="ctYyrnru" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mwwBZ/jV5/9GhAy5ZUF1W0cdh+Q5NgsX7jYI4SIOh+s2GC0ca3UxAiA5v3RkyLcNJNjukU/3NeJ5Jcud9vuDQ4jsZA53iOVqOs6G1gmU+maL+hh2x2rYAOyRPlIjzMaKURJkebgUxoCiad8ev6Jcsg1URUbr5+HEdTXUtZKPV5awmpuIl1qUne2zsJBEk4WbPyKNGFvdSRJfXaXtEEsOgxog0NHX9+rkQwPyZRu5mkwmxw30dMDK/kulleOifrt6un4M00xDadBmxifFMiXzl4lgFzrHfQt23VwkZ9k/D218DdmLQgPhoUbgRGrb8IrFhObLYA+4AEShT1xmPOXoFg== 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=A3PyQ3OqzY1b7DWAOLQk2VptSxdMIPCGeMHz4/TfjGU=; b=FFNEcLsDVh+YjlxtawlJ7nxA3wuZUj3KcnXk/uFQ3L4hwASIGkfn7DqF7glH01993/NCarRc0ixLX2Rzb6cvnzxXMbmZPGc+eLJP0SfdOqB7ebIHZnCUU7TI+gj1VbBGSdqO3cOoDY9GsrUrh8RQ5MCXUdhazl/ytFcx1E50ddcz4I0lVHvcH8rOTXVwSPETYn6RRmofe21vbFdKnygwFlzDBrfKsXhFu4lsp1K5dKJmYsstkKIRpcMrcm+ads8aXSqnJZoBZtQ1nulY1E6Pd2MNGE54yCuk3W7Orze/0WkagcDjHpLJZepqMO2S0DZdtiUEoBLFNZUKuoZRbmn70A== 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=A3PyQ3OqzY1b7DWAOLQk2VptSxdMIPCGeMHz4/TfjGU=; b=ctYyrnruX3egUprKvv2wieDvsM2B2ixzV72UxzOeqUn/ESp9a+5alo51sLUH0ozIphQD5hXYZBEK0e6/pmTJfAiRJbqIhg94/sQ0HW81lEoIvJMoScfDbaKOk52O0KZNRWvpTxrhcoWlmUdXYfpD9XcL0NZVWXDq6IWISkMR1191n9XHJM7p24lY92VUjsah0UEe2WQUjygqLVVlr+V7QaxTeGicHs7YD7abUZoaqgTjLZfeTJtRNrSog71TcbSDlcQvcZcwdMX857WO+Pskr0gWkQhpc82WxSJ5m2PQPkcmYae7AE0fC5wYUPpuBHqqnww3SgjVxFWADkDCb8L4lQ== 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 PAXPR04MB8405.eurprd04.prod.outlook.com (2603:10a6:102:1c2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 16:30: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.7939.017; Fri, 6 Sep 2024 16:30:50 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v5 0/3] usb: imx8mp: collect some improvement Date: Fri, 06 Sep 2024 12:30:36 -0400 Message-Id: <20240906-dwc-mp-v5-0-ea8ec6774e7b@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIACwu22YC/1XNTQ6CMBCG4auYrq1ppx2wrryHcVGHQbrgJ2Aqh nB3i4mgy2/S5+0kBu4DD+K0m0TPMQyhbdLA/U5Q5Zs7y1CkLUCBVbnWsniSrDtZaMwsM2F+0yI 97nouw/gJXa5pV2F4tP3r0416uX4T8E1ELZUEh4xk2TC5czN2B2prsQQibOgI678RFuTB3TKPB KX9R2ZDTtkVmYSMds7mucmY1D+yvwhXZBPyXHj2VCrEbEPzPL8BaoN6czkBAAA= 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=1725640246; l=1672; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=1y6wKuY3lLivGgUCZ+enzjVmHg1X5T9f98D9O9FkOCY=; b=OG9lyzt7B3drnyGvTaN6R9GJRFwCvk8INdFskUsCTexqIXZIbyvqidLL2lMAP+3trmCsAf16S H2YnvAssaEhB6apDwZJ5uUJzKtHv6BPZNYTluD7WkdUL/Wrx2MB0vUg X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR10CA0016.namprd10.prod.outlook.com (2603:10b6:a03:255::21) 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_|PAXPR04MB8405:EE_ X-MS-Office365-Filtering-Correlation-Id: 27a88bdf-69aa-4c77-9515-08dcce9144d5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|7416014|1800799024|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ZwsJqMabbR6V2CAT0B/VV+Qcavp3tZh?= =?utf-8?q?Cu+C/68Ho7TbYqdhjl11hT6qvIrJFRiQvlc8LJ2e71oMuFOUZLlEBMPe96KpVeYn/?= =?utf-8?q?e71bEAJT3OtKq2fU/Ep2Gdk3+f95uyb7Tcjt53Yqo+SgW5DIzPqeDekkKrt0XxMeR?= =?utf-8?q?tH8EQ1BeVIotQZFpFAYbb4Nf9yRfQX9jEJ/HUH8IRscXKMKNCmINBVgKIHBa5vRMZ?= =?utf-8?q?9j3xv2JqV0JZNYMp8+nEPL7tTrW0FpZ9MkMZ8O6vf9hsYF9sil+B2Ays5QHDIEc/K?= =?utf-8?q?EZg10GS9GGhy+Movz/2T0W1eGytm+PIkAUH66y6/F8dsxMo65EHO8rkJMXnicOJGO?= =?utf-8?q?IySYU377az7PcIpaMl9qYc1JnN4vV8FkV+xj0tshYuilnDTFdVM5jKTWQfFjPUg+m?= =?utf-8?q?ilXBGXBW6xA6qQZ+JurWYV2F90GpEJZpe7HHDpkhAfBmDBnLlaqbBobw/nxcDxr/g?= =?utf-8?q?V7nh/r6tx3aA9VZ7Wt2FKpk76pCikCaDPcO/d8qG8Y+u6LbVwQ4goNhUWItU7noWA?= =?utf-8?q?fRLReX7FiETreDKR7yGFr0gHVMP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M;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(7416014)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?uUpManR33YsN6UTa+23UOCDmNmLh?= =?utf-8?q?T8Z5U9j9NmNJNAaDrZMUMY+Ii5jHKLq+RjK94lmaSJxqFARsT2ATmi61b6Fh/87sK?= =?utf-8?q?2U+HdRFF3xueJR9uxGSn89YTC9EUkS5B51iP3PAUHinJckH3wXkewWLjfJFs11J30?= =?utf-8?q?O99z5v6z9YNE4ztiCQ+yVZca00D5S1Wq9b5cRV9GehikTUn00WJ/sGZduUknoBe6X?= =?utf-8?q?TqAEhxVi8bf4tfKEOW1sT7LmbUYxj1JGOpcaCOsAk6BkrClKCjTJxcxq4j8Dhh8u9?= =?utf-8?q?QigSv2+HsWI/KjXKkPa5Q80bDV0FCoLfsrlfexncZ4r2JC4TA4zUySTpfJFe8DU88?= =?utf-8?q?RcTJBYX252th2Lw9lc99yeQWHcoyVe63yxpOHqzbWBPjWvcktUlgC1hCtksYniVxY?= =?utf-8?q?/HjjS6pu9LBTK+KsUsz0JnuPBKmk6kYNJWQvOjfNGpw9bppuFVV2pKzVmirbv3X+w?= =?utf-8?q?9AvWWSJWLkIL4PDWHSzAtoEzXlb4vQstrUshUYKC0AYgIyMB7BOgCNuenlwLjtgpj?= =?utf-8?q?S6+G+EsectKXIDC/BNubv27fQbvslxuTpXO+XeTPf1flqqNSGfJr8E/CfdUot3Qzw?= =?utf-8?q?v3p02rr6YkJynXbJ0jcqR1Popwey0jJemjTigdRSdL3yFRaouJ9cZjKoDQNk2iGS2?= =?utf-8?q?dX06PZLSBZzEljEqLM8jdlndDRwekaoV987OZ+3na4g1Y0foI0xR6eVSgyOlL8CQx?= =?utf-8?q?e5ylRVEL0NQsadoyrocRcwNAO6sEHyRweHwvixLtrMmSOrtUVW+zSAoF922SeS+VT?= =?utf-8?q?V9g74DJFdbePIfEF6mVYjAe67xlW6xYauEHn2AoZyMEGQKRltdjhthYbo+rU46Bu8?= =?utf-8?q?l4vOT3+fErYyOZUicc2/ZqPrrjGJlOhOW1yW3WjYWDogNECINrhP/KsseOhOfGoQ/?= =?utf-8?q?m5Cg/d/gGKLiy1JtHyIo9LunKcVwY8FvERIWggCOopQyZ2DOad13qiSGgAEvo7pW/?= =?utf-8?q?t8OPMAnOwJ7wVcIzc06QCzcrmVzgo2G4Cc/llXIIJe2u4OPX8ONGzfzeAyex3+l75?= =?utf-8?q?lZfkIDvmfulueb51AX7TG/k36eWIBgWUWaLz+r1WREcywmGulMAgcONfWXDN3Z2cD?= =?utf-8?q?lKKcF5ODEPJwMQRtrXgwkoGScfDaaSh/yPNXJ/DxNIZDdjTCI/n3Y/I4bMLAlPc6B?= =?utf-8?q?CFEkEKmuWJGmQ4XO1KqIQ1PGWh2tZXDiZ51npwygHPtLPuvzNDzVVWivwnzDfRaiT?= =?utf-8?q?DNwYAiiI3JTiqOLl8vjbLoIQKX4qbeGWPjv5qjKNFJe+NTn84sxPVcXw0dBEEoDDA?= =?utf-8?q?UenlduAFtj1DLCZWIf9bLLemzv4+V5p+43hnrV4RGpLF5kPWJCPG1K4mPmCZP5AeC?= =?utf-8?q?s0+iJHbjfyfUdQA5vw9oJGrBo0B/KWHVdcJ6hxFgo1tAgfap+Alx/95m8Gk+kCtzC?= =?utf-8?q?ccKNqo5mN2E8B5y/OwDj8IHICWf6NFJLpFCioshN1HXx70sRhK6GF3torEjqph/T0?= =?utf-8?q?X714KipkEHk/iUdBNQHJFmlt2hZxEW8EDxrIRmNvDAoqdihH76kkGmmQuODxklOWA?= =?utf-8?q?OuGI4YR0kb50?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 27a88bdf-69aa-4c77-9515-08dcce9144d5 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 16:30:50.1915 (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: jJKWge7FFBAdyi+JIm5NS9w61ldM5kWR8h62D+mCeTj7mATsv5y5fpw8W6VNxxxGNhTlae4nmmeDQFzLoAk1JQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8405 |
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 v5: - Fix rebase error - Link to v4: https://lore.kernel.org/r/20240905-dwc-mp-v4-0-aedaeacf0556@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 | 33 +++++++++++++++++++++++++++------ drivers/usb/host/xhci-plat.c | 6 ++++++ 2 files changed, 33 insertions(+), 6 deletions(-) --- base-commit: 9c0c11bb87b09a8b7cdc21ca1090e7b36abe9d09 change-id: 20240711-dwc-mp-d1564eec57b1 Best regards, --- Frank Li <Frank.Li@nxp.com>