summaryrefslogtreecommitdiffstats
path: root/drivers/video/tegra/dc/rgb.c
diff options
context:
space:
mode:
authorJeff Smith <jsmith@nvidia.com>2012-11-06 04:05:01 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:03:58 -0400
commit75e21e5aa7c0ca04cde3d7d4e23369bddaf1803e (patch)
tree4c371c19c26977bc1762630dec2ba405917e3ad8 /drivers/video/tegra/dc/rgb.c
parent705e5f8a6310a5afe9943df33388289d727b4a12 (diff)
video: tegra: dc: Move to new pre-si config
Change-Id: I6ba0c4ed862536167867b5ab3364f2a053d72b29 Signed-off-by: Jeff Smith <jsmith@nvidia.com> Reviewed-on: http://git-master/r/161707 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/rgb.c')
-rw-r--r--drivers/video/tegra/dc/rgb.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/video/tegra/dc/rgb.c b/drivers/video/tegra/dc/rgb.c
index fbd6ff1fb..c5035b46d 100644
--- a/drivers/video/tegra/dc/rgb.c
+++ b/drivers/video/tegra/dc/rgb.c
@@ -57,14 +57,7 @@ static const u32 tegra_dc_rgb_enable_out_sel_pintable[] = {
57 DC_COM_PIN_OUTPUT_SELECT0, 0x00000000, 57 DC_COM_PIN_OUTPUT_SELECT0, 0x00000000,
58 DC_COM_PIN_OUTPUT_SELECT1, 0x00000000, 58 DC_COM_PIN_OUTPUT_SELECT1, 0x00000000,
59 DC_COM_PIN_OUTPUT_SELECT2, 0x00000000, 59 DC_COM_PIN_OUTPUT_SELECT2, 0x00000000,
60#ifdef CONFIG_TEGRA_SILICON_PLATFORM
61 DC_COM_PIN_OUTPUT_SELECT3, 0x00000000, 60 DC_COM_PIN_OUTPUT_SELECT3, 0x00000000,
62#else
63 /* The display panel sub-board used on FPGA platforms (panel 86)
64 is non-standard. It expects the Data Enable signal on the WR
65 pin instead of the DE pin. */
66 DC_COM_PIN_OUTPUT_SELECT3, 0x00200000,
67#endif
68 DC_COM_PIN_OUTPUT_SELECT4, 0x00210222, 61 DC_COM_PIN_OUTPUT_SELECT4, 0x00210222,
69 DC_COM_PIN_OUTPUT_SELECT5, 0x00002200, 62 DC_COM_PIN_OUTPUT_SELECT5, 0x00002200,
70 DC_COM_PIN_OUTPUT_SELECT6, 0x00020000, 63 DC_COM_PIN_OUTPUT_SELECT6, 0x00020000,
@@ -115,6 +108,12 @@ static void tegra_dc_rgb_enable(struct tegra_dc *dc)
115 memcpy(out_sel_pintable, tegra_dc_rgb_enable_out_sel_pintable, 108 memcpy(out_sel_pintable, tegra_dc_rgb_enable_out_sel_pintable,
116 sizeof(tegra_dc_rgb_enable_out_sel_pintable)); 109 sizeof(tegra_dc_rgb_enable_out_sel_pintable));
117 110
111 /* The display panel sub-board used on FPGA platforms (panel 86)
112 is non-standard. It expects the Data Enable signal on the WR
113 pin instead of the DE pin. */
114 if (tegra_platform_is_fpga())
115 out_sel_pintable[3*2+1] = 0x00200000;
116
118 if (dc->out && dc->out->out_sel_configs) { 117 if (dc->out && dc->out->out_sel_configs) {
119 u8 *out_sels = dc->out->out_sel_configs; 118 u8 *out_sels = dc->out->out_sel_configs;
120 for (i = 0; i < dc->out->n_out_sel_configs; i++) { 119 for (i = 0; i < dc->out->n_out_sel_configs; i++) {