From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH 08/15] usb: dwc3: Make RX/TX threshold configurable Date: Mon, 8 Jan 2018 22:12:38 -0600 Message-ID: <20180109041238.6gkzusod6x3su5gu@rob-hp-laptop> References: <8446dc260efb993507a219ae11815607b8e58027.1515182391.git.thinhn@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <8446dc260efb993507a219ae11815607b8e58027.1515182391.git.thinhn-HKixBCOQz3hWk0Htik3J/w@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thinh Nguyen Cc: Felipe Balbi , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Rutland , John Youn List-Id: devicetree@vger.kernel.org On Fri, Jan 05, 2018 at 12:14:48PM -0800, Thinh Nguyen wrote: > 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. I tend to think these should all be implied by the SoC specific compatible string if they need to be tuned. > > 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. Isn't the next property being present sufficient to enable this or not? > + - 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. ditto > + - snps,tx_thr_num_pkt_prd: periodic ESS TX packet threshold count. > + - snps,tx_max_burst_prd: Max periodic ESS TX burst size. Don't use '_' in property names. > > - tx-fifo-resize: determines if the FIFO *has* to be reallocated. > > -- > 2.11.0 > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html