phy: rockchip-inno-mipi-dphy: use phy_set_bus_width() to set the lane mbps
authorWeiYong Bi <bivvy.bi@rock-chips.com>
Wed, 29 Mar 2017 09:48:09 +0000 (17:48 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 7 Apr 2017 06:23:05 +0000 (14:23 +0800)
commit7f2f388565d76fa88fc6e6d2ca2ffcb66af036be
treeb0a3f1f419c5ed7a70c34e544fee00cdefa03e74
parent0a95d11068a459d35607f6af6e2b2d5ce9052cb8
phy: rockchip-inno-mipi-dphy: use phy_set_bus_width() to set the lane mbps

We use phy_set_bus_width() to set the lane rate that the PHY supports.
The controller driver may then use phy_get_bus_width() to fetch the
PHY lane rate in order to properly configure the controller.

Change-Id: I116f0d82ad187806914c0d566eab92b922f143ef
Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com>
drivers/phy/phy-rockchip-inno-mipi-dphy.c