]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: usb: fix reg-property port-number range
authorJohan Hovold <johan@kernel.org>
Thu, 9 Nov 2017 17:07:17 +0000 (18:07 +0100)
committerRob Herring <robh@kernel.org>
Thu, 16 Nov 2017 17:01:14 +0000 (11:01 -0600)
commitb3fad04fe64a9e2801f5b7bfe8fd741b58d1b328
treec2b55718010bf0c672d421ba3133e9eace43f53b
parent955623cb0544ed813c971292de09f8adba99f7d3
dt-bindings: usb: fix reg-property port-number range

The USB hub port-number range for USB 2.0 is 1-255 and not 1-31 which
reflects an arbitrary limit set by the current Linux implementation.

Note that for USB 3.1 hubs the valid range is 1-15.

Increase the documented valid range in the binding to 255, which is the
maximum allowed by the specifications.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/usb/usb-device.txt