[PATCH v4 2/4] dt-bindings: phy: qcs615-qmp-usb3dp: Add support for Shikra SoC
Krzysztof Kozlowski
krzk at kernel.org
Sun Jul 5 02:30:49 PDT 2026
On Wed, Jul 01, 2026 at 10:20:49PM +0530, Krishna Kurapati wrote:
> + orientation-switch:
> + description:
> + Flag the PHY as possible handler of USB Type-C orientation switching
> + type: boolean
> +
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> + properties:
> + port at 0:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Output endpoint of the PHY
> +
> + port at 1:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Incoming endpoint from the USB controller
> +
> required:
> - compatible
> - reg
> @@ -78,6 +98,38 @@ required:
>
> additionalProperties: false
>
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,shikra-qmp-usb3-dp-phy
> + then:
> + properties:
> + resets:
> + maxItems: 3
Wrong constraint, you already have maxItems set. You wanted minItems.
> + reset-names:
minItems
> + items:
> + - const: phy_phy
> + - const: dp_phy
> + - const: phy
> +
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,qcs615-qmp-usb3-dp-phy
> + then:
> + properties:
> + resets:
> + maxItems: 2
> + reset-names:
maxItems.
> + items:
> + - const: phy_phy
> + - const: dp_phy
> +
> examples:
> - |
> #include <dt-bindings/clock/qcom,qcs615-gcc.h>
> --
> 2.34.1
>
More information about the linux-phy
mailing list