diff options
author | Prashant Malani <pmalani@chromium.org> | 2020-03-06 01:27:28 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-03-12 22:02:35 +0300 |
commit | 431a30b7d495be19790bb347e68a87d03599fe8e (patch) | |
tree | dbeb7922d0d2801c127c7fbd31a6e6300e0cdca5 /Documentation/devicetree/bindings/usb/generic.txt | |
parent | e329f87dc41a3f397be403dd7e1889e541eb78cf (diff) | |
download | linux-431a30b7d495be19790bb347e68a87d03599fe8e.tar.xz |
dt-bindings: Convert usb-connector to YAML format.
Convert the usb-connector.txt bindings file to YAML format. This allows
it to be used in dt_bindings_check verification. This patch was
born out of a patch series for the addition of a Type C connector
class port driver[1].
An attempt has been made to maintain the same documentation text and
example structure as was in the .txt file, but wherever needed
modifications have been made to satisfy dt_bindings_check.
Also, update all references to usb-connector.txt to now use
usb-connector.yaml.
[1]: https://lkml.org/lkml/2020/2/19/1232
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/generic.txt')
-rw-r--r-- | Documentation/devicetree/bindings/usb/generic.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/usb/generic.txt b/Documentation/devicetree/bindings/usb/generic.txt index e6790d2a4da9..474e74c06522 100644 --- a/Documentation/devicetree/bindings/usb/generic.txt +++ b/Documentation/devicetree/bindings/usb/generic.txt @@ -34,7 +34,7 @@ Optional properties: - usb-role-switch: boolean, indicates that the device is capable of assigning the USB data role (USB host or USB device) for a given USB connector, such as Type-C, Type-B(micro). - see connector/usb-connector.txt. + see connector/usb-connector.yaml. This is an attribute to a USB controller such as: |