From patchwork Wed Feb 7 22:00:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13549121 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2041.outbound.protection.outlook.com [40.107.7.41]) (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 21BC4535AC; Wed, 7 Feb 2024 22:00:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.41 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707343253; cv=fail; b=C/T2SYbnGonHPH49imoDPQG/IzSEGxnROMUk4BOcLrUQ++lbzy1wcZ/220eaYpntFzjLmdl+N4VjUMIs8/UFzgpqPSx7tlXyzR6JZbH49ZXrvaHGsBzlXW8v04z2eLndzeyPYyQ6yvMxiQwh5+dQ0txwlG2CQMsZ7PIuL25bnGM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707343253; c=relaxed/simple; bh=ul9Or8qT+jwK2TeYsZYZ2R+FHoVBsgluV8MmtXomwpQ=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=lWfsrLjxRXRPSEtybLOXiwNUBS0t8T1sq4/G/l1n5mNkloyW/fjsE0BOIYIhksp1Tg0jyz/TU94Q1YqoJffa+X6Fh6FJK8lFfAKfbKU2DnwSgCkDtxSUJlMpAWwi6PNTpfO9rB0jkBv4NEa4c9Kt0FO5WvqDhmSlSUN1M08VQ9o= 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=MsSuLiOc; arc=fail smtp.client-ip=40.107.7.41 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="MsSuLiOc" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Omx73qlowh+fBtaS5JStVpKoN+KsHSkLh+LzWcYs598zSUZF3n9f9DzxYk4fFSUTeYOEaGSaWDSa3AWclY3dQD0LkzT4Cn1f2724w+/0XKl73Q8StWO5/ZkYHOLYT6bK8KeVnoyvRf6PXhaUzWy8Vi0+1rutgDJEl15TdjLkvur19psaTyyHjHbm7G7aPbxTDjXsCYy2Yt7Uw13zffUkVg66aLr83AyMeRPIX62QWvKF3GJUiGHLKmGD+BCQuhGAIO3zFgOyMS+VzPH3re65/v5z86x2gFOWLyih/a6lHEEaAN2jCHYZbGqnRgED2qO55FsW2tzMFS7Fx9WpxVg8Rw== 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=e0H3e9iuTkZup/+cOFHYTblxFmtuWoULDapGHoWCu4Q=; b=Tqf/hAoFbAZVTReX4t8/vs6RHi6yYBVykl0h8i4BmgryOl9CKOA1/sH1O14gkebecS7eMvJqiRFR/gcpHdnt5D7RGl6QoBCzr3u75wRNqtqzxV+3RcPz9fnklQ/Pd8HH93H0nmPFTVO+YRrumfFI2GnWXnHFh58I/kvfA4GgfNQPPx+rE7/b6v0ve5k7s+EGsaTdAPMo446fIubwiG3NjyjPtAjUq4Bkw4Vj1G9lvtXa4FySgpNnegw6jsDbkaOd6aH6bN8PPScN4gll2KS4rU7wgn022GfkVcEihj/61RpInsNbs/xZZvEV/9njS8wNQylp6QLatWqzQ3F0qMAosQ== 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=e0H3e9iuTkZup/+cOFHYTblxFmtuWoULDapGHoWCu4Q=; b=MsSuLiOcI5wmoJ/NUYFA5DqjI8b/JXu/ZR2HpTF96wGaexK9CSGI619CrZPWXKgdFnlsQ20bI/gCZ0tS8MXiOKefE+aCAUkFOw81c12QbqAOsp27MgenvzqtvqpO0/4Kwyc7ERYUiWthB7967trKwbZyRM5AYli55BhjKwVatTo= 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 PA4PR04MB7789.eurprd04.prod.outlook.com (2603:10a6:102:c3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.37; Wed, 7 Feb 2024 22:00:48 +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.7249.035; Wed, 7 Feb 2024 22:00:48 +0000 From: Frank Li Date: Wed, 07 Feb 2024 17:00:18 -0500 Subject: [PATCH 1/2] dt-bindings: usb: dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk Message-Id: <20240207-vbus-glitch-v1-1-7be87099461d@nxp.com> References: <20240207-vbus-glitch-v1-0-7be87099461d@nxp.com> In-Reply-To: <20240207-vbus-glitch-v1-0-7be87099461d@nxp.com> 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=1707343242; l=1161; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=ul9Or8qT+jwK2TeYsZYZ2R+FHoVBsgluV8MmtXomwpQ=; b=33R07pIoX6cpWqJ6tyqWbIZpu9ZfpWUZIPm1tgxWMqgXy72tITvuAS8t9ym7xQ7LUHOEhlZ5K IO1PDB3epIUB5poldyawe4NDxvtGFKyehfOnmNN+BU1xbAnsSOPUEQ3 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR02CA0001.namprd02.prod.outlook.com (2603:10b6:a02:ee::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_|PA4PR04MB7789:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c75ffed-3dc4-476f-35bc-08dc28283ddd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yHAtXFU0X7bDBbnXzKpPB3zSmsiAl4FGW/fCUrAlSa9vCIwjbslixwfVILmdGSNZ2z43njVwjMBpv5X902nPgAkIzRrQJ8PR9ZUDH1Vm2O7Z5KJRc/ijm8Nh4cUounA8MtOJaKWOTypgf15Z8KblQGNjKgMMaUGO5GvI8ziWwuKu/by5fH30hKUco99pxofj2D+K6YPTH1Lk7WPj1Xh109PsIUR4Apql7T+0y11wsJca89ReZdZqVIB32EKyUpaf29RAGLY9EhsNt0xMbauE4321+eTYlYthZzKuzHJ5M3eZSt9iOEKVoORZbQqp0dQJldwCmkXVrG92OAvGrZ1U9hmw+xGiQTQoNNitSqei1TSIATH+6jQe95WRiWxvZGzvPOtw6iGsnEeUTNz/MACepXbGA+aYj/GVrIVqQrAQcdc8yo2gJypD3worJdDKTSLqdGs7bOgGBo3oF106lqskZhLKZZPSgPklx/wcBvWwmMG1ruPNMdRKPtv0bUjRjPeP7X+k77PID6Hd5Fbr73GZ0t/f8Xgg2PyHMwIpuk1W9jmvGmfvzoEu8MxDecieD9vWXoYs8NzGZwtR7Qp2QlEJ8+UR7TUL/yk9CCC4d400snwsxHfah2aalBXca+iYruHO 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)(346002)(376002)(39860400002)(136003)(366004)(396003)(230922051799003)(230273577357003)(1800799012)(64100799003)(186009)(451199024)(52116002)(6506007)(6666004)(38100700002)(83380400001)(86362001)(26005)(41300700001)(2616005)(8936002)(4326008)(8676002)(6512007)(36756003)(6486002)(2906002)(478600001)(7416002)(5660300002)(66556008)(66476007)(66946007)(316002)(38350700005)(110136005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VI7Cu6Pken6nwRzpYmegA9qzGUnF?= =?utf-8?q?RSX1WOfBucd6kHQijDsWyzbQqYc/jGxP3JpVB4DLd33fPGuwkKTeKXiMcU5ueqBSS?= =?utf-8?q?oX8U4kVLBlkpEiLumi/Uy0+rEJc37uV5ri+F5I9+ME9b+NJxZA2yO84aUov3v3Nav?= =?utf-8?q?8BkQWCiGce+njsVp2ETXIA+8E7ATkpWILXeSrU1taWe/6uEJnzl1T0LPx7gril0gY?= =?utf-8?q?uZr/aBRd9BYYC+LLEcUisbjQvL6ydcmT1O9fceo6VLEEMmBfK5IRIXlR04GiKvILz?= =?utf-8?q?Vav1DeKtyHeADCOSzaZYe8x7H8RaxjZS7s5rRsbqJUOGZEYEiWK8uK2QSJKmqqUwT?= =?utf-8?q?1o8K4HoXVRyIQ04Jt0Bhz9GAACmRC6uHLsPEMrwrpUbea536j7vxoWT2NZzlNNJub?= =?utf-8?q?ffnyi/z50eAMlUVALdCcQvQ9u+xDI4yoa2K4XCaWPAtJHTNYTdESBdIQGLySgFPLV?= =?utf-8?q?91KVgavxQk3kVogDnii0elr4Hx7Kh/ZQX2c6Tvmg41Y27NKNC682jsAAFexW6qOwi?= =?utf-8?q?6Zy2EkSZ6/fgbqzcB+1KtUfeO8vleVKR15ChIxpIL+tHKAA9PzjThpiqALAC8qPrk?= =?utf-8?q?qYVSIXGzk1WfNLGQV6es6/QT/EtAImXPhUpM0SVjjy34eq8lSjEnUIAUD7C7NJ8YW?= =?utf-8?q?wDW0cyOBxIRd6f3WXSn/Fcp9w48XKT2iP0bzhi65XgKQH0ro9xXQqGUm+wsvtqkJ7?= =?utf-8?q?HgjGkZFUQ77HVtDqJoFnVqhd6aX/bzj5I2tmh7PVD/frLHS1/7b5Hv4lqcdqlHjRW?= =?utf-8?q?Jgx63koCXOR1E7A6uU/STmQwdjAu9vhbjj5pwVYt3ilLZj4eEKaTmTtr+026kFK+O?= =?utf-8?q?ylwQuX4QQgdbq957zaSCtD1cyOnTjxASP3xPMYOQZ3sdJLPH+m72h+U4qQXjJxfdT?= =?utf-8?q?flCY211ux09Gikw1q1vjVFgxWekeOGQo9WWKqzvkMfPHnX0GtZr4Mjh5U3Yyq5W2q?= =?utf-8?q?YsASRHQQ4kKmZ2FRn2Qk0F81yffkE8s3MHpbtI1DbLBLmwSYak2eg/UKx25r+OrQ1?= =?utf-8?q?z0YRkZiq86qBVTJ715R/Vrws9y5vZ8bt3PLbvW4z9391pgnUpBM14oJNAPOma4oPr?= =?utf-8?q?3DA2zNUsnDOuKjoL2AoxiEUCvUfby3bBF2PaH6kANczAXM05qM+upCWK2745hJ/Gt?= =?utf-8?q?e1w5Vi0+hr6IqZm1bWoJHHYTJUh+qYUieNopgfZloRJX+lVfKERtSIiz5uczcS1pA?= =?utf-8?q?XzoC/f7mJ8GRRh5djisisELx1aInNK1vIXDyRDZWeKy2+jJqqwo2lVAXJNB/SBjO4?= =?utf-8?q?3T8xNIAKBF2UM2FXlPK49HBqRH+eVQKx27MBXSk4LCgOaWdoX044xGxeAWnpsjgi5?= =?utf-8?q?mPlJBYozZLDF03vCfGW3Br9gEJmxxoVO22AcQg5KwpSX9p1+XjP8PLcMK/KO12lYO?= =?utf-8?q?wI+ydBlZqveZTu7MBLtsiAum6a+6YyDd4qyKBR+YGhdBNvoPLJKVMWsBz1VAtE2UW?= =?utf-8?q?ITrM1IAaCzJiU4qof3mr770TEbpvldhXmK+DLWL2CeQpqbwArMraS8pU=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c75ffed-3dc4-476f-35bc-08dc28283ddd X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 22:00:48.2076 (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: sGRV/Q+IT21TDr4xBwXa2GoPmn3Rz0QpHeX3uGlC9vLC++CLMdq1q0zi+3wcpXoS369BgBpg8+Om/VZftUsyuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7789 Rename 'snps,host-vbus-glitches-quirk' to 'snps,host-vbus-glitches'. Just describe the problem in the binding. So needn't 'quirk'. Update description. Signed-off-by: Frank Li --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 8f5d250070c78..6685e6579e64c 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -273,11 +273,12 @@ properties: with an external supply. type: boolean - snps,host-vbus-glitches-quirk: + snps,host-vbus-glitches: description: When set, power off all Root Hub ports immediately after setting host mode to avoid vbus (negative) glitch happen in later - xhci reset. And the vbus will back to 5V automatically when reset done. + xhci reset. And the vbus will return to 5V automatically when reset + done. type: boolean snps,is-utmi-l1-suspend: From patchwork Wed Feb 7 22:00:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13549122 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2041.outbound.protection.outlook.com [40.107.7.41]) (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 6FB4F535BB; Wed, 7 Feb 2024 22:00:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.41 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707343255; cv=fail; b=J9aENt+KpYo6CdjX2/CAYQejlmH3go41h+6O1KQgl/7Y8zIhQpgmmt+5splkk5YW5ElqYG1JnyF9vDjCXrNhb8Q5kvAn2pR0rua7xwvLa7FBFHHIzZeFjCO8VvHxywMgTHuSBMMRIZSM1Pl5do0ffkluWP0xhosZ8L3NpUHwfYw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707343255; c=relaxed/simple; bh=q3kBIvqlLNLx9k8njpsd5vd+axiZwyxUW7mUgD6I5qg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=fQsBs3PvmsgGE8Zsnurct1aZzkSzh83nVhGtJCfnPgOb3wq/pB2VkouVgB6KjOLLfmM4SfEqwa2VcCX9CQvsftMXexoJ+fiKkRZ8M+qAxP9xOH9TkbiAyheytk843eQOe8hiI6hAEaGjLikXlyXumnpSrQI43G19GU5bS1B5kz8= 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=rGLguKMl; arc=fail smtp.client-ip=40.107.7.41 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="rGLguKMl" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QPfKVsJ8gM6zLigJhSA+hlh5ynHsMXmuCNNTCG4UI8mtW+TxxMA/iNpmGiqfkKCSsGQEuzMYCa52wAK8nekaS8eLQxqXD7ivufvpmQaA5CViFAasTpKSTRT1yCkE3c4/L04EFl/dijYplW3HhnnTjPlVkVmvtr9/jtmYQ3R79Cl6SENa7aGIfJBQaGtZtB6hpO+MQuSkp7j5hpAWqrju5fYWMFqoE2fvI2U+/VjhcCiPaf7/PCCr3SYicsawOASaP9A0BHtKTdMvz43Xm1BeKY4MGw1+MX7cboSnSLMV0+YeoW8K/Q4iL+sfbi5xz58sDLOSSMGZTkTQZAWtMECjiA== 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=47PDPRsNGsJa5a+l/UT+FpQe4puJ2NEHOpTZ3lhuWQw=; b=hqitYKxrDEpjrpq1aUnQv9FRZ7b5u5lq5OHHMO76M6QDmZHbnMmMvCYScCOLxSe5g/BaxwM0lzyX7qN08iQ2phRNC2I/rhu49PUDabl68wtQwjRMy93pKLkodMLunXVgQcRLDbHMavmqcYInf4LHy5C2fHy4Mcca7as6l/aujjxAKOQq+44gNiXGhZAfJh9Pc9UchtfshSc3yc84AREQqxxWapfwqC8gxDJE2x1OYS9nl6VqjYQKnsml4zsvNP40GOSjrSSoYhEKyw3k87zEJYLCl99Apq6tLGkiJK14JfiDYaBzNVM8rQb1XgIIE626Tqr1UEmLExC8L9m4Wz072w== 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=47PDPRsNGsJa5a+l/UT+FpQe4puJ2NEHOpTZ3lhuWQw=; b=rGLguKMlGeXHPSycHG9abrCggHp4NbKW2yqH0yNuLae2OAmC/oP/KjaiJKdr0ld9Klg0tCqE5elolBgvg7cWwPfUiyxkcy3tdd8/caj7EUvnjrKkNuzpUcP1SBdwdyvNEgTIKBU8zQKz44oobOxGTz8ZtmsJGR0kefwkXlTKgGw= 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 PA4PR04MB7789.eurprd04.prod.outlook.com (2603:10a6:102:c3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.37; Wed, 7 Feb 2024 22:00:51 +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.7249.035; Wed, 7 Feb 2024 22:00:51 +0000 From: Frank Li Date: Wed, 07 Feb 2024 17:00:19 -0500 Subject: [PATCH 2/2] usb: dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk Message-Id: <20240207-vbus-glitch-v1-2-7be87099461d@nxp.com> References: <20240207-vbus-glitch-v1-0-7be87099461d@nxp.com> In-Reply-To: <20240207-vbus-glitch-v1-0-7be87099461d@nxp.com> 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=1707343242; l=880; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=q3kBIvqlLNLx9k8njpsd5vd+axiZwyxUW7mUgD6I5qg=; b=MtKLtoUe3mwjkktJg1/uxeQq3wvHNjBEPN+yoWPGPZrkiOSxvj9N3vlly1aMDKUoac+V6OmUH Rf+4/UpnsY3C8Pbj+xzg29YU6ExWMUbc28tRF2PL//26DigroykmITE X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR02CA0001.namprd02.prod.outlook.com (2603:10b6:a02:ee::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_|PA4PR04MB7789:EE_ X-MS-Office365-Filtering-Correlation-Id: 396928f5-7222-4024-44d6-08dc28283f8c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0SdUAl6AJbdBwkrBNd9TZG3VSWxRoFcTlf5ys4k0xY2kXYsUFGLcqMg0VesSEF9zvuqMZudJEQjfHStm5+4UejUuFt2WV2ADDdKRxGKZOnWC1BCE7W/bHIGKGtVmH8w8KBQhwapNz6hTc4fwoHNP0nOqe/SpN3hrPozg8EeJzSp4zm5KAu26dvDETUqQEriL04hSkCrUr7XRsTuD0EBDgbku+c3qi3ZekvmuMbZxVT5Aztz1bNzCqZpEMJDxVcLesr+6Jj3hP8c1RBJmWjnucY2wcE5AVFro0quj7qvgjonQovxXWW7/8EFq/5XoU5NwHe/Rn4PtTESztIW7lrSA29wIh/QUw3cNZWdCiJg+b7PEjhso6auGUKlk/t3xcgn4dqBG8FAEpgJChEZ0ZhGA13N5/v7O5g0vxYDUQqNaWkqgPat6w/1FwFLF2IliVSRGvB9twHrgHwMz9oj5bYlpnbWTLqKYSbxt3WDi5G8nTAZVe0Q8IH4C1OUzARy/5QDrm/Xd7UOUiy9K+hFfKTvYBhsoQCPzGkJozzVgL5zEm7my8AWyXsATn4YqYZB2PIM1G8ARCfURPRCtALR3OvMsVU+gKIXZ7EoytUz1TIMXGjcWo5mh4W/GuAQIg96zi3F4 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)(346002)(376002)(39860400002)(136003)(366004)(396003)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(52116002)(6506007)(6666004)(38100700002)(83380400001)(86362001)(26005)(41300700001)(2616005)(8936002)(4326008)(8676002)(6512007)(36756003)(6486002)(2906002)(4744005)(478600001)(7416002)(5660300002)(66556008)(66476007)(66946007)(316002)(38350700005)(110136005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?HUay1tY26OATZQR4E+IYPxqSSk9y?= =?utf-8?q?oAdVcrCEQgDzQLLVF2FBQ1Bkgw6lt8QAtbmgyMhKvnPZPEQLa3F36Fo7WbkyYq79Q?= =?utf-8?q?r5viahvxMbnvg2I6khfsHTskcMv+Xi/bIsYegTsfd7rS6QNk3faRWheOQg9fhIPge?= =?utf-8?q?Dtt4TICF6yNYdUCGSeXyzsKtLQhI1jMDzg0/Y0ic6sprbLq5GrYzcJnY4myYg/6iz?= =?utf-8?q?R5BaM7JZU/IwAeny+ZX4B+M7sCwh7d8Zv40w3OLLJFdabhsqoL1OqF9I2jvXmUFYr?= =?utf-8?q?7mRnBFMRr4U9YcGUq6SPHKguJsgNlI668Y7mbjnFZSnsQ9Kil2l9kc94ESmKm9gVV?= =?utf-8?q?W0t797Ny5YpC8LL4N5Zx7WdEtA9chSGfOLYx9Fy7one904Cmhqhtyg+RW9/rjwCnc?= =?utf-8?q?GfC8Ivco+JgsWjSCvtXMfbz2bK/aBQJ38J9EruVtJ5wyzAnwbS0eTnnlwEy3foJ7r?= =?utf-8?q?PvsFNleUbEhhXmy6jorGlAi43RTGXI39Vk4j6iHCtUW6p1w8LY5PqDWtuGNR9OMcK?= =?utf-8?q?lmGOP5AyOlno+mVR4xyyB5/I40BQJqIAPzHhHI8Yx1JY8NLJM39DtP7OMXNZru6IH?= =?utf-8?q?QtuKx8ELaTo8w+lyDepr467/Hhe1kLb44O6wD5VamGoYmHx0euzOpgKDOod3srj3v?= =?utf-8?q?g2GACzhw5KJlVF1VSPCVC9u2vufwfFLD7UfNUYiFrXu0RBAHB4qPOjX/9RSyhqkCz?= =?utf-8?q?8/nMf7M8/eAOoRg/lRKmNvBFpxqqVdpH7NLRl5n+/H3M3wD0mI89Evb0Mrq5aeHqp?= =?utf-8?q?FiSC6jmFumiSqEOwZ6X+/4/KE8lWbEKH/I5KYcPpudgPOq2B0uz2k71yfcC03m8N+?= =?utf-8?q?S+t8QXwcp08bWD6fqhOrGCQkVjDeUAA2+NGg0srQPhngSYs5Ag4pIKHwiIlg43w/d?= =?utf-8?q?vpwpyUi99iIsPesSOWV++VcsK71vfAWlXhlzwYUeYH7uoLzBBmZ8DrvQT/P+UsoH5?= =?utf-8?q?GUm7721ql0QQ0ZvlkBHmdv3jyxh/b4KsDeNkY//+ubBwhyQSJyL6NKd1y2WwGgSiA?= =?utf-8?q?HUJ4EGoN6lEV/80aerNd6fIm5ah7Hx/Yr2fQLZnJxV72ITIkau6PCsxY/Imbu8Sen?= =?utf-8?q?dx21kG8POj3gIOaxUDLrS2hiiwbGPJbwYyKZ/pJla+RwAOpxfdhsQ48e1vQGMakyE?= =?utf-8?q?ccTUvYPvxbnaK/yB/OPN2jXErBql1YedZy5zw7ze/hJfDDLWsimYvghDcvU59XFkH?= =?utf-8?q?O3g24iS+biTYv6ZvWwyI7sTLsWOtQSCL1LIHt6cjt9ZHl4F/J2WFfdXQYEkHgaVS8?= =?utf-8?q?tt05l1zLiuaUvWYoNuZHDTIaraaRaEXuK7i7HALXKJ3Gj5OO/wmPtxGghsdSkSIT5?= =?utf-8?q?gjN91KU+SLGzy+KFobTiYQ9rReVGR8ISqVW7q2ldmVXWNZG0iuOFeqzDrWDZXnHf7?= =?utf-8?q?NcO/x56yRcRscX+g0MVCuYs7xqk0fHLw0Fhm4pEhGKvtTNfBGY2/PtJfDdDlM42uM?= =?utf-8?q?8PiwZSRaEP50qFSTMWvpEbB3LaQoGUK0zA3CUS/yazQmiJUiQeFkWbQ0=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 396928f5-7222-4024-44d6-08dc28283f8c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 22:00:51.0499 (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: KtcAVxe+Ut0D5Hh/T7eHEbdlxYjUH2nFOVw1i/tTGfXGr5hs1Ukm3cwAp4/kf/HSfDtl05xFCW12zHkJluzSVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7789 Rename 'snps,host-vbus-glitches-quirk' to 'snps,host-vbus-glitches'. Just describe the problem in the binding. So needn't 'quirk'. Software implement is workaround, so keep variable name as 'host_vbus_glitches_quirk'. Signed-off-by: Frank Li --- drivers/usb/dwc3/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 3b68e8e45b8b9..2536b567efd56 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -1627,7 +1627,7 @@ static void dwc3_get_properties(struct dwc3 *dwc) "snps,dis-split-quirk"); dwc->host_vbus_glitches_quirk = device_property_read_bool(dev, - "snps,host-vbus-glitches-quirk"); + "snps,host-vbus-glitches"); dwc->lpm_nyet_threshold = lpm_nyet_threshold; dwc->tx_de_emphasis = tx_de_emphasis;