phy: rockchip-inno-usb3: add phy_cp_test function for u3phy
authorWilliam Wu <wulf@rock-chips.com>
Tue, 21 Feb 2017 12:00:51 +0000 (20:00 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 22 Feb 2017 06:18:58 +0000 (14:18 +0800)
commit9053aa40d0532beeecc5c0a452c362ff408d839e
tree523714f21da3f70492fd39579b1648a52986d23f
parent4224e942fdbd73c47d59f4bee4bdbecd91a43822
phy: rockchip-inno-usb3: add phy_cp_test function for u3phy

The Inno USB3 PHY disable the ability to toggle the CP test
pattern by default. But when do do USB3 compliance test, it
need to change the CP test pattern according to the requirement
of oscilloscope.

This patch add phy_cp_test function to enable the USB3 PHY
to detect the negative pulse which from the Aux Out of the
oscilloscope in SSRX+, and then the USB3 PHY can toggle the
CP test pattern while do USB3 compliance test.

Change-Id: Idbdf937a7a032dcedfd5f207b2d6d5961ed27b15
Signed-off-by: William Wu <wulf@rock-chips.com>
drivers/phy/phy-rockchip-inno-usb3.c