dt-bindings: usb: usb-device: Replace free-form 'reg' with constraints

Replace free-form text of 'reg' property with proper constraints so
incorrect values can be actually reported.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250214114235.49476-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Krzysztof Kozlowski
2025-02-14 12:42:35 +01:00
committed by Greg Kroah-Hartman
parent 673655f794
commit 2ded07a8a2

View File

@@ -39,8 +39,10 @@ properties:
reg:
description: the number of the USB hub port or the USB host-controller
port to which this device is attached. The range is 1-255.
maxItems: 1
port to which this device is attached.
items:
- minimum: 1
maximum: 255
"#address-cells":
description: should be 1 for hub nodes with device nodes,