aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/tegra/hdmi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c
index 3a00cb078041..ed7c58fa595c 100644
--- a/drivers/gpu/drm/tegra/hdmi.c
+++ b/drivers/gpu/drm/tegra/hdmi.c
@@ -144,7 +144,7 @@ struct tmds_config {
144 u32 drive_current; 144 u32 drive_current;
145}; 145};
146 146
147static const struct tmds_config tegra2_tmds_config[] = { 147static const struct tmds_config tegra20_tmds_config[] = {
148 { /* slow pixel clock modes */ 148 { /* slow pixel clock modes */
149 .pclk = 27000000, 149 .pclk = 27000000,
150 .pll0 = SOR_PLL_BG_V17_S(3) | SOR_PLL_ICHPMP(1) | 150 .pll0 = SOR_PLL_BG_V17_S(3) | SOR_PLL_ICHPMP(1) |
@@ -177,7 +177,7 @@ static const struct tmds_config tegra2_tmds_config[] = {
177 }, 177 },
178}; 178};
179 179
180static const struct tmds_config tegra3_tmds_config[] = { 180static const struct tmds_config tegra30_tmds_config[] = {
181 { /* 480p modes */ 181 { /* 480p modes */
182 .pclk = 27000000, 182 .pclk = 27000000,
183 .pll0 = SOR_PLL_BG_V17_S(3) | SOR_PLL_ICHPMP(1) | 183 .pll0 = SOR_PLL_BG_V17_S(3) | SOR_PLL_ICHPMP(1) |
@@ -704,11 +704,11 @@ static int tegra_output_hdmi_enable(struct tegra_output *output)
704 704
705 /* TMDS CONFIG */ 705 /* TMDS CONFIG */
706 if (of_device_is_compatible(node, "nvidia,tegra30-hdmi")) { 706 if (of_device_is_compatible(node, "nvidia,tegra30-hdmi")) {
707 num_tmds = ARRAY_SIZE(tegra3_tmds_config); 707 num_tmds = ARRAY_SIZE(tegra30_tmds_config);
708 tmds = tegra3_tmds_config; 708 tmds = tegra30_tmds_config;
709 } else { 709 } else {
710 num_tmds = ARRAY_SIZE(tegra2_tmds_config); 710 num_tmds = ARRAY_SIZE(tegra20_tmds_config);
711 tmds = tegra2_tmds_config; 711 tmds = tegra20_tmds_config;
712 } 712 }
713 713
714 for (i = 0; i < num_tmds; i++) { 714 for (i = 0; i < num_tmds; i++) {