Message ID | 20240904-dwc-mp-v3-0-319947736ec0@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6AAD8CD4853 for <linux-arm-kernel@archiver.kernel.org>; Wed, 4 Sep 2024 15:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: Content-Transfer-Encoding:Content-Type:Message-Id:Date:Subject:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=dZduGx+TLlh75toxe5f0tW0RgZ4kHMWhWW7zm7w1ZBg=; b=JZ7zO/DPeeojAgxIb2z6WMvOUD NQb9dtAsSbmQtdFduZOS5s4fQwvsTVT46PVXohEMYPLPLtpBlqBuW29nSv8owi53sCK0e5ZsHIlqZ djhb9wRWxpCNrkOuoWMAGW96t1l6jFO8grb6wSywFk8a0ztMYLGENSctpe2CX9NBCSn2ojp9W2sRC IAfDELyy711oUMCNxQ/k2OqkM3MEmWyEPP6bfpbueMu3EkMSZP7AJJs50RLpUXX1A7d3E2V59a38C Q6muifs4GGqVDoelOWoktk6MFA0MgEnFso0iaS9kNkXsjSYu4ACrf3v3Kg5W7RCuHaZmF7HR9L5c7 Pias0QCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slsHp-000000056LD-3QWv; Wed, 04 Sep 2024 15:51:14 +0000 Received: from mail-vi1eur03on20612.outbound.protection.outlook.com ([2a01:111:f403:260c::612] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slsGE-000000055nc-1ibH for linux-arm-kernel@lists.infradead.org; Wed, 04 Sep 2024 15:49:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VU4TpDtZxEFyoiLds8ipkSiq4k21ifExXl+8nH6f3/M5H/ExRntvKlkl+Z4RgejlVermchcPCn0SUpLKd0FfCwjK/ftK+QknulGsxpJWabLLwEfhpq1Yl95CXpkKgYQPk6rhAjAC8raj3SPSmyQw1X0sbl000eeiN6brVAvZ73JvYVfmIwxZvZD08zzatXO0Tus4aIX7NLFrQxEJ+jmlNTOd/7+La06gpct+VSIwcQszo65fs3fRWK8ai44s+lSKgxjBgXWiP0XvnvjKnPsETmOM3w0H/+MPz/VszP6XhEmdu/Ie2XcqhGOeF8hGAsOY0yJUN9GUKVI20km96jX+7Q== 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=dZduGx+TLlh75toxe5f0tW0RgZ4kHMWhWW7zm7w1ZBg=; b=WRwE5E1xdvniW/ZWN6NYTOi67EV2oYc1KijzgPgB9ITwLQ/8ZUfsEZZ6Qi9HbxRxJNVN/5QMO3m0eW106H3eavdoug89yffi0Ojwr9EYLyWGxUoWS8zSciM3aiZU+kr3pb4kiqoBoshHchWmim/DpXlh6F55iT7BI4tJFhXzVKYnXd94iIzk63pqs3H8SaqDsS4TNQF3mxe8MSgiVXSxLbj4jhgF+ZpN5rmwvCr2QHyhcAtNIz+iR9NZ/nppfE5dHdaGBPXMqYxQ/buo2Lhxcuw4WbB1Nhavx5roR9DIXxMUHt41V3HBW2a0E8vRlsuRJWiHTnVpH0BSPXFOEcNyXw== 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=dZduGx+TLlh75toxe5f0tW0RgZ4kHMWhWW7zm7w1ZBg=; b=iQid8nrhE5X/rhT9RXYqLYHhWtMQZVDJOaJomXeMDof+3KUqqPGSz+MHmH9orQnD21kPeBxDdZN/y0H1zLAGF9Xc9VvCqPAluS41aWleK0cJro6ddZGYmFK72dPJ6aPBNiHc+9/ueTkE/LACcHw1HVCJaxO9wQx89lTg5HkfhCQHtLv2v2r9pn+Beq8az2WFMUo1QdhaRJLeJa1172iJBoyJMvoKKHnwcq8/nq+YLJx895KeNcpc9Yh2lr3DZPOBa8DsmQcwjRintLdNEAEl9ZrT5mec/bU9cwwYkGLYHIzWGGvCoQA4aY4n7s86c0SJsNsyqNFOhrpP8i5TtFNTlQ== 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 VI1PR04MB9859.eurprd04.prod.outlook.com (2603:10a6:800:1d9::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Wed, 4 Sep 2024 15:49:26 +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; Wed, 4 Sep 2024 15:49:25 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v3 0/3] usb: imx8mp: collect some improvement Date: Wed, 04 Sep 2024 11:49:01 -0400 Message-Id: <20240904-dwc-mp-v3-0-319947736ec0@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAG6B2GYC/0WNQQ6CMBBFr0JmbQ0dWhBW3sO4gGGQLoCmNRVDu LuFBFm+n3lvFvDsDHuokgUcB+PNNEbILglQX48vFqaNDJiiSgspRfshMVjRSp0rZtJFIyEeW8e dmffQ4xm5N/49ue/eDXJbjwQeiSBFKrDUrElxxlTex9leaRpgCwQ8pRv+/wbcpBrLJq81YadOa V3XH5O29kfPAAAA 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=1725464962; l=1428; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=bNmRD3PplE6Pnb33HULOjgrM5HKmNcIatQzFsHXI4QE=; b=sdxFvN6I1yTQYBJxhvHPicVkSKeHIY0mVsKLd175MF885B7zLm7zJ7uoUlFKlzNS5OeGBHvfF GQpmmnogPYmBxeigOCwKyDVyquxqltpCNX2y8syc9R22wDa6N6/VfxG X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0008.namprd05.prod.outlook.com (2603:10b6:a03:33b::13) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB9859:EE_ X-MS-Office365-Filtering-Correlation-Id: c9153ccd-9e0f-4ebb-02e9-08dcccf9270f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?62MWv4vhnPreMeZepjnnJGyc6zGTgfT?= =?utf-8?q?rfR6vpykzoivcG7w6xEMXbpqMKp1XSyJB8F+vmcDmVzpDwrIWjSww09Fj7oHj5g1j?= =?utf-8?q?J3Wvnbsyg0mlFre+VIGYjGIAAmreRYGv6SAMIqgKJ3+lO1Vsp7wlKdol8PTpV42bp?= =?utf-8?q?+iVNDDTThe/BJeM2637KuMcwV7isF4O5xTcYNzTtkOrtGfMWnIwUwI3LHW7K6UcuT?= =?utf-8?q?Sdsr0yDG6wcGq7bVHpoJmgjD0lB8qU6NyDQBkjIVkyXy6NFbFb8axMTigYdDWR7dv?= =?utf-8?q?3vDEsz0UtY1tIi08O0TpeaXZfcMGeTWtWraq0wY/11zSE4dkORRc44CwOSxBV2dQ3?= =?utf-8?q?gIF/sY0SgPcbaLAUZJ0y0t3dTnMx1j+o80Lv0zucGadAt2EMnXT6cYSEjpQ/nPPDu?= =?utf-8?q?5Yb53myyFk7NoxOBCmcfVV/stSF7IyM8o55G23TSIkw/mJ83NzGcPpH7sgVcpvCEe?= =?utf-8?q?XFtE8/vgntBRiiLAL875dTbtbeoHkxn0lxifWhx8ceGMyvReNvSeH279gnvgZsQhW?= =?utf-8?q?jTIOLy9ytBDPxVBiHmiILCEodTRhaYRpJ86AhB7JYW/51iahWPGURxqvG+f/hym+S?= =?utf-8?q?E7s4TrLWOu6ZuUoTtkxiC+qOBd6tdniWrI1kL7AOtgSDZZ+sEgiQ8tlSv5xN1vRfE?= =?utf-8?q?v5qKrr4hsfTt4h8OSxy0XcoaNWUMDtfqOvHg8/TbROveR4WVP1nAD2dkL3pxlus1U?= =?utf-8?q?ExcdBJiFyIAr1ilsyhQpAiCv1xg7HxDh1IE/PdOxv046z+bvDp6R+LIJlKlTdhuLO?= =?utf-8?q?+fglrm87jcLWJRrOiISeAk9T3f8C+7LbbytzmuvHU5JUIZFeVkbTpVAJp92k7jZ8G?= =?utf-8?q?yAgPwknzhcs5iuAdD8nf8t0jskZ0TYH1QccxhgwFc/VaSFuwDud7l6XO6sctmHvU7?= =?utf-8?q?FdDikvMpXIGod9fSsjdyGF4icH85fVR8heoE4efmdi1h3gpjTcGIn0kmxY4CY7zLU?= =?utf-8?q?riktnPaMz2sWt5KAf6P0IUvCJg5269x1yerMrpChROjt5qp1G+KJ+JOKNIaDorhDC?= =?utf-8?q?AO72x4LNc9njm3T4Ls88KjZht8B+vXTVbmpqhyWoCpBXYFsLofceSM71QofkFv/FV?= =?utf-8?q?sAID99rkM/krybpomCTyvKGZuOnuIUWlolk8C3qi0YL7ne7dp6JDgGWnbfNWbQ0Sb?= =?utf-8?q?d+btnXimJoly9HllziZNiIcnzp1vGf8iDtSf04qPu+HlfEApojZKKQVoraDdgYEeW?= =?utf-8?q?shGmSm90NtncTGWTm1n/0g4cj2UgUFtEkQmvkWeP0EJzdcUMfN6iSxkyLn/OmWDqh?= =?utf-8?q?+dCdr0iHn/0mg8arnj4HRc3h2qr2mECG+u4bKkvxDnq/TatCqlP7YxcMtJJ+wKFyG?= =?utf-8?q?RbZBO4tNd6SSC/Sc5AyCdOmNqluaCXZMUg=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)(1800799024)(7416014)(376014)(52116014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?07ZnLPv1G9Btg8YcASsCIRV2xoQ2?= =?utf-8?q?y7lln9z5x8gwfz+n753jKtBFMO85FgQWmE0lEibwOMPP3Kwf2Md/dO0QcwcCkZdo5?= =?utf-8?q?7mouuxS192evZm9KJ1QaBE5Sl3h2rn6QMOpb0l75fH8XweO8j7C6ijfzkwdXuynYg?= =?utf-8?q?v4MenLhfomAprqrwB1bWoFNP0Ty8zIGZcnyFcJ/1nUECelXMBm+ZtGJmRutzICeTZ?= =?utf-8?q?I6AyS3I07AbrptmncT4GrSmvDz92YGoyw910E4ZClgk+j0eIxAPGaORnAAuQH87V8?= =?utf-8?q?X+Gya627KbH0LFP/UcAYqBOl3Ibt1tRf5Xh0MJAVdFw3Nzxurj2/2WVwg8vf0VFHw?= =?utf-8?q?ia1OfVeVBASIbzDWC1eQo0YS+/kpGYuwZ227JFm6nkNlK3/rfGv8ZiH8cqc9LDEwK?= =?utf-8?q?1P9tCp0Gjckqekah+v+7mi0anSpeDBmAhLQPFXMgPhBWa15EQ+mH5LjmWr3HxBUgY?= =?utf-8?q?G3fErft3rV35AU+vDKe4jFqfT3ozUSNhsZzWzZxdSYuRby3W5wa737H9HXHy7FT8p?= =?utf-8?q?07RM3flRY6j3EU5Npk1+6fBAfviw/UV+j3PFHCiVhMzZG8xfDgaVCNrSyhQ53zlyp?= =?utf-8?q?PjO4KCLc+QDszXEKS/tUa+HVEOu1TrZ+6GPx1+xNZtD+yH4DVNKT7TPwGeJpPe1U/?= =?utf-8?q?SUg+Bd92F/yDzuyofgjQp2FHOHkqw5Bh0D5Ofpha5c8xJkTNyslnXKKi1F5rZChbk?= =?utf-8?q?8/b2eErjBA/Nw0J0WKmGAxk2tJ69ux2f50sjLn3xNMBTsFRgVRvv4Itw7hgof0hrC?= =?utf-8?q?UfjjImiVYncrOstDQMKAOHcpgwNe3QtyF7BYsG4OzBstOSGn03OCVsx29KsbUVNPf?= =?utf-8?q?FgaajkWIb0mV9984zex/7PGrTm4sIM+gDTdosthRVQu1MQB2weD4KiZVXMffJD/08?= =?utf-8?q?p0g/lXVIEDxATeWYZGEAc+2HixqrvOHP+oYeJgB29Or38bTaURUAph/GHcjdWRmua?= =?utf-8?q?4bH4HHFO4FMsxlorIbsKH3/0ykvW9/z8m+tcqQ84M2f3LmJy0JoS9/8RNFbB0VtLb?= =?utf-8?q?lYZW2tybx0voBuZ5ViSomHyLoQD9TgFEXeiLF+FnB1Qb/UibjIlo+AW+NsQYNscTn?= =?utf-8?q?AiiA1+JZGq1/STyFuvxT3DfO+TJMKwPLpx9NAMcEbUzh10BXe6wZ32et+0XnuP2lg?= =?utf-8?q?HN45xvgqRt5J4I64a9xvahVfXsJaDOzaLfa8iua7zlTRRUO156OWiJ68cC8ZjdC1E?= =?utf-8?q?PzbweIaw0bIcExj+gesdEhm6rqcGgzFVNUG9e23aYeYvoQaSTeg0zDpDxKHYnE9+N?= =?utf-8?q?ztPijqBjx6zewXylVS5fD2frX/JcT0jn+UiXO0/3+pxKh22MCz+Eqn53tzpvDu5+z?= =?utf-8?q?UHnYj4yheb3r5ofFOqvoEHhffbyXabBcZsCppeB4n2nRoE4BuURKRVdpZKtkzJ1L2?= =?utf-8?q?nMSZuSaurEsb0aE2/k8EsTTc7jYlwkjDyhtFgVIFqjmC7pZb2WPJbIbLXN+MaaiSI?= =?utf-8?q?IPCI+c8XCcHF2EK510CgoSgs63WpnzDTZNyz4jPS5sm/11Z83WSlXpIZk+FK1i1i+?= =?utf-8?q?I0aFzcAZcoOK?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9153ccd-9e0f-4ebb-02e9-08dcccf9270f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 15:49:25.4931 (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: kpVDhn3Uty47hnleT5bJqw7nhV9CQn17uSE7r4KFXDnEn45PkW1zfHuIiw0bQiSC8D2YnR2MbMnNjJaBan430g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9859 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240904_084934_496259_986772E4 X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
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 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: fdadd93817f124fd0ea6ef251d4a1068b7feceba change-id: 20240711-dwc-mp-d1564eec57b1 Best regards, --- Frank Li <Frank.Li@nxp.com>