Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] phy: ti: Fix dependencies on COMPILE_TEST
@ 2022-12-06  9:12 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2022-12-06  9:12 UTC (permalink / raw)
  To: linux-phy; +Cc: Kishon Vijay Abraham I, Vinod Koul, Philipp Zabel

MUX_MMIO was recently changed to depend on OF. As a result, it can no
longer be selected when OF is not selected. Attempting to do so
triggers a warning:

kismet: WARNING: unmet direct dependencies detected for MUX_MMIO when selected by PHY_AM654_SERDES

Adjust the dependencies of PHY_DM816X_USB and PHY_AM654_SERDES
accordingly.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
---
Note: the MUX_MMIO change isn't upstream yet, but you can find it in
linux-next:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ea327624ae52936b2c0eccffd9369983ca2d08e3

 drivers/phy/ti/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-6.0.orig/drivers/phy/ti/Kconfig
+++ linux-6.0/drivers/phy/ti/Kconfig
@@ -23,7 +23,7 @@ config PHY_DM816X_USB
 
 config PHY_AM654_SERDES
 	tristate "TI AM654 SERDES support"
-	depends on OF && ARCH_K3 || COMPILE_TEST
+	depends on OF && (ARCH_K3 || COMPILE_TEST)
 	depends on COMMON_CLK
 	select GENERIC_PHY
 	select MULTIPLEXER
@@ -35,7 +35,7 @@ config PHY_AM654_SERDES
 
 config PHY_J721E_WIZ
 	tristate "TI J721E WIZ (SERDES Wrapper) support"
-	depends on OF && ARCH_K3 || COMPILE_TEST
+	depends on OF && (ARCH_K3 || COMPILE_TEST)
 	depends on HAS_IOMEM && OF_ADDRESS
 	depends on COMMON_CLK
 	select GENERIC_PHY


-- 
Jean Delvare
SUSE L3 Support

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-06  9:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-06  9:12 [PATCH] phy: ti: Fix dependencies on COMPILE_TEST Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox