diff mbox series

[V3,2/7] dt-bindings: connector: Add property for EUD type-C connector

Message ID 8194777786be70073a5364fe45ba7ec684019a71.1641288286.git.quic_schowdhu@quicinc.com
State New
Headers show
Series Add Embedded USB Debugger (EUD) driver | expand

Commit Message

Souradeep Chowdhury Jan. 4, 2022, 11:58 a.m. UTC
Added the property for EUD(Embedded USB Debugger) connector. EUD
is a mini usb hub with debug and trace capabilities and it has a
type C connector attached to it for role-switching. This connector
is attached to EUD via port.

Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
---
 Documentation/devicetree/bindings/connector/usb-connector.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Souradeep Chowdhury Jan. 17, 2022, 5:08 a.m. UTC | #1
On 1/7/2022 6:24 AM, Bjorn Andersson wrote:
> On Tue 04 Jan 03:58 PST 2022, Souradeep Chowdhury wrote:
>
>> Added the property for EUD(Embedded USB Debugger) connector. EUD
>> is a mini usb hub with debug and trace capabilities and it has a
>> type C connector attached to it for role-switching. This connector
>> is attached to EUD via port.
>>
> Per my feedback on the dts patch, I don't think this binding is needed.
Ack
>
> Regards,
> Bjorn
>
>> Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
>> ---
>>   Documentation/devicetree/bindings/connector/usb-connector.yaml | 7 ++++++-
>>   1 file changed, 6 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
>> index 7eb8659..417d39a 100644
>> --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
>> +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
>> @@ -30,6 +30,10 @@ properties:
>>             - const: samsung,usb-connector-11pin
>>             - const: usb-b-connector
>>   
>> +      - items:
>> +          - const: qcom,usb-connector-eud
>> +          - const: usb-c-connector
>> +
>>     label:
>>       description: Symbolic name for the connector.
>>   
>> @@ -179,7 +183,8 @@ properties:
>>       properties:
>>         port@0:
>>           $ref: /schemas/graph.yaml#/properties/port
>> -        description: High Speed (HS), present in all connectors.
>> +        description: High Speed (HS), present in all connectors. Also used as a
>> +                     port to connect QCOM Embedded USB Debugger(EUD).
>>   
>>         port@1:
>>           $ref: /schemas/graph.yaml#/properties/port
>> -- 
>> 2.7.4
>>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
index 7eb8659..417d39a 100644
--- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
+++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
@@ -30,6 +30,10 @@  properties:
           - const: samsung,usb-connector-11pin
           - const: usb-b-connector
 
+      - items:
+          - const: qcom,usb-connector-eud
+          - const: usb-c-connector
+
   label:
     description: Symbolic name for the connector.
 
@@ -179,7 +183,8 @@  properties:
     properties:
       port@0:
         $ref: /schemas/graph.yaml#/properties/port
-        description: High Speed (HS), present in all connectors.
+        description: High Speed (HS), present in all connectors. Also used as a
+                     port to connect QCOM Embedded USB Debugger(EUD).
 
       port@1:
         $ref: /schemas/graph.yaml#/properties/port