summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorLukasz Czechowski <[email protected]>2025-07-30 13:10:19 +0200
committerTom Rini <[email protected]>2025-07-30 08:23:00 -0600
commitc419fd81349efaf4301c3b6e66ee12d500738105 (patch)
tree4efd57fe0c0d262a441a16159049e6cfe84a5c95 /dts
parent7c0491ccc6a772a13b326b76a47cb6b3cc5e3f7f (diff)
dt-bindings: usb: cypress,hx3: Add support for all variants
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: 1eca51f58a10 ("dt-bindings: usb: Add binding for Cypress HX3 USB 3.0 family") Cc: [email protected] # 6.6 Cc: [email protected] # 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: [email protected] # 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 <[email protected]> Reviewed-by: "Rob Herring (Arm)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] [taken with Greg's blessing] Signed-off-by: Heiko Stuebner <[email protected]> [ upstream commit: 1ad4b5a7de16806afc1aeaf012337e62af04e001 ] (cherry picked from commit 53aacaed0ad140b017c803d9777473c6c62f5352)
Diffstat (limited to 'dts')
-rw-r--r--dts/upstream/Bindings/usb/cypress,hx3.yaml19
1 files changed, 16 insertions, 3 deletions
diff --git a/dts/upstream/Bindings/usb/cypress,hx3.yaml b/dts/upstream/Bindings/usb/cypress,hx3.yaml
index 1033b7a4b8f..d6eac121322 100644
--- a/dts/upstream/Bindings/usb/cypress,hx3.yaml
+++ b/dts/upstream/Bindings/usb/cypress,hx3.yaml
@@ -14,9 +14,22 @@ allOf:
properties:
compatible:
- enum:
- - usb4b4,6504
- - usb4b4,6506
+ oneOf:
+ - enum:
+ - usb4b4,6504
+ - usb4b4,6506
+ - items:
+ - enum:
+ - usb4b4,6500
+ - usb4b4,6508
+ - const: usb4b4,6504
+ - items:
+ - enum:
+ - usb4b4,6502
+ - usb4b4,6503
+ - usb4b4,6507
+ - usb4b4,650a
+ - const: usb4b4,6506
reg: true