phy: rockchip-inno-usb2: add cfgs for phy1 port1 of rk322x SoC
authorWilliam Wu <william.wu@rock-chips.com>
Wed, 17 May 2017 08:34:38 +0000 (16:34 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 18 May 2017 03:34:09 +0000 (11:34 +0800)
commit060d182bfa9a34e974eb4a81989cf5d4b1d986d1
tree5558b93b38627e979229920ef8345ba81ab649b6
parent850b23f6ba9affb949918a8f670ef0a1606c42a2
phy: rockchip-inno-usb2: add cfgs for phy1 port1 of rk322x SoC

This patch adds port configuration for usb2 phy1 port1 of rk322x
SoC. For the current rockchip inno usb2 phy driver framework, it
can only support usb2 phy which comprises with one otg-port and
one host-port.

However, rk322x SoC usb2 phy1 comprises with two host-ports, so
we use otg id index for phy1 port1 configuration, and make phy1
port1 work the same as otg-port host mode.

Change-Id: Iaa10c2438c6b7b052c7f3830252ba4ebd91ff23f
Signed-off-by: William Wu <william.wu@rock-chips.com>
drivers/phy/phy-rockchip-inno-usb2.c