2022-04-06 14:17:55

by Prabhakar Mahadev Lad

[permalink] [raw]
Subject: [PATCH] reset: Kconfig: Make RESET_RZG2L_USBPHY_CTRL depend on ARCH_RZG2L

The USBPHY Control block is identical on Renesas RZ/G2L and RZ/V2L SoC's,
so instead of adding dependency for each SoC's add dependency on
ARCH_RZG2L. The ARCH_RZG2L config option is already selected by
ARCH_R9A07G044 and ARCH_R9A07G054.

Signed-off-by: Lad Prabhakar <[email protected]>
---
drivers/reset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index b496028b6bfa..e0fc80e041ea 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -183,7 +183,7 @@ config RESET_RASPBERRYPI

config RESET_RZG2L_USBPHY_CTRL
tristate "Renesas RZ/G2L USBPHY control driver"
- depends on ARCH_R9A07G044 || COMPILE_TEST
+ depends on ARCH_RZG2L || COMPILE_TEST
help
Support for USBPHY Control found on RZ/G2L family. It mainly
controls reset and power down of the USB/PHY.
--
2.17.1


2022-04-06 17:18:01

by Philipp Zabel

[permalink] [raw]
Subject: Re: [PATCH] reset: Kconfig: Make RESET_RZG2L_USBPHY_CTRL depend on ARCH_RZG2L

On Mi, 2022-04-06 at 08:16 +0100, Lad Prabhakar wrote:
> The USBPHY Control block is identical on Renesas RZ/G2L and RZ/V2L SoC's,
> so instead of adding dependency for each SoC's add dependency on
> ARCH_RZG2L. The ARCH_RZG2L config option is already selected by
> ARCH_R9A07G044 and ARCH_R9A07G054.
>
> Signed-off-by: Lad Prabhakar <[email protected]>

Thank you, applied to reset/next.

regards
Philipp