Message ID | 8446dc260efb993507a219ae11815607b8e58027.1515182391.git.thinhn@synopsys.com |
---|---|
State | Changes Requested, archived |
Headers | show |
Series | usb: dwc3: Add new updates for DWC_usb31 | expand |
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 <johnyoun@synopsys.com> > Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> > --- > 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. > > - <DEPRECATED> tx-fifo-resize: determines if the FIFO *has* to be reallocated. > > -- > 2.11.0 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi, On 1/8/2018 8:12 PM, Rob Herring wrote: > 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 <johnyoun@synopsys.com> >> Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> >> --- >> 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? Yes, we can do that. Actually, both settings must be set to enable the periodic TX/RX 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. > > 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. I'll make the change. > >> >> - <DEPRECATED> tx-fifo-resize: determines if the FIFO *has* to be reallocated. >> >> -- >> 2.11.0 >> > Thanks, Thinh -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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. - <DEPRECATED> tx-fifo-resize: determines if the FIFO *has* to be reallocated.
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 <johnyoun@synopsys.com> Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> --- Documentation/devicetree/bindings/usb/dwc3.txt | 6 ++++++ 1 file changed, 6 insertions(+)