phy: amlogic: meson8b-usb2: Don't set REG_ADP_BC_ACA_ENABLE on Meson8
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 12 May 2020 22:24:22 +0000 (00:24 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 15 May 2020 07:46:55 +0000 (13:16 +0530)
commit6b99262fd2f210284b4d17928fd03bee2f5a4fe1
treefa5c5c322741c6b14e34f585f1b41ed35c0ec87e
parentde143a40fa7d0acae4295c3b312ec96cc8dd9cd0
phy: amlogic: meson8b-usb2: Don't set REG_ADP_BC_ACA_ENABLE on Meson8

Skip setting REG_ADP_BC_ACA_ENABLE on Meson8 SoCs and polling for the
REG_ADP_BC_ACA_PIN_FLOAT bit. The vendor also skips this part on Meson8
SoCs.
This fixes initialization of the host-only USB PHY on Meson8 which would
otherwise fail with "USB ID detect failed!".

Fixes: 4a3449d1a0a10c ("phy: meson8b-usb2: add support for the USB PHY on Meson8 SoCs")
Reported-by: Thomas Graichen <thomas.graichen@gmail.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Thomas Graichen <thomas.graichen@gmail.com>
Link: https://lore.kernel.org/r/20200512222424.549351-5-martin.blumenstingl@googlemail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/amlogic/phy-meson8b-usb2.c