Skip to content

Commit

Permalink
drm: tegra: Add Tegra30 support
Browse files Browse the repository at this point in the history
Add support for host1x, the display controllers and HDMI on the Tegra30
SoC.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Thierry Reding authored and Dave Airlie committed Nov 28, 2012
1 parent ac8f7c4 commit 219e815
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/gpu/drm/tegra/dc.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,7 @@ static int tegra_dc_remove(struct platform_device *pdev)
}

static struct of_device_id tegra_dc_of_match[] = {
{ .compatible = "nvidia,tegra30-dc", },
{ .compatible = "nvidia,tegra20-dc", },
{ },
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/tegra/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1318,8 +1318,8 @@ static int tegra_hdmi_remove(struct platform_device *pdev)
}

static struct of_device_id tegra_hdmi_of_match[] = {
{ .compatible = "nvidia,tegra20-hdmi", },
{ .compatible = "nvidia,tegra30-hdmi", },
{ .compatible = "nvidia,tegra20-hdmi", },
{ },
};

Expand Down
3 changes: 3 additions & 0 deletions drivers/gpu/drm/tegra/host1x.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ static int host1x_parse_dt(struct host1x *host1x)
static const char * const compat[] = {
"nvidia,tegra20-dc",
"nvidia,tegra20-hdmi",
"nvidia,tegra30-dc",
"nvidia,tegra30-hdmi",
};
unsigned int i;
int err;
Expand Down Expand Up @@ -268,6 +270,7 @@ int host1x_unregister_client(struct host1x *host1x,
}

static struct of_device_id tegra_host1x_of_match[] = {
{ .compatible = "nvidia,tegra30-host1x", },
{ .compatible = "nvidia,tegra20-host1x", },
{ },
};
Expand Down

0 comments on commit 219e815

Please sign in to comment.