OSDN Git Service

phy: amlogic: meson8b-usb2: unset the IDDQ bit during PHY power-on
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 12 May 2020 22:24:23 +0000 (00:24 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 15 May 2020 07:46:55 +0000 (13:16 +0530)
commit7cafc01744067cfaac2d5c0342e6f5deb377100a
tree4ff0055b312db4c0c94a1be3dbaf2cb4f39f751e
parent6b99262fd2f210284b4d17928fd03bee2f5a4fe1
phy: amlogic: meson8b-usb2: unset the IDDQ bit during PHY power-on

The vendor driver unsets the set_iddig bit during power-on as well and
sets it when suspending the PHY. I did not notice this in the vendor
driver first, because it's part of the dwc_otg driver there (instead of
their PHY code). While here, also add all other REG_DBG_UART register
bit definitions.

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-6-martin.blumenstingl@googlemail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/amlogic/phy-meson8b-usb2.c