phy: add cp_test callback
authorWilliam Wu <wulf@rock-chips.com>
Tue, 21 Feb 2017 11:43:02 +0000 (19:43 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 22 Feb 2017 06:18:11 +0000 (14:18 +0800)
commit4224e942fdbd73c47d59f4bee4bdbecd91a43822
tree6700daea65aa29a480689791e2d812e366d9975b
parentd4179fa84050324620c201e217a7f86e08ef577d
phy: add cp_test callback

There are several SoCs (e.g. rk3228h and rk3328) that integrated
with Inno USB3 PHY, they can't toggle CP test pattern when do
USB3 compliance test by default.

This patch add a cp_test callback for USB3 controller to enable
the special USB3 PHY to toggle the CP test pattern.

Change-Id: I2d603202723a4c044d4231af10cfe2c60ec0e988
Signed-off-by: William Wu <wulf@rock-chips.com>
drivers/phy/phy-core.c
include/linux/phy/phy.h