Skip to contentSkip to conversation

phy: ti: omap-usb2: enable compile testing

PATCH Applied Johan Hovold 3 participants 5 messages Jul 24, 2025 – Aug 12, 2025 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: ti: omap-usb2: enable compile testing

Nothing seems to prevent the driver from being built on non-TI platforms so enable compile testing for wider build coverage.

---
 drivers/phy/ti/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/ti/Kconfig +1 -1
index b905902d5750..b40f28019131 100644
@@ -62,7 +62,7 @@ config OMAP_CONTROL_PHY
 
 config OMAP_USB2
 	tristate "OMAP USB2 PHY Driver"
-	depends on ARCH_OMAP2PLUS || ARCH_K3
+	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
 	depends on USB_SUPPORT
 	select GENERIC_PHY
 	select USB_PHY
Signature · 1 line
2.49.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Johan Hovold

Nothing seems to prevent the driver from being built on non-TI platforms so enable compile testing for wider build coverage.

---
  drivers/phy/ti/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/ti/Kconfig +0 -0
index b905902d5750..b40f28019131 100644

drivers/phy/ti/Kconfig config OMAP_CONTROL_PHY · line 68

Quoted 8 lines
drivers/phy/ti/Kconfig +1 -1
@@ -62,7 +62,7 @@ config OMAP_CONTROL_PHY
 
  config OMAP_USB2
  	tristate "OMAP USB2 PHY Driver"
-	depends on ARCH_OMAP2PLUS || ARCH_K3
+	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
  	depends on USB_SUPPORT
  	select GENERIC_PHY
  	select USB_PHY
reviewer Reviewed-by on v1 1/1
#2 lore raw
In reply to Johan Hovold
Quoted 13 lines · Johan Hovold

Nothing seems to prevent the driver from being built on non-TI platforms so enable compile testing for wider build coverage.

---
  drivers/phy/ti/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/ti/Kconfig +0 -0
index b905902d5750..b40f28019131 100644

drivers/phy/ti/Kconfig config OMAP_CONTROL_PHY · line 68

Quoted 8 lines
drivers/phy/ti/Kconfig +1 -1
@@ -62,7 +62,7 @@ config OMAP_CONTROL_PHY
 
  config OMAP_USB2
  	tristate "OMAP USB2 PHY Driver"
-	depends on ARCH_OMAP2PLUS || ARCH_K3
+	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
  	depends on USB_SUPPORT
  	select GENERIC_PHY
  	select USB_PHY
reviewer Reviewed-by on v1 1/1
#3 lore raw
In reply to Johan Hovold
Quoted 13 lines · Johan Hovold

Nothing seems to prevent the driver from being built on non-TI platforms so enable compile testing for wider build coverage.

---
  drivers/phy/ti/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/ti/Kconfig +0 -0
index b905902d5750..b40f28019131 100644

drivers/phy/ti/Kconfig config OMAP_CONTROL_PHY · line 68

Quoted 8 lines
drivers/phy/ti/Kconfig +1 -1
@@ -62,7 +62,7 @@ config OMAP_CONTROL_PHY
 
  config OMAP_USB2
  	tristate "OMAP USB2 PHY Driver"
-	depends on ARCH_OMAP2PLUS || ARCH_K3
+	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
  	depends on USB_SUPPORT
  	select GENERIC_PHY
  	select USB_PHY
maintainer Applied
#4 lore raw
In reply to Johan Hovold
Quoted 4 lines · Johan Hovold

Nothing seems to prevent the driver from being built on non-TI platforms so enable compile testing for wider build coverage.

Applied, thanks!

[1/1] phy: ti: omap-usb2: enable compile testing

      commit: 8343cfb636261f36796fde0e79a858422eeb0207

Best regards,

Signature · 1 line
~Vinod