ARM: tegra12: tn8:enable DSIC/D DPD mode
Terry Wang [Fri, 10 Jan 2014 08:54:22 +0000 (16:54 +0800)]
Enable DSIC/D DPD mode for p1761/e1784.

Bug 1425612

Change-Id: I054fc7a6363b69fe46d595a16027d7a3ae359028
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/353202
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

arch/arm/mach-tegra/board-ardbeg-panel.c

index 4e35379..edd4b1b 100644 (file)
@@ -558,6 +558,8 @@ static struct tegra_panel *ardbeg_panel_configure(struct board_info *board_out,
        case BOARD_E1807:
                panel = &dsi_a_1200_800_8_0;
                dsi_instance = DSI_INSTANCE_0;
+               tegra_io_dpd_enable(&dsic_io);
+               tegra_io_dpd_enable(&dsid_io);
                break;
        case BOARD_E1937:
                panel = &dsi_a_1200_1920_7_0;
@@ -569,6 +571,8 @@ static struct tegra_panel *ardbeg_panel_configure(struct board_info *board_out,
                else
                        panel = &dsi_a_1200_800_8_0;
                dsi_instance = DSI_INSTANCE_0;
+               tegra_io_dpd_enable(&dsic_io);
+               tegra_io_dpd_enable(&dsid_io);
                break;
        default:
                panel = &dsi_p_wuxga_10_1;