Skip to content

Commit 1ed84b1

Browse files
lukasz-czechowskigregkh
authored andcommitted
dt-bindings: usb: cypress,hx3: Add support for all variants
commit 1ad4b5a upstream. The Cypress HX3 hubs use different default PID value depending on the variant. Update compatibles list. Becasuse all hub variants use the same driver data, allow the dt node to have two compatibles: leftmost which matches the HW exactly, and the second one as fallback. Fixes: 1eca51f ("dt-bindings: usb: Add binding for Cypress HX3 USB 3.0 family") Cc: stable@vger.kernel.org # 6.6 Cc: stable@vger.kernel.org # Backport of the patch ("dt-bindings: usb: usb-device: relax compatible pattern to a contains") from list: https://lore.kernel.org/linux-usb/20250418-dt-binding-usb-device-compatibles-v2-1-b3029f14e800@cherry.de/ Cc: stable@vger.kernel.org # Backport of the patch in this series fixing product ID in onboard_dev_id_table in drivers/usb/misc/onboard_usb_dev.c driver Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com> Reviewed-by: "Rob Herring (Arm)" <robh@kernel.org> Link: https://lore.kernel.org/r/20250425-onboard_usb_dev-v2-2-4a76a474a010@thaumatec.com [taken with Greg's blessing] Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent eb2d5e7 commit 1ed84b1

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

Documentation/devicetree/bindings/usb/cypress,hx3.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,22 @@ allOf:
1414

1515
properties:
1616
compatible:
17-
enum:
18-
- usb4b4,6504
19-
- usb4b4,6506
17+
oneOf:
18+
- enum:
19+
- usb4b4,6504
20+
- usb4b4,6506
21+
- items:
22+
- enum:
23+
- usb4b4,6500
24+
- usb4b4,6508
25+
- const: usb4b4,6504
26+
- items:
27+
- enum:
28+
- usb4b4,6502
29+
- usb4b4,6503
30+
- usb4b4,6507
31+
- usb4b4,650a
32+
- const: usb4b4,6506
2033

2134
reg: true
2235

0 commit comments

Comments
 (0)