Skip to content
Snippets Groups Projects
Commit cc232a9d authored by Jernej Skrabec's avatar Jernej Skrabec Committed by Simon Glass
Browse files

rockchip: video: Split out HDMI controller code


Designware HDMI controller and phy are used in other SoCs as well. Split
out platform independent code.

DW HDMI has 8 bit registers but they can be represented as 32 bit
registers as well. Add support to select access mode.

EDID reading code use reading by blocks which is not supported by other
SoCs in general. Make it more general using byte by byte approach, which
is also used in Linux driver.

Finally, not all DW HDMI controllers are accompanied with DW HDMI phy.
Support custom phys by making controller code independent from phy code.

Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@siol.net>
Tested-by: default avatarNickey Yang <nickey.yang@rock-chips.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 02a7d833
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment