From patchwork Mon Feb 12 16:19:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 772238 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2058.outbound.protection.outlook.com [40.107.6.58]) (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 842F43D0C6; Mon, 12 Feb 2024 16:19:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707754771; cv=fail; b=TjZiDqdnk1XCxrsgQT6qbVb4+QjhvKVshCRriJvinFB/h422ghaRxHJYvBdZg3h++a0nd0IPTFOL56a+fRDWjgNXBZcgcTQ1gu3E+odx+r1OSFHJ5X2Q29cKl6xblEP6QYMX+MwPc4Lu04o/39QWNhJx4S7PEzW6QllDtT8MJWU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707754771; c=relaxed/simple; bh=4AreUVs8qbJPazFYOwry+mqCqgNHwxJG1zEVSHH/bYQ=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=auSqujKPAlDJiK8CgWZYymECSbSP0HLuxaEpGYFlUfNImYQWTBEJzs2IAIS1d4+5HuOjySBTl21I6vn6kqWw0rc2JQado6nqjr/OjyT279ynkRmORKQ8ywOHQ7Gqm3i+RFFQPy3IBZKaBdEpQWw83SNhxsHkLrQzXf3Sgdr3XKk= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=HfXfffhr; arc=fail smtp.client-ip=40.107.6.58 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="HfXfffhr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HnZN89JE9GZPeJUTebRhb+uGI6L2dPwPkSqUF+tbMQBKJtggeIq+7rgE2TfXgef+5wTQVciUsX3NZCKLx3VW9O3ZcSEZysy/YhYfhNxJYLvw7AMkaLNDlY7EGYw5eTvUMPGVCFdpsB9jZjDCM33rflfAfTAyFSxcfoH1xaYM8aWBQ0MesS1I9IrQLWQdzhfN8lBFSNTrFxTGPbmv+HXhPSHrgldwibwecaLtWPd+e3qH2dMUg0lOXi0i5rB60K83KbzfPwtxDkqP+PqriSCWKWi4yur7UuniHSyI0EYAKFng3MQOogRhTMASEAPbXRqrIYmErzfBBABIyYQG11eg3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=APn133vps1qZVgRAsZ+ekprpeynA9N2Q4ns6Q/jpOJI=; b=ScX9v//6Hy9CtMnYP7CscMskMnW2DdbaQB5swcH6YKE0ELtgjNTZcI86BHjj19pr4X1sc21mVg/ej+lYHbCDrPB4Psde90He6QBwGNDzSIuJPiroXwNAQRZntCwC94w3T2O9TWoaTGyE49Ts3dKM8vWB7idz1HDxrZ7ldiFXKk759a2DeggHh+JPFYzVsrY4YuA6hze1rxjWosmg65BVgF/D5rSVEKy06jC1TyDRhYAvOV80hKQdsVBoG8utFu31lj/DSzcrbg3Af4fo3efF04KH1PAZ6d033VttNL5eZQCu/2tJoDTxgJm6lJo0/i++nWfRvDzK3siepPACXPraVg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=APn133vps1qZVgRAsZ+ekprpeynA9N2Q4ns6Q/jpOJI=; b=HfXfffhrWE87pJeFKW0PJOo2Tvw5Ld+8DROVBKezHeqNuZX+4OyTvQn52PdzXaZzMopKGSQ4JSGzJv4pLPizeUaLmgwQ55C6Ws10hO4CumaDpSvbUk3wphAfOzpecyuOfquHHXGwARRDxdDxrJKS9V8niKddDNSF1QtH+mLySB4= 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 DU2PR04MB9049.eurprd04.prod.outlook.com (2603:10a6:10:2e4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.35; Mon, 12 Feb 2024 16:19:26 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c%3]) with mapi id 15.20.7270.025; Mon, 12 Feb 2024 16:19:26 +0000 From: Frank Li Subject: [PATCH v2 0/2] usb: dwc3: drop 'snps,host-vbus-glitches-quirk' Date: Mon, 12 Feb 2024 11:19:06 -0500 Message-Id: <20240212-vbus-glitch-v2-0-d71b73a82de1@nxp.com> X-B4-Tracking: v=1; b=H4sIAPpEymUC/23MQQ6DIBRF0a2YPy4NUgLSkftoHCig/KQFA5bYG PZe6rjD+5J3Dkg2ok1wbw6INmPC4GuwSwPajX6xBE1tYJRxyqgkeXonsjxx044oOZsbp6YbhYD 6WKOdcT+1x1DbYdpC/Jx4bn/rfye3hBI52U5SpbhoTe/39arDC4ZSyhe8BzimpAAAAA== To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Felipe Balbi , Thinh Nguyen Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1707754764; l=1420; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=4AreUVs8qbJPazFYOwry+mqCqgNHwxJG1zEVSHH/bYQ=; b=fBqD+wOOusIHV3mCsqVjf525SLFsdDSgejychMLRnwHv2Sas7S6t9HCdMmednpaqtq0nbePpw /udk6V0gATgC5Xf9hrEK2/cKhWIJemmYaq+y6jNNP0dTv8Tj5TCWxND X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SN4PR0501CA0001.namprd05.prod.outlook.com (2603:10b6:803:40::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU2PR04MB9049:EE_ X-MS-Office365-Filtering-Correlation-Id: 80574769-29a5-43fe-eb18-08dc2be661f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vls2WKklEyOIV4mMH93d0VDBadhBsxHg9Ys2YegY/W6+fMx9M1w0FPmpoR/jrDjJh1wPGgtkyyF09gM1On3GzdIHnFYlcI5heuYF9EbnAUs+FTVfrTP9sswhOPP0LD/OLABAMl1uVTDJEwiwpP5L780wdqcvXeLD560sWv6X8yb5XTGzi1miOyecj2Xnfgxn3WI7OrbFpAKnQzkblhp5bBuHurG5zKx3ZW+9w5m3cQJ6MnCzf7ZfKqH5cpJn0WBvkTRYYGwbIuVL6IoIP0Ln+dFVq4Gscl79faKyBE7rhqdJwRY563SZp7jf9UX3R029t6wPTI5wqpO3gyNzbbkPdMlXURnJHOzqD2zGAQXeX3i1YGY3IpCdA4sr22t/AgPyztFrBV28M64lAkz1LTTCwlrAI60XdqdwSGBc8IpIxN642tt3z+okjPvwkraRD3rncgcMH8QKnRcp1+BXd+rdWeY+tJdJ3EEYX3/cnjiE5fuc0GuYrXkHdXi+SSv5D4P+3+c8wwL2qGVUZ3cu7S3n5j97K8LpJ6cbLhYKLbGiTLYpdq7Td+qKAfLv8fc93S1a+RGPz9+CqBdEj9A1esrS2YMHpzfg1D+UtAmu1WPC1gs= 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:(13230031)(376002)(346002)(136003)(366004)(39860400002)(396003)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(6512007)(966005)(478600001)(6486002)(41300700001)(8676002)(8936002)(4326008)(7416002)(5660300002)(2906002)(110136005)(38350700005)(66476007)(6506007)(6666004)(316002)(52116002)(66946007)(66556008)(83380400001)(2616005)(86362001)(26005)(38100700002)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4Nrhalzm9LcdI0vGxVNAp/nvS7LO?= =?utf-8?q?rNCqcpS4avtEKgsQAsTY2eAJ9HA9ZwqCcBnsmg1oEl8s4pa2vlJGnKpLb8daabPji?= =?utf-8?q?Sd4P0pB450hjMuF1bycJIyZMlnff1joKRZxMvMy44gnu6h8v3iAu6+rjozYcxoZTN?= =?utf-8?q?V5Hs3GDUTb8HR6Qhh+jGAb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oBMkt9yGBPAd7gRd64sglAcJC+G1EIb?= =?utf-8?q?quB5xLao7exZTR26J7FekS7/83ryj5tKVl4/kmFD3IC0kFOVo1QGFNlYTxSBY4anM?= =?utf-8?q?lmDUdXmR57Pv78XxqE93jsyWLbFcGAGyqwlg65IopmGh0rzUnTqtrIOKFGTf4aECb?= =?utf-8?q?rWi2xB5bpwbWS7x9o+74SdHsoCwPnRlzZT7F4assSGJAOYDPFv/iA2hicLCWclWHh?= =?utf-8?q?J/1FLMJBw65kLPJ+N6W2uK5HC7QKx1DKl4fLrVKTEQwkowXmr6XzEt1+g3ymmgRc6?= =?utf-8?q?ezxoqcX4PS9+VjOXNlUpZYSH+weJsWzz8IVMxYYw3srR1HcA1KKD72MZgjTlmFNZw?= =?utf-8?q?ownSfPCgvDglkv0ls8/pNvtXEgeGul4ZXdzICb9BKlewM3mOtwBeT5QNlgApsKuUN?= =?utf-8?q?+EawPykpUR2kllEZb1eekSsmzupAI/5JUaJtV+D3AW5Xesq9tw6NXuLY=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80574769-29a5-43fe-eb18-08dc2be661f1 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 16:19:26.6405 (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: pNIfAoKJH7MQBgvlR/3CGKeGz0jbByZe32p/l7p3navU3rZeJg6QrBTeW1CZNGePd9y6w6PAIlDNDAv1YoVHpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9049 Since dt maintainer give comments at old thread https://lore.kernel.org/linux-usb/20240119213130.3147517-1-Frank.Li@nxp.com/ The patch v4 already merged. https://lore.kernel.org/linux-usb/20240124152525.3910311-1-Frank.Li@nxp.com/ In thread "dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk" https://lore.kernel.org/imx/ZcVr05vAYsObrrRR@lizhi-Precision-Tower-5810/T/#t DT maintainer and DWC maintainer think it is better to apply workaround unconditionaly. Drop 'snps,host-vbus-glitches-quirk' and apply workaround unconditional. Signed-off-by: Frank Li --- Changes in v2: - Drop 'snps,host-vbus-glitches-quirk' and apply workaround unconditional. - Link to v1: https://lore.kernel.org/r/20240207-vbus-glitch-v1-0-7be87099461d@nxp.com --- Frank Li (2): dt-bindings: usb: dwc3: drop 'snps,host-vbus-glitches-quirk' usb: dwc3: apply snps,host-vbus-glitches workaround unconditionally Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 7 ------- drivers/usb/dwc3/core.c | 3 --- drivers/usb/dwc3/core.h | 2 -- drivers/usb/dwc3/host.c | 3 +-- 4 files changed, 1 insertion(+), 14 deletions(-) --- base-commit: b1d3a0e70c3881d2f8cf6692ccf7c2a4fb2d030d change-id: 20240207-vbus-glitch-97fd340d8a66 Best regards,