]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: usb: cypress,hx3: Add support for all variants
authorLukasz Czechowski <lukasz.czechowski@thaumatec.com>
Fri, 25 Apr 2025 15:18:07 +0000 (17:18 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 15 May 2025 12:44:25 +0000 (14:44 +0200)
commit1ad4b5a7de16806afc1aeaf012337e62af04e001
treeaf0f8f4a75ab6ffe6db446f59abddbf8fff7ec47
parent34d2730fbbddfdffd656d36a13f8fdb886a3b5e1
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: 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>
Documentation/devicetree/bindings/usb/cypress,hx3.yaml