Commit 7124c938 authored by Randy Dunlap's avatar Randy Dunlap Committed by Vinod Koul

phy: ti: fix Kconfig warning and operator precedence

Fix Kconfig depends operator precedence to prevent a Kconfig warning:

WARNING: unmet direct dependencies detected for MUX_MMIO
  Depends on [n]: MULTIPLEXER [=m] && OF [=n]
  Selected by [m]:
  - PHY_AM654_SERDES [=m] && (OF [=n] && ARCH_K3 || COMPILE_TEST [=y]) && COMMON_CLK [=y]

Fixes: 71e2f5c5 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC")
Fixes: 091876cc ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: Kishon Vijay Abraham I <kishon@kernel.org>
Cc: linux-phy@lists.infradead.org
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230110062529.22668-1-rdunlap@infradead.orgSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 1b929c02
...@@ -23,7 +23,7 @@ config PHY_DM816X_USB ...@@ -23,7 +23,7 @@ config PHY_DM816X_USB
config PHY_AM654_SERDES config PHY_AM654_SERDES
tristate "TI AM654 SERDES support" tristate "TI AM654 SERDES support"
depends on OF && ARCH_K3 || COMPILE_TEST depends on OF && (ARCH_K3 || COMPILE_TEST)
depends on COMMON_CLK depends on COMMON_CLK
select GENERIC_PHY select GENERIC_PHY
select MULTIPLEXER select MULTIPLEXER
...@@ -35,7 +35,7 @@ config PHY_AM654_SERDES ...@@ -35,7 +35,7 @@ config PHY_AM654_SERDES
config PHY_J721E_WIZ config PHY_J721E_WIZ
tristate "TI J721E WIZ (SERDES Wrapper) support" 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 HAS_IOMEM && OF_ADDRESS
depends on COMMON_CLK depends on COMMON_CLK
select GENERIC_PHY select GENERIC_PHY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment