Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: usb: usb-switch: Allow data-lanes property in port

The ref /schemas/graph.yaml#/properties/port forbids extra properties
which might be specified in subschemas, e.g. like in
usb/fcs,fsa4480.yaml.

Switch to port-base (and specify the endpoint with properties) to allow
such properties.

Fixes: fd2a052ccd69 ("dt-bindings: usb: add common Type-C USB Switch schema")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20250425-fp5-pmic-glink-dp-v3-1-cc9c2aeb42fb@fairphone.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Luca Weiss and committed by
Greg Kroah-Hartman
11e80d37 384455c7

+14 -1
+14 -1
Documentation/devicetree/bindings/usb/usb-switch.yaml
··· 26 26 type: boolean 27 27 28 28 port: 29 - $ref: /schemas/graph.yaml#/properties/port 29 + $ref: /schemas/graph.yaml#/$defs/port-base 30 30 description: 31 31 A port node to link the device to a TypeC controller for the purpose of 32 32 handling altmode muxing and orientation switching. 33 + 34 + properties: 35 + endpoint: 36 + $ref: /schemas/graph.yaml#/$defs/endpoint-base 37 + unevaluatedProperties: false 38 + properties: 39 + data-lanes: 40 + $ref: /schemas/types.yaml#/definitions/uint32-array 41 + minItems: 1 42 + maxItems: 8 43 + uniqueItems: true 44 + items: 45 + maximum: 8 33 46 34 47 ports: 35 48 $ref: /schemas/graph.yaml#/properties/ports