From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753074AbdKIRO2 (ORCPT ); Thu, 9 Nov 2017 12:14:28 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:47248 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbdKIROS (ORCPT ); Thu, 9 Nov 2017 12:14:18 -0500 X-Google-Smtp-Source: AGs4zMaIPFbn0zi3KKKYuTBA0sy9yjpiDkQFz2tniXwJZ8aIk/Tf5Dy8qlgZ2Z2AcPtQmkuwNc3lYg== From: Johan Hovold To: Greg Kroah-Hartman Cc: Rob Herring , Mark Rutland , Arnd Bergmann , Alan Stern , Peter Chen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/8] dt-bindings: usb: fix reg-property port-number range Date: Thu, 9 Nov 2017 18:07:17 +0100 Message-Id: <20171109170723.10960-3-johan@kernel.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171109170723.10960-1-johan@kernel.org> References: <20171109170723.10960-1-johan@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Documentation/devicetree/bindings/usb/usb-device.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt index 4df7e22e0084..b749fb9f2674 100644 --- a/Documentation/devicetree/bindings/usb/usb-device.txt +++ b/Documentation/devicetree/bindings/usb/usb-device.txt @@ -11,7 +11,7 @@ Required properties: be used, but a device adhering to this binding may leave out all except for usbVID,PID. - reg: the port number which this device is connecting to, the range - is 1-31. + is 1-255. Example: -- 2.15.0