Re: [PATCH] dt-bindings: usb: add common Type-C USB Switch schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/01/2024 10:34, Luca Weiss wrote:
>> diff --git a/Documentation/devicetree/bindings/usb/usb-switch.yaml b/Documentation/devicetree/bindings/usb/usb-switch.yaml
>> new file mode 100644
>> index 000000000000..0d0b60234d1f
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/usb/usb-switch.yaml
>> @@ -0,0 +1,68 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/usb/usb-switch.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: USB Orientation and Mode Switches Common Properties
>> +
>> +maintainers:
>> +  - Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>> +
>> +description:
>> +  Common properties for devices handling USB mode and orientation switching.
>> +
>> +properties:
>> +  mode-switch:
>> +    description: Possible handle of altmode switching
> 
> handle -> handler

ack

> 
>> +    type: boolean
>> +
>> +  orientation-switch:
>> +    description: Possible handler of orientation switching
>> +    type: boolean
>> +
>> +  retimer-switch:
>> +    description: Possible handle of SuperSpeed signals retiming
> 
> handle -> handler

ack

> 
>> +    type: boolean
>> +
>> +  port:
>> +    $ref: /schemas/graph.yaml#/properties/port
>> +    description:
>> +      A port node to link the device to a TypeC controller for the purpose of
>> +      handling altmode muxing and orientation switching.
>> +
>> +  ports:
>> +    $ref: /schemas/graph.yaml#/properties/ports
>> +    properties:
>> +      port@0:
>> +        $ref: /schemas/graph.yaml#/properties/port
>> +        description:
>> +          Super Speed (SS) Output endpoint to the Type-C connector
>> +
>> +      port@1:
>> +        $ref: /schemas/graph.yaml#/$defs/port-base
>> +        description:
>> +          Super Speed (SS) Input endpoint from the Super-Speed PHY
>> +        unevaluatedProperties: false
>> +
>> +        properties:
>> +          endpoint:
>> +            $ref: /schemas/graph.yaml#/$defs/endpoint-base
>> +            # additionalProperties: true
> 
> Don't think this should still be here?
> 

Indeed, debug left-over. I'll remove it.

Best regards,
Krzysztof





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux