mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
phy: rockchip: mipi-dcphy: fix HSTX_CLK_SEL config
set HSTX_CLK_SEL 1`b1 when cphy lane rate under 500Msps, while set HSTX_CLK_SEL 1`b1 when dphy lane rate under 1500Mbps Change-Id: Ic42ce385c1952febe0327594231f6bffb2543c5e Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
This commit is contained in:
@@ -1466,9 +1466,9 @@ static void samsung_mipi_cphy_timing_init(struct samsung_mipi_dcphy *samsung)
|
||||
|
||||
/*
|
||||
* Divide-by-2 Clock from Serial Clock. Use this when data rate is under
|
||||
* 1500Mbps, otherwise divide-by-16 Clock from Serial Clock
|
||||
* 500Msps, otherwise divide-by-16 Clock from Serial Clock
|
||||
*/
|
||||
if (lane_hs_rate < 1500)
|
||||
if (lane_hs_rate < 500)
|
||||
val = HSTX_CLK_SEL;
|
||||
|
||||
val |= T_LPX(timing->lpx);
|
||||
|
||||
Reference in New Issue
Block a user