drivers: nxp_usb: Enable USB_DC_HAS_HS_SUPPORT conditionally
Conditionally enable the USB_DC_HAS_HS_SUPPORT as the
USB_DC_NXP_LPCIP3511 controller can have both HS and FS only.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
diff --git a/drivers/usb/device/Kconfig b/drivers/usb/device/Kconfig
index 2b1adfb..b84acb2 100644
--- a/drivers/usb/device/Kconfig
+++ b/drivers/usb/device/Kconfig
@@ -167,7 +167,7 @@
config USB_DC_NXP_LPCIP3511
bool "LPC USB Device Controller"
- select USB_DC_HAS_HS_SUPPORT
+ select USB_DC_HAS_HS_SUPPORT if "$(dt_nodelabel_enabled,usbhs)"
help
LPC USB Device Controller Driver.