devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: update usb-c-connector required property
@ 2020-07-17  7:34 Biju Das
  2020-07-17  7:34 ` [PATCH 2/2] dt-bindings: usb: convert ti,hd3ss3220 bindings to json-schema Biju Das
  2020-07-17  7:54 ` [PATCH 1/2] dt-bindings: update usb-c-connector required property Prashant Malani
  0 siblings, 2 replies; 6+ messages in thread
From: Biju Das @ 2020-07-17  7:34 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring
  Cc: Biju Das, Mark Brown, Alexandre Belloni, Maxime Ripard, Lee Jones,
	Prashant Malani, Thierry Reding, linux-usb, devicetree,
	Geert Uytterhoeven, Yoshihiro Shimoda, Heikki Krogerus,
	Felipe Balbi, Chris Paterson, Biju Das, Prabhakar Mahadev Lad,
	linux-renesas-soc

Some boards have a single SS capable connector. Update usb-c-connector
bindings to list port@1 as at least one of the required property.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 Ref: https://patchwork.kernel.org/patch/11129567/
---
 Documentation/devicetree/bindings/connector/usb-connector.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
index 9bd52e6..41e0685 100644
--- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
+++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
@@ -139,8 +139,11 @@ properties:
         description: Sideband Use (SBU), present in USB-C. This describes the
           alternate mode connection of which SBU is a part.
 
-    required:
-      - port@0
+    anyOf:
+      - required:
+        - port@0
+      - required:
+        - port@1
 
 required:
   - compatible
-- 
2.7.4


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

end of thread, other threads:[~2020-08-03  9:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-17  7:34 [PATCH 1/2] dt-bindings: update usb-c-connector required property Biju Das
2020-07-17  7:34 ` [PATCH 2/2] dt-bindings: usb: convert ti,hd3ss3220 bindings to json-schema Biju Das
2020-07-17  7:54 ` [PATCH 1/2] dt-bindings: update usb-c-connector required property Prashant Malani
2020-07-17  8:09   ` Biju Das
2020-07-17  8:30     ` Geert Uytterhoeven
2020-08-03  9:33       ` Biju Das

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).