On 02/09/2025 10:46, Mike Looijmans wrote: >>> + endpoint: >>> + $ref: /schemas/media/video-interfaces.yaml# >>> + unevaluatedProperties: false >>> + >>> + port@1: >>> + $ref: /schemas/graph.yaml#/$defs/port-base >>> + unevaluatedProperties: false >>> + description: Video port for HDMI output (panel or bridge) >>> + >>> + properties: >>> + endpoint: >>> + $ref: /schemas/media/video-interfaces.yaml# >>> + unevaluatedProperties: false >>> + >>> + required: >>> + - port@0 >>> + - port@1 >>> + >>> + ti,source-mode: >>> + type: boolean >>> + description: >>> + Force chip to operate in "source" mode. Allows to use >>> + a TMDS181 chip (which defaults to sink) as cable driver. >>> + >>> + ti,sink-mode: >> Aren't these two mutually exclusive? Can same device operate in source >> and in sink mode simultaneously? > > They're exclusive, yes. Will add that.
Then either define constraints per variant in if:then: or maybe better use string enum. Not sure what applies where, so tricky to say which choice is better. Best regards, Krzysztof