Commit bfebcf54 authored by Johan Hovold's avatar Johan Hovold Committed by Rob Herring

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: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent f42ae7b0
...@@ -5,11 +5,11 @@ The reference binding doc is from: ...@@ -5,11 +5,11 @@ The reference binding doc is from:
http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps
Required properties: Required properties:
- compatible: usbVID,PID. The textual representation of VID, PID shall - compatible: "usbVID,PID", where VID is the vendor id and PID the product id.
be in lower case hexadecimal with leading zeroes suppressed. The The textual representation of VID and PID shall be in lower case hexadecimal
other compatible strings from the above standard binding could also with leading zeroes suppressed. The other compatible strings from the above
be used, but a device adhering to this binding may leave out all except standard binding could also be used, but a device adhering to this binding
for usbVID,PID. may leave out all except for "usbVID,PID".
- reg: the port number which this device is connecting to, the range - reg: the port number which this device is connecting to, the range
is 1-255. is 1-255.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment