Message ID | 20240207-vbus-glitch-v1-0-7be87099461d@nxp.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-57245-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2536572dyb; Wed, 7 Feb 2024 14:14:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVVYJV6XJhhzWtk3DGuV+p9FLY6dZB3rdREP+fzPx0euu3KMCGMRufE4os4sXi4IuC1e3aiHwcMcMmZDHHkvyFb0vRbLg== X-Google-Smtp-Source: AGHT+IHkAKyt1v6ulujYPwjq3C/cOPgTEpC8N7ll86QbQRHl9ezoAksKC1IM36J6Pj8reHa3c9/F X-Received: by 2002:a0c:dc04:0:b0:68c:a3d4:fcb4 with SMTP id s4-20020a0cdc04000000b0068ca3d4fcb4mr6188223qvk.40.1707344090137; Wed, 07 Feb 2024 14:14:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUeFQ3ugwzRvQCExeSt96wevvzeSExOGhzrUMs8CQXBx2y5mJuF5GM9tvM5SG0uZ+JVefUsxNJTJUA6qJxN2+J8+LmLBA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id er19-20020a056214191300b0068cbcf7014dsi1989105qvb.152.2024.02.07.14.14.50 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 14:14:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57245-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=J0Zvi6Np; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-57245-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57245-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DA7141C25C25 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 22:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7CE1692FA; Wed, 7 Feb 2024 22:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="J0Zvi6Np" 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 9481E535A9; Wed, 7 Feb 2024 22:00:48 +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=1707343250; cv=fail; b=Z/OpfRthd4eArzjIUQDUcH0+9Nf6M8UHP1L+1ncv1wSN273vQAE47VBuo/nR22AJ735TgmQXT1pX/C7hul0/fyGpUwIi/SFe3dOK7sBLpUdXlXGUyrB4Xu0w3h/ytfQBBoDAEHC/3hcqzUYfH6VkewjhPEDqozcr5UDOYF9jZGQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707343250; c=relaxed/simple; bh=l8XVtkj5V9+tIRv4w/ImrBT6vu1jn5/O6HMnIrhqD1I=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=ERuBOnK+76aymYM7epcs2hejlU6gU0ZIp7RIe18z2dZcAMaN0Vh/m/RCoU0fPBkEQpUEyyiJKAkJHCONE7bg1P8nCGx2xzscUFYT0P9q/V87sv91rO06TyPZ3URqY/CWj+ydCa04MJvZdjmOyMnxBq+PfxAnlEm7GQW6IH8NUp0= 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=J0Zvi6Np; 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OqvjWViKJ/F5pccgF09L7NHnLhK3i6wB/bZFziI3CtqvL56niRPxVFcYeuVk+5ToOSvdGXWq5LkGJGCSdlwqnkkMl9yhTllUNPEwc/BBoNewwV1HgNygK5iVVbHmntR9+cdPSTgqpF8pumpSK6AMPSciVLsQUFQsgW+JV3+FdPzprz0liH8R2d9mlsEQrB9OwY+7BtZ+t6dBBPe4EBVEQqOH1A7n2TMcrj0nWbGrGoAp7DLwBa1P3PlNwSk891mj7stCCF+/+ryF/ckN9fJEFzJ2wv6CSLMlhX29dMC2V5EZqBHqCpdTrWMQz/QfZjFGPsUkUli3AUqeJam2pCpYiA== 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=HpUlKynusu927iapLN/bLVnoIFO5fCR/l8kP+PZwY1E=; b=ZBupDu4dJkE1VOx4nocu4ulkDQWjVpHJsjWj1CQRETsKKSVnLnItRDeFrK67tXtEqG/Ag4UDPmh/Bcadx6hRkhMYq85lBrgvQK0pX4HbgMMQD7532/xgHYCwOB/CGWMpy04CwTz5mLutVQDQTcKPb2nw14BFAdPxjU/MZ2g4oxAw95XehzncqB43wMt1ETp6Nbjzt1po+LNsqMaPMx5rL6yQ1/vtpKdmzMBZlkusz9d8QCE7jyU4f09ieSMRVGlXX4XD2Xc7KLk/r5aCueaABp7DBOAFFeBGkD3q7gWDrUvcNUoLjjj6owvtiJNw9M5XpXuQQfitDch9nBvjn9OP2Q== 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=HpUlKynusu927iapLN/bLVnoIFO5fCR/l8kP+PZwY1E=; b=J0Zvi6NpOwWg91NPPt7WcoxNRzG+QTJ3K0VZn70/U9qnXiSNSAe3sn+gtcd1Ap+mt63PoybN8aCtQmPIMH52odqNLFqqS1IiKaFBdThvIU9WXlRBYpmIfTGYWdTNFTM3k2AMX0YP6MvoH0InfRA+aa+v13vRknVBl9vDLB1SEaI= 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:45 +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:45 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH 0/2] usb: dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk Date: Wed, 07 Feb 2024 17:00:17 -0500 Message-Id: <20240207-vbus-glitch-v1-0-7be87099461d@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAHH9w2UC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDIwNz3bKk0mLd9JzMkuQMXUvztBRjE4MUi0QzMyWgjoKi1LTMCrBp0bG 1tQCBwjIpXQAAAA== To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Felipe Balbi <balbi@kernel.org>, Thinh Nguyen <Thinh.Nguyen@synopsys.com> Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1707343242; l=921; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=l8XVtkj5V9+tIRv4w/ImrBT6vu1jn5/O6HMnIrhqD1I=; b=uKbq6JR4s6Hls1G5gv2QQEDTnWSnTYC9q+VArASyyxlNUzZRkslXJzt7r1/YvbzaQ6E0I8bDP f0Xvaa6OyBEAaOl//O2ssQT0qh2+lm/moOVUahlZs6hL9LabU0VskSE 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-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB7789:EE_ X-MS-Office365-Filtering-Correlation-Id: 11c33a95-7fe0-48f2-b67d-08dc28283c23 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8dz58lpCi1YadaSleqUizT1/Ud0xlm3DP9JwSJjwuy0uV9Z7IDZIA+qiwrYQwjebSp/5KBUqm4A8JC4wOFbPEoIfFArfSby6fLXVpkwRkIj+hOZgDc9FPWXLLbzczerRBbrzw46eY9UM7B81zCQlKao8jzWoRTIWbD9K3I/jqN2kmXI4tGYeDh5E5bAzGz068Wzq3N5rsbiEl6ddkiNaVZIP1Gp+5Q3iTcdtGvx7R1gDm/fLlmSRTtCQyselHlsM2ciwQyddn4VQ7Fo/1MQIjQQnNumSSpAwXDs/wPTtmxV9RRU3GVnzTSQ32jSXI1vCKBhJuUQ/pxtdWDOyoJHtfe0W2VU2fS8XWldciNd0eAsDE6an9KGf0+CyVU/79EgIsqAj2Se8itRivyYd2r2lFL9aBkaFgIbCBElna7dw8ci7obxYTpPzBoU+WwUiwW9AjUeSgO0/RtuoHzbopk5oS4pcQMnT90Q33b9hDW+eDga7IDDlVhM5eUfH/t5sbhrG3Y4aHRN7/twoZPRDTA+qXBQjVkeFhULjhQ7d1TpXhqLfVpKg8KoRWhlLxTLY7asCIYa6OdbTMHuqutfJsCJZDOdMInPr0t3eyz2IDWfP+WQ= 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)(966005)(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?8fbyQ9eLAvOfxWqTPLclQyCVbyMY?= =?utf-8?q?hCAc3aSkhyHL7xerYcCvvwfEudEuixl6n4dYvdzIj0jYf0uz4ypXbIUazEbBWZVJR?= =?utf-8?q?VhhSpqpeXpeC3c4xACrDLop7+HmKh3tIxRqFH3hZX3TxgtEdhVfiFL4E3JJN+fcdc?= =?utf-8?q?QNZro8k6AbJ9nOZ1Hwzgnlr76egwKz/yRbyxczei95TOdGxCS8iox1M4gBkmezuzC?= =?utf-8?q?MxQUMoRdSl0YUchvoQfOUgx0eMqkXCywmGrhBCpQ0M8u/Aq+dmhKPwxNdgeeXri2u?= =?utf-8?q?T3UO3MhufPnV7BxvIPiBVaz1hgZPh7K4Vu+/bbqFYkCHCSeH15xEqoBWkFGrs6T8d?= =?utf-8?q?WKZ5rCv/+9+B2G8Wewfp++kZUpII5QyPlEB/bDsVR64XKJFkGU6vjSO42zuHaXOJB?= =?utf-8?q?NztL1QEQymtgfPAhhKuoAZV2TaDChytscH8dXCg+QQGVkttcd9bikhR9zxnafe0cR?= =?utf-8?q?WkYBSbZG4qVCj9g26Gee1586y5QtfvHE3gxOgjamVh2q1+n8HJsSnCBiIk1fRX9Bd?= =?utf-8?q?MIf5VL27y3h9UCu/bQfvllQZQxxErSCQJK/XVxtHDnF+Zxxgzzy4QTkINJ6AJuIjB?= =?utf-8?q?2Vyyie59gBsbJzxsjEoZEJ1Nk3B7UmZdXjG7ZH14xw3lVqu98NGWNokWv2jgkvbD4?= =?utf-8?q?gm10b5ueNeFv+UtnSFSWgp6R/LDTm1NVWipFfURoU2mDnG4N0uCCaRCbdEvwYK3+q?= =?utf-8?q?WudZzkDdqek60x2oE9ivZYQ/p95zZ5PPceEPstmdFZsrgI0Q5CdYgf3lD1tsq0z2t?= =?utf-8?q?ceTLGaABxFVuD+hZY5rsi9iODvyi5jOhgEKQ9KP9JutpajeFqdrCOQXAFlBqUHLJD?= =?utf-8?q?XeeRAsxn5JE5jQO9N7WiUpnwnfqOspS7qR/mb1OUJ6JkDf+ZtdUdRvYULyvZgDXrG?= =?utf-8?q?1P6rpvUSwIj24A2OQ2qnMMgBJutcpPQ4852p8gmo5u/WU4XqiH6K/F+OacTu2JLH4?= =?utf-8?q?peu9Or9ZFMy394bhBRaqqbSn7Ys6dhzp9HC9YyRYMnY/A1Iw+7c12JAowa9Ox2VMH?= =?utf-8?q?qkS9l3x/leedF3a/Z8clyGMfd4wq+Khh18Xg2PduA6LL30qjZ51a4bhESn8y9DnwW?= =?utf-8?q?9tdw0GHbYaXxHGlEQIi/I1rA1qFDOaLrgFO+6+mr2JTnMU8mxdR/7aoTu/txgOTiX?= =?utf-8?q?ah/LsZXQ5HTmaK7glDhhEWiDgRc6I5SIzEFlCxdCBKKUy2rqWgDbXpO5N+hWQl9XT?= =?utf-8?q?s52PATyWhv5xy5SosaLR08iFNdW666Z5ZyR3mrQTzSjr5b+9Nk0EBD4jccXN29KBJ?= =?utf-8?q?h3j4SQ7KBuXC3pr1cQ9lr7Pz3+rnnfItuGdm4aDw+njWnW7OYqcN75mJQtXc4KCv9?= =?utf-8?q?EE4NeSoZq8e64BEkXPRC/I5HGTxiwU7EI3uv/BmcIgxBDHcRt/7nJLE1rsd57K5YH?= =?utf-8?q?bvcDX2tchbo7tqqIhsGOFPgujkwjmOxaMGYgy3KBoZXgvjx0pw8gq1oide+tyQ2b1?= =?utf-8?q?HK3jv9/Vu4jCHfLLPvXr4+DNth062K3T8kY0VngR84UmuhaUfEf4PxlU=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11c33a95-7fe0-48f2-b67d-08dc28283c23 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:45.3642 (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: WdqXTOQhZqtTkPt+Ni+EAmqP6r2QOOg8vtkd1I47nT9LEfTurFMFlmHfy90F6xHSZlLkKbysshZtm/too7Ehbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7789 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790280036675199349 X-GMAIL-MSGID: 1790280036675199349 |
Series |
usb: dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk
|
|
Message
Frank Li
Feb. 7, 2024, 10 p.m. UTC
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/
So submit new patch to rename snps,host-vbus-glitches-quirk to
snps,host-vbus-glitches to align dt maintainer's comments.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (2):
dt-bindings: usb: dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk
usb: dwc3: drop 'quirk' suffix at snps,host-vbus-glitches-quirk
Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 5 +++--
drivers/usb/dwc3/core.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
---
base-commit: 2ae0a045e6814c8c1d676d6153c605a65746aa29
change-id: 20240207-vbus-glitch-97fd340d8a66
Best regards,
Comments
On Wed, Feb 07, 2024 at 05:00:17PM -0500, Frank Li wrote: > 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/ > > So submit new patch to rename snps,host-vbus-glitches-quirk to > snps,host-vbus-glitches to align dt maintainer's comments. I thought the last comment left on the v1 was Thinh agreeing that a DT property was not needed here and we should be able to apply this conditionally?
On Wed, Feb 07, 2024 at 10:05:23PM +0000, Conor Dooley wrote: > On Wed, Feb 07, 2024 at 05:00:17PM -0500, Frank Li wrote: > > 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/ > > > > So submit new patch to rename snps,host-vbus-glitches-quirk to > > snps,host-vbus-glitches to align dt maintainer's comments. > > I thought the last comment left on the v1 was Thinh agreeing that a > DT property was not needed here and we should be able to apply this > conditionally? I don't think so. This is workaround. We can use this track which chip actually need this. If some year later, such chips already end of life. We have chance to clear up these code. Otherwise, it will keep there for ever. And I am not sure that the side effect for other chips. Workaround should be applied as less as possible. Frank
On Wed, Feb 07, 2024 at 05:14:01PM -0500, Frank Li wrote: > On Wed, Feb 07, 2024 at 10:05:23PM +0000, Conor Dooley wrote: > > On Wed, Feb 07, 2024 at 05:00:17PM -0500, Frank Li wrote: > > > 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/ > > > > > > So submit new patch to rename snps,host-vbus-glitches-quirk to > > > snps,host-vbus-glitches to align dt maintainer's comments. > > > > I thought the last comment left on the v1 was Thinh agreeing that a > > DT property was not needed here and we should be able to apply this > > conditionally? > > I don't think so. This is workaround. We can use this track which chip > actually need this. If some year later, such chips already end of life. > We have chance to clear up these code. Otherwise, it will keep there for > ever. > And I am not sure that the side effect for other chips. Workaround should > be applied as less as possible. I'd rather do it unconditionally if we can, but if you and Thinh think that we cannot do it unconditionally then sure, keep the property. Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor.
On Thu, Feb 08, 2024, Conor Dooley wrote: > On Wed, Feb 07, 2024 at 05:14:01PM -0500, Frank Li wrote: > > On Wed, Feb 07, 2024 at 10:05:23PM +0000, Conor Dooley wrote: > > > On Wed, Feb 07, 2024 at 05:00:17PM -0500, Frank Li wrote: > > > > 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/ > > > > > > > > So submit new patch to rename snps,host-vbus-glitches-quirk to > > > > snps,host-vbus-glitches to align dt maintainer's comments. > > > > > > I thought the last comment left on the v1 was Thinh agreeing that a > > > DT property was not needed here and we should be able to apply this > > > conditionally? > > > > I don't think so. This is workaround. We can use this track which chip > > actually need this. If some year later, such chips already end of life. > > We have chance to clear up these code. Otherwise, it will keep there for > > ever. > > > And I am not sure that the side effect for other chips. Workaround should > > be applied as less as possible. > > I'd rather do it unconditionally if we can, but if you and Thinh think > that we cannot do it unconditionally then sure, keep the property. > Perhaps I wasn't clear. I meant I agree that we don't need a new quirk property. If anything, it should be safer to keep vbus disabled before handing over to xhci driver. We should be able to do this unconditionally. BR, Thinh
On Thu, Feb 08, 2024 at 10:28:22PM +0000, Thinh Nguyen wrote: > On Thu, Feb 08, 2024, Conor Dooley wrote: > > On Wed, Feb 07, 2024 at 05:14:01PM -0500, Frank Li wrote: > > > On Wed, Feb 07, 2024 at 10:05:23PM +0000, Conor Dooley wrote: > > > > On Wed, Feb 07, 2024 at 05:00:17PM -0500, Frank Li wrote: > > > > > 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/ > > > > > > > > > > So submit new patch to rename snps,host-vbus-glitches-quirk to > > > > > snps,host-vbus-glitches to align dt maintainer's comments. > > > > > > > > I thought the last comment left on the v1 was Thinh agreeing that a > > > > DT property was not needed here and we should be able to apply this > > > > conditionally? > > > > > > I don't think so. This is workaround. We can use this track which chip > > > actually need this. If some year later, such chips already end of life. > > > We have chance to clear up these code. Otherwise, it will keep there for > > > ever. > > > > > And I am not sure that the side effect for other chips. Workaround should > > > be applied as less as possible. > > > > I'd rather do it unconditionally if we can, but if you and Thinh think > > that we cannot do it unconditionally then sure, keep the property. > > > > Perhaps I wasn't clear. I meant I agree that we don't need a new quirk > property. If anything, it should be safer to keep vbus disabled before > handing over to xhci driver. We should be able to do this > unconditionally. Okay, if everyone think unconditional is good. I can submit new patch to remove these. Frank > > BR, > Thinh