[PATCH 05/15] doc: dt: bindings: usb: dwc3-rtk: Add the property drd_mode

Stanley Chang stanley_chang at realtek.com
Wed Oct 7 04:50:25 EDT 2020


This property is about enabled dwc3 drd_mode dynamic switch.

Signed-off-by: Stanley Chang <stanley_chang at realtek.com>
---
 Documentation/devicetree/bindings/usb/dwc3-rtk.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/dwc3-rtk.yaml b/Documentation/devicetree/bindings/usb/dwc3-rtk.yaml
index ba079c17f65c..c2f495049ed6 100644
--- a/Documentation/devicetree/bindings/usb/dwc3-rtk.yaml
+++ b/Documentation/devicetree/bindings/usb/dwc3-rtk.yaml
@@ -28,6 +28,9 @@ properties:
   reg:
     maxItems: 1
 
+  drd_mode:
+    A flag to support drd mode for dynamic switch host or device mode.
+
 required:
   - compatible
   - "#address-cells"
@@ -44,6 +47,7 @@ examples:
         #size-cells = <1>;
         ranges;
         delay_probe_work; //To delay probe work
+        drd_mode;
         status = "okay";
 
         dwc3_u3drd at 981f0000 {
-- 
2.28.0




More information about the linux-realtek-soc mailing list