# \[PATCH v3 01/11\] dt-bindings: usb: generic-ohci: Document dr\_mode property

- Subsystems: OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, THE REST, USB SUBSYSTEM
- Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds, Greg Kroah-Hartman
- Status: LANDED · 1 review, 1 by a maintainer (0c29ec921059 · 2021-07-21 08:09 M Lad Prabhakar)
- Landed in mainline as 0c29ec921059 on 2021-07-21.
- 1 review trailer.
- List: linux-devicetree
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-devicetree/2021/06/8192570/t

## \[PATCH v3 01/11\] dt-bindings: usb: generic-ohci: Document dr\_mode property

- From: Biju Das \<biju.das.jz@bp.renesas.com\>
- Date: 2021-06-30 07:30:46 
- Message: https://ratatoskr.run/linux-devicetree/2021/06/8192570.md

```text
Document the optional property dr_mode present on both RZ/G2 and
R-Car Gen3 SoCs.

It fixes the dtbs_check warning,
'dr_mode' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
v2->v3:
  * Dropped RZ/G2L SoC and USBPHY control IP is modelled as reset binding.
v2:
  * New patch
---
 Documentation/devicetree/bindings/usb/generic-ohci.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
index 0f5f6ea702d0..569777a76c90 100644
--- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
@@ -109,6 +109,11 @@ properties:
   iommus:
     maxItems: 1
 
+  dr_mode:
+    enum:
+      - host
+      - otg
+
 required:
   - compatible
   - reg
-- 
2.17.1

```

## Re: \[PATCH v3 01/11\] dt-bindings: usb: generic-ohci: Document dr\_mode property

- From: Rob Herring \<robh@kernel.org\>
- Date: 2021-07-14 21:16:18 
- Message: https://ratatoskr.run/linux-devicetree/2021/07/8192864.md

```text
On Wed, 30 Jun 2021 08:30:03 +0100, Biju Das wrote:
> Document the optional property dr_mode present on both RZ/G2 and
> R-Car Gen3 SoCs.
> 
> It fixes the dtbs_check warning,
> 'dr_mode' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> v2->v3:
>   * Dropped RZ/G2L SoC and USBPHY control IP is modelled as reset binding.
> v2:
>   * New patch
> ---
>  Documentation/devicetree/bindings/usb/generic-ohci.yaml | 5 +++++
>  1 file changed, 5 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
```
