regulator: renesas-usb-vbus-regulator: Update the default
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 15 Jul 2024 13:41:12 +0000 (14:41 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jul 2024 14:17:49 +0000 (15:17 +0100)
As the "rzg2l-usb-vbus-regulator" platform device is only created by
drivers/reset/reset-rzg2l-usbphy-ctrl.c, update the default stricter by
replacing ARCH_RZG2L->RESET_RZG2L_USBPHY_CTRL.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Closes: https://lore.kernel.org/all/CAMuHMdX5ayWbLEEa6nAipECVB6H9eCpRg21pu3zYrTdiER0F+Q@mail.gmail.com/
Link: https://patch.msgid.link/20240715134120.312610-1-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig

index 0281a9a..5be4460 100644 (file)
@@ -1639,7 +1639,7 @@ config REGULATOR_RZG2L_VBCTRL
        depends on ARCH_RZG2L || COMPILE_TEST
        depends on OF
        select REGMAP_MMIO
-       default ARCH_RZG2L
+       default RESET_RZG2L_USBPHY_CTRL
        help
          Support for VBUS regulators implemented on Renesas RZ/G2L SoCs.