]> git.baikalelectronics.ru Git - kernel.git/commitdiff
reset: Kconfig: Make RESET_RZG2L_USBPHY_CTRL depend on ARCH_RZG2L
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Wed, 6 Apr 2022 07:16:47 +0000 (08:16 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 3 May 2022 15:41:28 +0000 (17:41 +0200)
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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20220406071647.14037-1-prabhakar.mahadev-lad.rj@bp.renesas.com
drivers/reset/Kconfig

index b496028b6bfafb94a811de4268718002b571ecc7..e0fc80e041eaab21053378795ac9bbad94a20f94 100644 (file)
@@ -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.