]> git.baikalelectronics.ru Git - kernel.git/commit
phy: meson8b-usb2: request a shared reset line
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 12 Nov 2016 13:13:04 +0000 (14:13 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 18 Nov 2016 12:49:14 +0000 (18:19 +0530)
commit9f58fec48b01ec30ce63e26902294b547fa861a0
tree7ce845d2332bf046d3d47febc2d3a4e7f0071747
parent5e0f6892c57946a82b1dc3e9e1d27db5ed14014c
phy: meson8b-usb2: request a shared reset line

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>
drivers/phy/phy-meson8b-usb2.c