summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-11-09 12:07:18 -0500
committerRob Herring <robh@kernel.org>2017-11-16 12:01:15 -0500
commitbfebcf54608a749800a171ffd01f7d5b450e9a55 (patch)
treea51f91ed3f96cc584d09f05be6abb21112acc768 /Documentation
parentf42ae7b0540937e00fe005812997f126aaac4bc2 (diff)
dt-bindings: usb: clean up compatible property
Add quotation marks around the compatible string to avoid ambiguity due to following punctuation, and define the VID and PID components. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/usb/usb-device.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt
index b749fb9f2674..e0b562e35a0c 100644
--- a/Documentation/devicetree/bindings/usb/usb-device.txt
+++ b/Documentation/devicetree/bindings/usb/usb-device.txt
@@ -5,11 +5,11 @@ The reference binding doc is from:
5http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps 5http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps
6 6
7Required properties: 7Required properties:
8- compatible: usbVID,PID. The textual representation of VID, PID shall 8- compatible: "usbVID,PID", where VID is the vendor id and PID the product id.
9 be in lower case hexadecimal with leading zeroes suppressed. The 9 The textual representation of VID and PID shall be in lower case hexadecimal
10 other compatible strings from the above standard binding could also 10 with leading zeroes suppressed. The other compatible strings from the above
11 be used, but a device adhering to this binding may leave out all except 11 standard binding could also be used, but a device adhering to this binding
12 for usbVID,PID. 12 may leave out all except for "usbVID,PID".
13- reg: the port number which this device is connecting to, the range 13- reg: the port number which this device is connecting to, the range
14 is 1-255. 14 is 1-255.
15 15