summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-meson8b-usb2.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* phy: meson8b-usb2: fix offsets for some of the registersMartin Blumenstingl2017-04-101-3/+3
| | | | | | | | | | The register offsets for REG_DBG_UART (and all following) were off by 0x4. This was not a problem yet because these registers are currently not used by the driver. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
* phy: meson8b-usb2: request a shared reset lineMartin Blumenstingl2016-11-181-2/+1
| | | | | | | | | | | | | Both PHYs are sharing one reset line. With recent improvements to the reset framework we can now also use reset_control_reset with shared resets. This allows us to drop some workarounds where the reset was only specified for one PHY but not the other, to make sure that the reset it only executed once (as the reset framework was not able to use reset_control_reset with shared reset lines). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
* phy: meson8b-usb2: fix missing clk_disable_unprepare() on errorWei Yongjun2016-11-181-0/+3
| | | | | | | | Fix the missing clk_disable_unprepare() before return from phy_meson8b_usb2_power_on() in the error handling case. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
* phy: meson: add USB2 PHY support for Meson8b and GXBBMartin Blumenstingl2016-11-181-0/+284
This is a new driver for the USB PHY found in Meson8b and GXBB SoCs. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>