mbox series

[v3,0/2] usb: override hub device bInterval with device

Message ID 20191122042417.205481-1-ikjn@chromium.org (mailing list archive)
Headers show
Series usb: override hub device bInterval with device | expand

Message

Ikjoon Jang Nov. 22, 2019, 4:24 a.m. UTC
This patchset enables hard wired hub device to use different bInterval
from its descriptor when the hub has a combined device node.

When we know reducing autosuspend delay for built-in HIDs is better for
power saving, we can reduce it to the optimal value. But if a parent hub
has a long bInterval, mouse lags a lot from more frequent autosuspend.
So this enables overriding bInterval for a hard wired hub device only
when we know that reduces the power consumption.

Ikjoon Jang (2):
  dt-bindings: usb: add "hub,interval" property
  usb: overridable hub bInterval by device node

 Documentation/devicetree/bindings/usb/usb-device.txt | 4 ++++
 drivers/usb/core/config.c                            | 6 ++++++
 2 files changed, 10 insertions(+)