Re: [PATCH v17 1/2] dt-bindings: phy: qcom: Add CSI2 C-PHY/DPHY schema

From: Krzysztof Kozlowski

Date: Thu Sep 10 2026 - 03:30:21 EST


On Thu, Sep 03, 2026 at 09:44:33PM +0100, Bryan O'Donoghue wrote:
> + clock-lanes:
> + maxItems: 1
> +
> + data-lanes:
> + minItems: 1
> + maxItems: 4
> + items:
> + minimum: 1
> + maximum: 4
> + description:
> + Data lane positions following this endpoint's clock
> + lane. Positions are a per-port logical numbering, not
> + package pad or ball positions.
> +
> + required:
> + - data-lanes
> + - remote-endpoint
> +
> + allOf:
> + - if:
> + required:
> + - endpoint@1
> + then:
> + properties:
> + endpoint@0:
> + properties:
> + clock-lanes:
> + const: 0
> + data-lanes:
> + maxItems: 2
> + endpoint@1:
> + properties:
> + clock-lanes:
> + const: 3
> + data-lanes:
> + items:
> + - const: 4
> + required:
> + - endpoint@0
> + else:
> + patternProperties:
> + "^endpoint(@0)?$":
> + properties:
> + clock-lanes:
> + const: 0

So endpoint@0 has a fixed clock-lanes? Then the property is redundant
and you can completely drop it.

> +
> + port@1:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Output to the CAMSS CSID controller.
> +
> + required:
> + - port@0
> + - port@1

Best regards,
Krzysztof