HDMI: add dts node "rockchip,defaultmode" to define HDMI default output mode.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
Zheng Yang
2015-03-26 14:40:32 +08:00
parent f62320a527
commit ad446e7a06
6 changed files with 26 additions and 9 deletions

View File

@@ -457,7 +457,7 @@ struct hdmi *rockchip_hdmi_register(struct hdmi_property *property,
} else if (hdmi->autoset) {
hdmi->vic = 0;
} else {
hdmi->vic = HDMI_VIDEO_DEFAULT_MODE;
hdmi->vic = hdmi->property->defaultmode;
}
hdmi->colormode = HDMI_VIDEO_DEFAULT_COLORMODE;
hdmi->colordepth = HDMI_DEPP_COLOR_AUTO;