From patchwork Fri Jan 5 20:14:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 856156 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zCy2R3Dwgz9t7q for ; Sat, 6 Jan 2018 08:08:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752692AbeAEUOv (ORCPT ); Fri, 5 Jan 2018 15:14:51 -0500 Received: from smtprelay.synopsys.com ([198.182.47.9]:50463 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752683AbeAEUOv (ORCPT ); Fri, 5 Jan 2018 15:14:51 -0500 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 0BC0824E0636; Fri, 5 Jan 2018 12:14:50 -0800 (PST) Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3-vip.internal.synopsys.com [10.15.84.231]) by mailhost.synopsys.com (Postfix) with ESMTP id C8DA270D; Fri, 5 Jan 2018 12:14:50 -0800 (PST) Received: from US01WEHTC1.internal.synopsys.com (10.12.239.235) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 5 Jan 2018 12:14:50 -0800 Received: from te-lab16 (10.13.184.19) by us01wehtc1.internal.synopsys.com (10.12.239.236) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 5 Jan 2018 12:14:48 -0800 Received: by te-lab16 (sSMTP sendmail emulation); Fri, 05 Jan 2018 12:14:48 -0800 Date: Fri, 5 Jan 2018 12:14:48 -0800 Message-ID: <8446dc260efb993507a219ae11815607b8e58027.1515182391.git.thinhn@synopsys.com> In-Reply-To: References: From: Thinh Nguyen Subject: [PATCH 08/15] usb: dwc3: Make RX/TX threshold configurable To: Felipe Balbi , Thinh Nguyen , , , Rob Herring , Mark Rutland CC: John Youn MIME-Version: 1.0 X-Originating-IP: [10.13.184.19] Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org DWC_usb31 periodic transfer at 48K+ bytes per interval may need modification to the TX/RX packet threshold to achieve optimal result. Add properties to make it configurable. Cc: John Youn Signed-off-by: Thinh Nguyen --- Documentation/devicetree/bindings/usb/dwc3.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index 52fb41046b34..02dde83d02fa 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt @@ -55,6 +55,12 @@ Optional properties: - snps,quirk-frame-length-adjustment: Value for GFLADJ_30MHZ field of GFLADJ register for post-silicon frame length adjustment when the fladj_30mhz_sdbnd signal is invalid or incorrect. + - snps,rx_thr_sel_prd: set to enable periodic ESS RX packet threshold. + - snps,rx_thr_num_pkt_prd: periodic ESS RX packet threshold count. + - snps,rx_max_burst_prd: Max periodic ESS RX burst size. + - snps,tx_thr_sel_prd: set to enable periodic ESS TX packet threshold. + - snps,tx_thr_num_pkt_prd: periodic ESS TX packet threshold count. + - snps,tx_max_burst_prd: Max periodic ESS TX burst size. - tx-fifo-resize: determines if the FIFO *has* to be reallocated.