Thread (1 message) 1 message, 1 author, 2017-12-04

[PATCH v4] usb: xhci: allow imod-interval to be configurable

From: Adam Wallis <hidden>
Date: 2017-12-04 15:48:45
Also in: linux-devicetree, linux-mediatek

Timur

On 12/4/2017 9:58 AM, Timur Tabi wrote:
On 12/4/17 8:27 AM, Adam Wallis wrote:
quoted
If no interval is specified, the default of 40,000ns (IMOD=160) will be
used.
...
quoted
+ - imod-interval-ns: default interrupt moderation interval is 5000ns
...
quoted
+? - imod-interval-ns: default interrupt moderation interval is 5000ns
...
quoted
+??? xhci->imod_interval = 5000;
...
quoted
+??? xhci->imod_interval = 40000;
...
quoted
+??? xhci->imod_interval = 40000;
Is the default 5,000 or 40,000?? I can't tell.
As noted in the patch description, xhci-plat devices will use a default of
40,000, while MTK devices will use a default of 5,000. This is also documented
in the probe for each relevant driver. This is further confirmed in the
description for each driver's binding TXT file.

Adam

-- 
Adam Wallis
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help