phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect
authorHans de Goede <hdegoede@redhat.com>
Sun, 29 Mar 2015 10:50:46 +0000 (12:50 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 27 May 2015 17:20:36 +0000 (12:20 -0500)
commit24fe86a617c550fb9bdc6c8bd7cf647d3955f8ba
tree64618dd2e6e7af38b76e0a710d1408e3c85e4517
parent7a64c7283ef83c82cb2125339c5d12092256614e
phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect

The sunxi otg phy has a bug where it wrongly detects a high speed squelch
when reset on the root port gets de-asserted with a lo-speed device.

The workaround for this is to disable squelch detect before de-asserting
reset, and re-enabling it after the reset de-assert is done. Add a sunxi
specific phy function to allow the sunxi-musb glue to do this.

Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/phy/phy-sun4i-usb.c
include/linux/phy/phy-sun4i-usb.h [new file with mode: 0644]
This page took 0.028114 seconds and 5 git commands to generate.