video: tegra: dc: Add DP/LVDS support to dc/ext
Chao Xu [Sat, 8 Jun 2013 01:00:42 +0000 (18:00 -0700)]
Change-Id: I49617eedb7f5dd65fb032f9c9972612a75d01523
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/242519

drivers/video/tegra/dc/ext/control.c
include/video/tegra_dc_ext.h

index 9f7b59f..260480e 100644 (file)
@@ -56,6 +56,12 @@ get_output_properties(struct tegra_dc_ext_control_output_properties *properties)
        case TEGRA_DC_OUT_HDMI:
                properties->type = TEGRA_DC_EXT_HDMI;
                break;
+       case TEGRA_DC_OUT_LVDS:
+               properties->type = TEGRA_DC_EXT_LVDS;
+               break;
+       case TEGRA_DC_OUT_DP:
+               properties->type = TEGRA_DC_EXT_DP;
+               break;
        default:
                return -EINVAL;
        }
index 8f35a46..06ad144 100644 (file)
@@ -341,6 +341,7 @@ enum tegra_dc_ext_control_output_type {
        TEGRA_DC_EXT_VGA,
        TEGRA_DC_EXT_HDMI,
        TEGRA_DC_EXT_DVI,
+       TEGRA_DC_EXT_DP,
 };
 
 /*