Skip to content

Commit bb88dbb

Browse files
Fabrice Gasniergregkh
authored andcommitted
dt-bindings: usb: dwc2: Add reference to usb-drd.yaml
Add a reference to usb-drd.yaml, in order to: - extend possible supported properties - avoid duplicated definitions of standard properties Remove definitions for dr_mode and usb-role-switch standard properties. Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Fabrice Gasnier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent fd03af2 commit bb88dbb

File tree

1 file changed

+5
-5
lines changed
  • Documentation/devicetree/bindings/usb

1 file changed

+5
-5
lines changed

Documentation/devicetree/bindings/usb/dwc2.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ title: DesignWare HS OTG USB 2.0 controller Bindings
99
maintainers:
1010
- Rob Herring <[email protected]>
1111

12+
allOf:
13+
- $ref: usb-drd.yaml#
14+
1215
properties:
1316
compatible:
1417
oneOf:
@@ -101,12 +104,9 @@ properties:
101104
description: reference to the VBUS and ID sensing comparators supply, in
102105
order to perform OTG operation, used on STM32MP15 SoCs.
103106

104-
dr_mode:
105-
enum: [host, peripheral, otg]
107+
dr_mode: true
106108

107-
usb-role-switch:
108-
$ref: /schemas/types.yaml#/definitions/flag
109-
description: Support role switch.
109+
usb-role-switch: true
110110

111111
g-rx-fifo-size:
112112
$ref: /schemas/types.yaml#/definitions/uint32

0 commit comments

Comments
 (0)