dt->flags |= val ? DISPLAY_FLAGS_SWAP_RB : 0;
if (!of_property_read_u32(np, "screen-type", &val))
dt->screen_type = val;
+ if (!of_property_read_u32(np, "refresh-mode", &val))
+ dt->refresh_mode = val;
+ else
+ dt->refresh_mode = 0;
if (!of_property_read_u32(np, "lvds-format", &val))
dt->lvds_format = val;
if (!of_property_read_u32(np, "out-face", &val))
dt->face = val;
if (!of_property_read_u32(np, "color-mode", &val))
- dt->color_mode = val;
+ dt->color_mode = val;
+ if (!of_property_read_u32(np, "screen-width", &val))
+ dt->screen_widt = val;
+ if (!of_property_read_u32(np, "screen-hight", &val))
+ dt->screen_hight = val;
prop = of_find_property(np, "dsp-lut", &length);
if (prop) {
dt->dsp_lut = kzalloc(length, GFP_KERNEL);