OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Dec 2017 08:53:09 +0000 (09:53 +0100)
commit84e0b87ebfb56041d8130bf220d1494515332b65
tree11cfb1a82039cae8084febb6e2c031172df4364e
parentf4da9e07a6a27939f9e976ade9945c735ad026b9
dt-bindings: usb: fix reg-property port-number range

[ Upstream commit f42ae7b0540937e00fe005812997f126aaac4bc2 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/usb-device.txt