phy: rcar: Add R-Car Gen3 PHY driver
Add a PHY driver for the R-Car Gen3 which allows configuring
USB OTG PHY on Gen3 into host mode and toggles VBUS in case a
dedicated regulator is present.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index bcc8e22..14d82b9 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -118,6 +118,14 @@
PHY connected to USBHS module, PCI EHCI module and USB3.0 module and
allows configuring the module multiplexing.
+config PHY_RCAR_GEN3
+ tristate "Renesas R-Car Gen3 USB PHY"
+ depends on PHY && RCAR_GEN3 && CLK && DM_REGULATOR
+ default y if RCAR_GEN3
+ help
+ Support for the Renesas R-Car Gen3 USB PHY. This driver operates the
+ PHY connected to EHCI USB module and controls USB OTG operation.
+
config PHY_STM32_USBPHYC
tristate "STMicroelectronics STM32 SoC USB HS PHY driver"
depends on PHY && ARCH_STM32MP