phy: renesas: phy-rcar-gen3-usb2: Add USB2.0 PHY support for RZ/G2L
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 27 Jul 2021 18:55:24 +0000 (19:55 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 6 Aug 2021 12:42:30 +0000 (18:12 +0530)
commitb0512a6ec0cd6dcea659d834592bbcb0cae127a4
treee705e91bee03efef6d7ef3de9b49d57299973a0c
parent5711af410c28d2b9c99a91e8e6fe9ba6520771f0
phy: renesas: phy-rcar-gen3-usb2: Add USB2.0 PHY support for RZ/G2L

This patch adds USB2.0 PHY support for RZ/G2L SoC.

We need to use a different compatible string due to some differences
with R-Car Gen3 USB2.0 PHY. It uses line ctrl register for OTG_ID
pin changes and different OTG-BC interrupt bit for device recognition.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> # on R-Car
Link: https://lore.kernel.org/r/20210727185527.19907-4-biju.das.jz@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/renesas/phy-rcar-gen3-usb2.c