devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: usb: usb-drd: Describe default dual-role mode
@ 2022-11-03 11:59 Thierry Reding
  2022-11-03 15:59 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Thierry Reding @ 2022-11-03 11:59 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski
  Cc: linux-usb, devicetree

From: Thierry Reding <treding@nvidia.com>

The dual-role mode default, in the absence of the dr_mode property, is
already documented to be OTG. Use the "default" property to mark it as
such more explicitly.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 Documentation/devicetree/bindings/usb/usb-drd.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/usb-drd.yaml b/Documentation/devicetree/bindings/usb/usb-drd.yaml
index 1567549b05ce..114fb5dc0498 100644
--- a/Documentation/devicetree/bindings/usb/usb-drd.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-drd.yaml
@@ -27,6 +27,7 @@ properties:
       should default to OTG.
     $ref: /schemas/types.yaml#/definitions/string
     enum: [host, peripheral, otg]
+    default: otg
 
   hnp-disable:
     description:
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: usb: usb-drd: Describe default dual-role mode
  2022-11-03 11:59 [PATCH] dt-bindings: usb: usb-drd: Describe default dual-role mode Thierry Reding
@ 2022-11-03 15:59 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-03 15:59 UTC (permalink / raw)
  To: Thierry Reding, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-usb, devicetree

On 03/11/2022 07:59, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> The dual-role mode default, in the absence of the dr_mode property, is
> already documented to be OTG. Use the "default" property to mark it as
> such more explicitly.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  Documentation/devicetree/bindings/usb/usb-drd.yaml | 1 +
>  1 file changed, 1 insertion(+)


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-03 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 11:59 [PATCH] dt-bindings: usb: usb-drd: Describe default dual-role mode Thierry Reding
2022-11-03 15:59 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).