Skip to contentSkip to conversation

usb: isp1760: Correct dependencies for USB_ISP1760

PATCH In review Tom Rini 2 participants 3 messages Mar 17 – Mar 30

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 usb: isp1760: Correct dependencies for USB_ISP1760

As exposed by "make randconfig", we have an issue with the dependencies for USB_ISP1760. It depends on DM && OF_CONTROL being set and functionally requires REGMAP. As part of fixing that issue, we change "tristate" to "bool" and remove mentions of module support as that's not a thing in U-Boot.

---
Cc: Marek Vasut <[email protected]>
Cc: Abdellatif El Khlifi <[email protected]>
Cc: Hugues Kamba Mpiana <[email protected]>

---
 drivers/usb/isp1760/Kconfig | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/usb/isp1760/Kconfig +4 -2
index 993d71e74cd2..d1c5a687d9e7 100644
@@ -1,11 +1,13 @@
 # SPDX-License-Identifier: GPL-2.0
 
 config USB_ISP1760
-	tristate "NXP ISP 1760/1761/1763 support"
+	bool "NXP ISP 1760/1761/1763 support"
+	depends on DM && OF_CONTROL
 	select DM_USB
+	select REGMAP
 	select USB_HOST
 	help
-	  Say Y or M here if your system as an ISP1760/1761/1763 USB host
+	  Say Y here if your system as an ISP1760/1761/1763 USB host
 	  controller.
 
 	  This USB controller is usually attached to a non-DMA-Master
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Tom Rini

As exposed by "make randconfig", we have an issue with the dependencies for USB_ISP1760. It depends on DM && OF_CONTROL being set and functionally requires REGMAP. As part of fixing that issue, we change "tristate" to "bool" and remove mentions of module support as that's not a thing in U-Boot.

author
#2 lore raw
In reply to Tom Rini
Quoted 8 lines · Tom Rini

As exposed by "make randconfig", we have an issue with the dependencies for USB_ISP1760. It depends on DM && OF_CONTROL being set and functionally requires REGMAP. As part of fixing that issue, we change "tristate" to "bool" and remove mentions of module support as that's not a thing in U-Boot.

[...]

Applied to u-boot/next, thanks!

[1/1] usb: isp1760: Correct dependencies for USB_ISP1760

      commit: bdbe24b2a27c47e854a8ddfe89bffa0e609c24eb
Signature · 1 line
Tom