public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] phy: ti: fix Kconfig warning and operator precedence
@ 2023-01-10  6:25 Randy Dunlap
  2023-01-11  7:55 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2023-01-10  6:25 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Vinod Koul, Kishon Vijay Abraham I, linux-phy,
	Arnd Bergmann

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: 71e2f5c5c224 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC")
Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC")

Signed-off-by: Randy 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>
---
 drivers/phy/ti/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -- a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig
--- a/drivers/phy/ti/Kconfig
+++ b/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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] phy: ti: fix Kconfig warning and operator precedence
  2023-01-10  6:25 [PATCH] phy: ti: fix Kconfig warning and operator precedence Randy Dunlap
@ 2023-01-11  7:55 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2023-01-11  7:55 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-kernel, Kishon Vijay Abraham I, linux-phy, Arnd Bergmann

On 09-01-23, 22:25, Randy Dunlap wrote:
> 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: 71e2f5c5c224 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC")
> Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC")
> 

Please no blank line here

Applied, after fixing this

-- 
~Vinod

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-11  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-10  6:25 [PATCH] phy: ti: fix Kconfig warning and operator precedence Randy Dunlap
2023-01-11  7:55 ` Vinod Koul

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