Message ID | 20240821-dwc-mp-v2-0-2a29b6a5c2f4@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 C38D8C52D6F for <linux-arm-kernel@archiver.kernel.org>; Wed, 21 Aug 2024 16:20:57 +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=0U1lh8osY1QawQa98SHHiK+Txh0mhs+/8ozaE9VKTN0=; b=azGigj4P04Svbo/6vwQiKXPybC 9sAl/AwbJvOXpavsLMGtfeNvpK5LWbniMemif+29rm7OnoqgdU0GUFNeNt/CePSMtExnp5wYoFsyp Vi2P86s2OhK1Zo7Rwohb9k8CbElRWVucg6Lq7sQqj3LWYn9JkMnfnHxbF8KU9brBLucg0qj8eufcK X++1RPXbdXfRObOBU8E9hCA29eAMGBhgxugZZcA+6s4dL3itcb2jzeY83B0wm1vXvhIQiphFf0P44 qYOF/7MNySM41F4Yg1s9B5oOxhLg9xcNNhs0YPo/hdDnKXfYz2KcJPmWkkT51IFSeu5QK81/Eeoo4 TZml+OoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgo4b-00000009ixU-2QLY; Wed, 21 Aug 2024 16:20:37 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgo3p-00000009ihX-1d8P for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2024 16:19:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=N0lPLUzFzG0kKRxg9mhh9jMBmUT0srf99Qknmxyz9lz1G5mDTknpmKSAXNsLwHe9ZldzKV0LBUUHLjcdhVqivTr/H4MMwgknEuI5nf6iOvDxE4j3NQ9g+JplAZv8XCkl4+Q2qpxa8DP0tf+NNWM5N8TYXxXzA7KGkPIg/PB+2NX6FELBqD3Y/MInyg4HxuWBjDosm4kqRq934N97e3ubZDLkQceT4U2Rmp83rsCMCxrFd2E9s6iId9JGwsjc2Y7MYJ99lqFvPO921lo+TVjopODRRRImMJSZWdHduJXQcvT7t97XAppJmtKkb17VlzYpheiQH1At/yx+Ws+/SqSJPg== 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=0U1lh8osY1QawQa98SHHiK+Txh0mhs+/8ozaE9VKTN0=; b=UjN+G21wQ82edXne8TVZAIXWPLO1R4eIKH03aGGURSqr2+D7mpP2W11TRURZ4RgiJkB0HbioFgoJHBnxPqZ3z0Y2ZhX6gNXEqDytJt/qVW2p0ciXqLDvFjSzjk5kXbJC5cRFbFYXyrq/LJ6owNHEsHYRc65v1me86eSZpMNimzgywOUF0zufLrOpjMHLd7Ijr1N53EK7dhCtRQ/mi6+t0aU5D/UuCRI9/aMHwZRDHaosIgxLHpkeFCqHcolOYNh7M6ohw3PGDrWXMe6ev3cnCaIrj2NVNkHdHebuqtMQ1l7BxBVU4jDnOWAYCDuconz9FTJzPXqxl7F9W63Ja0ZZ0A== 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=0U1lh8osY1QawQa98SHHiK+Txh0mhs+/8ozaE9VKTN0=; b=kBsJvA79x01IZ35QKI51ZNchIq4ZpUWCO7Sxm6Z/EqUe7thJoBN80jojARUImneo3QbD4ozQAEGdsT8T4Ru3lLyWcy512VvP4gQVOW+KTHeULhff6Bw4Yad/oJ+1hnDoMpOyEjQh/TJwxgMR0is4R+BOG3yOnlKJibi1KEbk38JIyAFcTuX4Z/hZOHF8wO8jngL7ONqYWvecwhHP/SFrQjbgG6MHc3HS+NgbvmXGAOP2fHjsJ5mdyNOy7oLg1FBy1aDZ5jnimk57fh5nrbvPl9Qw79x7zeSG9GNyX4Rrv8eKIXag4dx37vG79TSHMI/MdLKmiA3cLzBug5mLhYLCyw== 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 VI0PR04MB10999.eurprd04.prod.outlook.com (2603:10a6:800:266::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Wed, 21 Aug 2024 16:19:44 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%3]) with mapi id 15.20.7875.019; Wed, 21 Aug 2024 16:19:44 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v2 0/3] usb: imx8mp: collect some improvement Date: Wed, 21 Aug 2024 12:19:05 -0400 Message-Id: <20240821-dwc-mp-v2-0-2a29b6a5c2f4@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAHkTxmYC/zXMQQ7CIBCF4as0s3YMINjUlfcwXSiMdhYFAgZrG u4uNunyf3n5VsiUmDJcuhUSFc4cfAt16MBOd/8iZNcalFBa9FKi+1icIzppzprImv4hoZ1joic vG3QbW0+c3yF9N7fI/7oTaieKRIFqMGSsphPZ4eqXeLRhhrHW+gOJiIIAmgAAAA== 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=1724257180; l=1309; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=f4c8a9XMLeTOqFFqv7Q9Yu585Ee3C2Q9Dcc2VtUIJzI=; b=D6pl8oAOuKmtAWyUlkeP64UZkxrockNgaKvwk9apBQsD/mKEFxItCqqvUqlsdFQhrNXZ9Kd18 VVg4d+78yqpC+af7Vl6XFKKFt3MvQs+9rX7MHk+Eb/clKZhdVz3gKOo X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR08CA0056.namprd08.prod.outlook.com (2603:10b6:a03:117::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB10999:EE_ X-MS-Office365-Filtering-Correlation-Id: bb532f4a-aa71-45e4-1a8f-08dcc1fd1131 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?pWtxJDMa5YaFaUh3MZXZcvNrnf53zXr?= =?utf-8?q?FgZtOXjQLQ0DBmQN11ofwgy5C13BByfFhWPWfnA+YddjhNNaPfL7LnBIYyPeWFu7s?= =?utf-8?q?s9719oBv2MXXq3bLsrGMBoKqFlHdRYc07q0AAI0LplbgYoS6ZwMknsPloF9Ep02Fu?= =?utf-8?q?CE3eG/lIY4WZomWOcz3t+WTRmo5N4e5rhpM+dWnQpkffUsPFco39soipkuMbyCxWL?= =?utf-8?q?WjmgIXzwyHzVWyMsXxG61HsODH8vxhlbqUR2vGKTwGblo/fKitP5+iXMIV5gxbL6b?= =?utf-8?q?fEEyf0uTTy4laA8vdg4HFrx+f/nyWBA6Y7bR3vguucy98cTs04CrLdkNC+fcxP31D?= =?utf-8?q?g4hgm5ihu5Pc44AumD+uTkPNCpb4/4KisUjP4mfLJOfD7OSRM7k07Wt0itw0GGOUx?= =?utf-8?q?k+HHOrILvYd0arugI7nPH2OA5LOwClHkBIYZjph9qz1gXQU4ATnKixwxSXiMoCF2/?= =?utf-8?q?q0phV7aRnXkqPK/k9TupThNSAI3fzo0DILRRdWlhwZz5bEGkEMzR1pGv2CdO0O3dL?= =?utf-8?q?0ZpNS+lcsECGfwYyJG7HaU899oG7rd4ZxWim2CujLvKQ6xnldBfh/KKVMu1BlgFnk?= =?utf-8?q?AUqI22mqwWw//yq8WTEiC63HiFVtt2lV78OtWh7mwZNO4BBB0LVstdVmfBH3vIIx7?= =?utf-8?q?3RrOhKOBjNsyNUGUJ22s+Fuve5od0MFtr2O0EK2r2T0r4ptCKmJ8JttBxdopAujEA?= =?utf-8?q?C787OrGxcwuIqZwNhC1qz1zjD9F2ofhc0tPNajgk/+h5vd5nS33N7/+OSfqptKzap?= =?utf-8?q?hVNhFdVlxrCPPBRcRiMIHKbGprAd2Jm9+dfignwnUmojUS8/vI5sxwjhW6l3oM5yx?= =?utf-8?q?AjKdXNCf+2VmyarRosWU6mUMlRqXW4GKcaxGqfPz0RcI69pv53gz+c14sQGjx40Q5?= =?utf-8?q?tyb/0qHQ/eSce8c9UhgGwWf6DxM/epPreQdugS9jHLAUTo06MAO5JXbbA8goRudTt?= =?utf-8?q?/EgxSSAEDVYlW17/RtTbhy/b/1Xls3v2zpDzO3WNotDVBFjlJ2CaEciPqro+XusVy?= =?utf-8?q?ZpBgrocCR3loMMLDayvuj3VxeDJuLRPfqM+nKjfHLgC+72L+kU3WfGFO9ICInwE4v?= =?utf-8?q?ASmsSfY8CA5hFaxsZfJ9R1FFrM47yntjthfhuBZF5aYji9cBLfmfXPrOvuu2jSu29?= =?utf-8?q?8pYPxz7RMHbavidn05zexsOVsRj+p6EuagZs1dA9nFRkP5u54Jtet6EqWv/eocT0m?= =?utf-8?q?TXpqdAyAnhFOEivIJPACeSKGWzMW/Tk/SJANMtAVbX6iHjdHMwDsZcVzP0Ug5gtJi?= =?utf-8?q?0gynHDlZrWOfW/uj7CIqYnKdNq/fKCJhi1eY5EP3tcBC563awzJFFHUbZYsnnsBsF?= =?utf-8?q?qEGugisNYjoVrjJ2rPYQWL4LyxA/910/Ng=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)(52116014)(376014)(366016)(38350700014);DIR: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ILZKTqlET8TmSO+wO1JrCNR0XickP8?= =?utf-8?q?TO3TqLTiORhoSONOj4HwW0FQZ5VdyAIki3Ir5qL9ASjDGSXYyQ2ppBnQ/d8Y1zo/r?= =?utf-8?q?kDaQzkotbWAQ8+8s4WMLDkwObvcyc3gQHHSPSpJFW5PJuvPIFCaQwODCcXCJjPK+x?= =?utf-8?q?dUpmX4PzLYv7G27/OrqQbkeclqlVyRbW63FO5JgBm374Km+wZh+UEZiBHZ5O0hs2O?= =?utf-8?q?HrJU2iSn7+EHjSlDb8Ad3u4ZAbYE93+IKM9MUG/rXaHpS0RS+EMZT1JZhBPCrZjto?= =?utf-8?q?OjRJt//3pvb1ueYNh2dMy7uMtn9gYc2SJvaI2EArQ0P9jP8K9J0IgC/wlFtXWAmfz?= =?utf-8?q?FvUztLxlqBsABBeFOh3+pMPlPga4eCPg5R68UdxzdNe9AESCJoRYGh8ebqGxcef7e?= =?utf-8?q?1J8AW8DwqJHH7qxPKgDBhSOYGR5bh4ItVpuQq0G4X7auFjCvrQItEi8qGTW9EpGhc?= =?utf-8?q?sw22ryOAdkr1AIr+R19ilOfn6++HR2P6Gx/7fWim/bpq8gWdjh+nQXt2AhTLZuMJO?= =?utf-8?q?e6XOhSj8UqQK8ZrL0+MoLuAwQLEa5qNhxTnllny4TTsQiFiBb+gu2GoerZk/aScZ0?= =?utf-8?q?KnuMdQKTg90+aw92T7NR6PIY6EwOiBAUQ67Jzhm0eITcp+OrXOPH85EBD/Mw5r6lk?= =?utf-8?q?+CfcryfpInXq1umtZ6VCXDcr9L7XlhrS8/CwOgKWUtoOgxnOQekodLr0=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb532f4a-aa71-45e4-1a8f-08dcc1fd1131 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2024 16:19:44.0219 (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: YJTcJGRlyBIHZHeupmJ9TYFtQmJRaQBelKx9BAtvsiOo3+Yc0clguy2pJpnJgdIm4aSjtQBG0OjJxPH9QAvwQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10999 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_091949_501125_0E39F1C1 X-CRM114-Status: UNSURE ( 8.24 ) 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 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: 82313624b2ae5a943d16475a566b65c873989e9f change-id: 20240711-dwc-mp-d1564eec57b1 Best regards, --- Frank Li <Frank.Li@nxp.com>