Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5935249rwe; Tue, 18 Apr 2023 14:01:00 -0700 (PDT) X-Google-Smtp-Source: AKy350btLDwWRitdDdgPns7KdISHk6GPdnF1POlAfTvxcKL5dAWM2U9g5J8P0PbSCbFSejJha1Zu X-Received: by 2002:a17:90b:1c82:b0:23f:7666:c8a1 with SMTP id oo2-20020a17090b1c8200b0023f7666c8a1mr842858pjb.18.1681851659750; Tue, 18 Apr 2023 14:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681851659; cv=none; d=google.com; s=arc-20160816; b=a4qfItYrjNX1Id59w3r7Pp7gryP7eFS9z+g1MwmnxS/T32W5WpzHAH0QzEwlyExfti 6FkzBYnZSqizTQ/gfnyq1mPw8EU2GI/Ox2VX4ImmXhNSCbBvKPuD9F4a7io8hhhUmR27 qvQYPTQyafVOloebOkayCgSbOcPDElemJy7Ob0sRK4XzlfNgdhvzzpUgcpDZayY3URxs dttWvsjOgtw+rF8+wnXcZL8EPG/LN9uS8Upi5OW7YBBijgMQUWz053wiEau9kwOufCbC PVgXN93pj2deMlIgGSktMKzolhAW2Hds3koE3fSSLEcvmxt0Bl83WMR5FqOOesKM8KD1 iKzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=2TrYUm+T8Wd2bLJ7okaAZD89A3g+NG0oDzgzaijoDZk=; b=DzTF4c07OXO7bhwHyddZyhmVetQ+F7v+sB8K+oB/ZOmTF4tS+fLj80tM50xTLDzBMP tEq14yVvj36jrppqCIOVxU7Tq3yrT1VU2Qpp/gFRF9eqyVX4QzZcLO4UwLBeN6xR6zoI HiA1lJT9JOQNpYNODIwQ30+ZxfsfrC3uVLCYBXmm0lokTYBessWiqhE2ktFJ3OXlsyiL v6KfrhBG80nOo0MyvkQGy19ZI29TYerrn614Xl84K8gtVtHPp8CzZYMrmaUXentsq8Ib a7o3djz7hCh6dx4MRM5OE/05HTzajxO5bkBtTF8czI//JGO+JUqjRKQRrteK+WELDp5E it+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot3-20020a17090b3b4300b00247ad6e4188si60783pjb.51.2023.04.18.14.00.47; Tue, 18 Apr 2023 14:00:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231538AbjDRUyA (ORCPT + 99 others); Tue, 18 Apr 2023 16:54:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbjDRUx6 (ORCPT ); Tue, 18 Apr 2023 16:53:58 -0400 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E51A01700; Tue, 18 Apr 2023 13:53:23 -0700 (PDT) Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-38bcc5914ecso464174b6e.0; Tue, 18 Apr 2023 13:53:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681851178; x=1684443178; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2TrYUm+T8Wd2bLJ7okaAZD89A3g+NG0oDzgzaijoDZk=; b=fkVi29t7sDMP0ZJuJ/P7V8ymR8bWXdQtSxCDDT0+y0SZCdRW0TQlD5R9dJKPrdLYlu dAwP7EMSNcg8yZR0P6YfhiRNQcsS56E7rKct2T2pcchux5xTsPZytdFNZyM8zVcbbA1i bsKyd1QRjNJXWkLbj8epOaYvAJFNvaXTXYqLd25vh681+UrmgK9ARl+Ltk46qAmo6Sk0 HtltEviAi90Jfs8x2e3EO2vBm59bQmwODV56MLH2U/rfUVEEsD+7dsQmjxOIn9WqIr4p c0HvSOkfehSM7EuawJi5r2bhCmykcqJaRo0rparG3bLOv460j64VdiYNxq1DeML3QTor SFoQ== X-Gm-Message-State: AAQBX9ee7wysi4ew2WMjywSHZhz2pEw50uZYjJHJIXOKhtBPi8v3vxpQ vyH4Gzsf9+WhJoYN1L5zJ2/lsKaTDQ== X-Received: by 2002:aca:211a:0:b0:38c:319b:57fc with SMTP id 26-20020aca211a000000b0038c319b57fcmr1544404oiz.18.1681851177854; Tue, 18 Apr 2023 13:52:57 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id s2-20020a05687087c200b001802d3e181fsm6056418oam.14.2023.04.18.13.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 13:52:57 -0700 (PDT) Received: (nullmailer pid 2321269 invoked by uid 1000); Tue, 18 Apr 2023 20:52:56 -0000 Date: Tue, 18 Apr 2023 15:52:56 -0500 From: Rob Herring To: Stanley Chang Cc: Felipe Balbi , linux-kernel@vger.kernel.org, Rob Herring , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Thinh Nguyen Subject: Re: [PATCH v3 2/2] dt-bindings: usb: snps,dwc3: Add 'snps,parkmode-disable-hs-quirk' quirk Message-ID: <168185117592.2321215.4923836603705304820.robh@kernel.org> References: <20230413100914.7890-1-stanley_chang@realtek.com> <20230413100914.7890-2-stanley_chang@realtek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230413100914.7890-2-stanley_chang@realtek.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Apr 2023 18:09:14 +0800, Stanley Chang wrote: > Add a new 'snps,parkmode-disable-hs-quirk' DT quirk to dwc3 core for > disable the high-speed parkmode. > > For some USB wifi devices, if enable this feature it will reduce the > performance. Therefore, add an option for disabling HS park mode by > device-tree. > > In Synopsys's dwc3 data book: > In a few high speed devices when an IN request is sent within 900ns of the > ACK of the previous packet, these devices send a NAK. When connected to > these devices, if required, the software can disable the park mode if you > see performance drop in your system. When park mode is disabled, > pipelining of multiple packet is disabled and instead one packet at a time > is requested by the scheduler. This allows up to 12 NAKs in a micro-frame > and improves performance of these slow devices. > > Signed-off-by: Stanley Chang > --- > v2 to v3 change: > 1. Add the comment message. > 2. cc the right maintainers. > --- > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > Acked-by: Rob Herring