mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
rockchip: correctly set vop0 or vop1
The EDP_LCDC_SEL bit has to be set correctly to select vop0 or vop1, but so far we have set it in both conditions, which is not correct. Can someone verify this is the correct way round? vop1 -> set, vop0 -> clear? Signed-off-by: Patrick Wildt <patrick@blueri.se> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
5e15dcb4cb
commit
673eb44e91
1 changed files with 2 additions and 1 deletions
|
@ -1062,7 +1062,8 @@ static int rk_edp_probe(struct udevice *dev)
|
|||
rk_setreg(&priv->grf->soc_con12, 1 << 4);
|
||||
|
||||
/* select epd signal from vop0 or vop1 */
|
||||
rk_setreg(&priv->grf->soc_con6, (vop_id == 1) ? (1 << 5) : (1 << 5));
|
||||
rk_clrsetreg(&priv->grf->soc_con6, (1 << 5),
|
||||
(vop_id == 1) ? (1 << 5) : (0 << 5));
|
||||
|
||||
rockchip_edp_wait_hpd(priv);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue