drm/tegra: hdmi: Rename tegra{2,3} to tegra{20,30}
authorThierry Reding <treding@nvidia.com>
Mon, 30 Sep 2013 13:14:41 +0000 (15:14 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:42 +0000 (09:55 +0100)
Everything related to Tegra uses Tegra20 and Tegra30 instead of Tegra2
and Tegra3, respectively. Rename the TMDS arrays in the HDMI driver for
consistency.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hdmi.c

index 3a00cb07804159562b02c0d591745c032a5455fc..ed7c58fa595c8f293c637bdec127b85f1c5bd94e 100644 (file)
@@ -144,7 +144,7 @@ struct tmds_config {
        u32 drive_current;
 };
 
-static const struct tmds_config tegra2_tmds_config[] = {
+static const struct tmds_config tegra20_tmds_config[] = {
        { /* slow pixel clock modes */
                .pclk = 27000000,
                .pll0 = SOR_PLL_BG_V17_S(3) | SOR_PLL_ICHPMP(1) |
@@ -177,7 +177,7 @@ static const struct tmds_config tegra2_tmds_config[] = {
        },
 };
 
-static const struct tmds_config tegra3_tmds_config[] = {
+static const struct tmds_config tegra30_tmds_config[] = {
        { /* 480p modes */
                .pclk = 27000000,
                .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)
 
        /* TMDS CONFIG */
        if (of_device_is_compatible(node, "nvidia,tegra30-hdmi")) {
-               num_tmds = ARRAY_SIZE(tegra3_tmds_config);
-               tmds = tegra3_tmds_config;
+               num_tmds = ARRAY_SIZE(tegra30_tmds_config);
+               tmds = tegra30_tmds_config;
        } else {
-               num_tmds = ARRAY_SIZE(tegra2_tmds_config);
-               tmds = tegra2_tmds_config;
+               num_tmds = ARRAY_SIZE(tegra20_tmds_config);
+               tmds = tegra20_tmds_config;
        }
 
        for (i = 0; i < num_tmds; i++) {
This page took 0.043293 seconds and 5 git commands to generate.