From patchwork Thu Dec 12 02:50:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 11286833 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 866496C1 for ; Thu, 12 Dec 2019 02:50:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5AF452465E for ; Thu, 12 Dec 2019 02:50:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="HWAoOuWd" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727891AbfLLCuV (ORCPT ); Wed, 11 Dec 2019 21:50:21 -0500 Received: from sv2-smtprelay2.synopsys.com ([149.117.73.133]:41590 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727809AbfLLCuV (ORCPT ); Wed, 11 Dec 2019 21:50:21 -0500 Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 092B2404D4; Thu, 12 Dec 2019 02:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1576119021; bh=30+ZAnrazUzEgXZAZtMIZSjq2c+ounGgW4x73NLnzmM=; h=Date:In-Reply-To:References:From:Subject:To:Cc:From; b=HWAoOuWdRgZb+idIowzdRohj6rrZKdgbqrSlIdN5fyA6+Ewlh4l1kID6uClknp4dm Gystrh8UZWmVFHnIsqfl0a235gVgBBYeu4IOO4kq1IGYW6LfmEFgveJyonJyYFPVjz Ota1kArPyfI+Qgh+mMfQemYH5puH0McdiqQQv+cLqfk7/9R7Y9rYwsuvdJbP6Z4WAi JknhlopT4GG79vbiw2UNynHpItucitopgkpiFrS+ZX3xLMFXxHnHSicgtLd9o8NF2X y04br6EGj3Vu2BcgMtvu4gNzTrJpTpbn0znOWFJM33Co5ohq3OTpWR8AUFjFla18ge mt3s94pOtbi2w== Received: from te-lab16 (nanobot.internal.synopsys.com [10.10.186.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPSA id E8DECA006D; Thu, 12 Dec 2019 02:50:19 +0000 (UTC) Received: by te-lab16 (sSMTP sendmail emulation); Wed, 11 Dec 2019 18:50:19 -0800 Date: Wed, 11 Dec 2019 18:50:19 -0800 Message-Id: In-Reply-To: References: From: Thinh Nguyen Subject: [RFC PATCH 13/14] usb: devicetree: dwc3: Add property to disable mult TRB fetch To: Greg Kroah-Hartman , Thinh Nguyen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Mark Rutland Cc: John Youn Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org DWC_usb32 has a feature where it can issue multiple TRB fetch requests. Add a new property to limit and only do only single TRB fetch request. Signed-off-by: Thinh Nguyen --- Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index ff35fa6de2eb..29d6f9b1fc70 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt @@ -108,6 +108,8 @@ Optional properties: - snps,num-trb-prefetch: max value to do TRBs cache for DWC_usb32. The value can be from 1 to DWC_USB32_CACHE_TRBS_PER_TRANSFER. Default value is DWC_USB32_CACHE_TRBS_PER_TRANSFER. + - snps,dis-mult-trb-fetch: set to issue only single TRB fetch request in + DWC_usb32. - tx-fifo-resize: determines if the FIFO *has* to be reallocated. - snps,incr-burst-type-adjustment: Value for INCR burst type of GSBUSCFG0