summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/usb-hcd.yaml
diff options
context:
space:
mode:
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>2020-12-10 12:09:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-12 14:41:31 +0300
commitb0864e1a4d9d2f030cf143f324f52f77d7bc68ab (patch)
tree8dae4166237f2327e40180d5381f21d4608044b4 /Documentation/devicetree/bindings/usb/usb-hcd.yaml
parentaa62401644b32f5229183c375bcc03e02a0888ac (diff)
downloadlinux-b0864e1a4d9d2f030cf143f324f52f77d7bc68ab.tar.xz
dt-bindings: usb: Convert generic USB properties to DT schemas
The generic USB properties have been described in the legacy bindings text file: Documentation/devicetree/bindings/usb/generic.txt . Let's convert its content into the generic USB, USB HCD and USB DRD DT schemas. So the Generic USB schema will be applicable to all USB controllers, USB HCD - for the generic USB Host controllers and the USB DRD - for the USB Dual-role controllers. Note the USB DRD schema is supposed to work in conjunction with the USB peripheral/gadget and USB host controllers DT schemas. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Link: https://lore.kernel.org/r/20201210090944.16283-3-Sergey.Semin@baikalelectronics.ru Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/usb-hcd.yaml')
-rw-r--r--Documentation/devicetree/bindings/usb/usb-hcd.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
index 81f3ad1419d8..52cc84c400c0 100644
--- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
@@ -12,6 +12,11 @@ maintainers:
allOf:
- $ref: usb.yaml#
+properties:
+ companion:
+ description: Phandle of a companion device
+ $ref: /schemas/types.yaml#/definitions/phandle
+
additionalProperties: true
examples: