Commit 219e8153 authored by Thierry Reding's avatar Thierry Reding Committed by Dave Airlie

drm: tegra: Add Tegra30 support

Add support for host1x, the display controllers and HDMI on the Tegra30
SoC.
Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
Tested-by: default avatarMark Zhang <markz@nvidia.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent ac8f7c48
...@@ -818,6 +818,7 @@ static int tegra_dc_remove(struct platform_device *pdev) ...@@ -818,6 +818,7 @@ static int tegra_dc_remove(struct platform_device *pdev)
} }
static struct of_device_id tegra_dc_of_match[] = { static struct of_device_id tegra_dc_of_match[] = {
{ .compatible = "nvidia,tegra30-dc", },
{ .compatible = "nvidia,tegra20-dc", }, { .compatible = "nvidia,tegra20-dc", },
{ }, { },
}; };
......
...@@ -1318,8 +1318,8 @@ static int tegra_hdmi_remove(struct platform_device *pdev) ...@@ -1318,8 +1318,8 @@ static int tegra_hdmi_remove(struct platform_device *pdev)
} }
static struct of_device_id tegra_hdmi_of_match[] = { static struct of_device_id tegra_hdmi_of_match[] = {
{ .compatible = "nvidia,tegra20-hdmi", },
{ .compatible = "nvidia,tegra30-hdmi", }, { .compatible = "nvidia,tegra30-hdmi", },
{ .compatible = "nvidia,tegra20-hdmi", },
{ }, { },
}; };
......
...@@ -68,6 +68,8 @@ static int host1x_parse_dt(struct host1x *host1x) ...@@ -68,6 +68,8 @@ static int host1x_parse_dt(struct host1x *host1x)
static const char * const compat[] = { static const char * const compat[] = {
"nvidia,tegra20-dc", "nvidia,tegra20-dc",
"nvidia,tegra20-hdmi", "nvidia,tegra20-hdmi",
"nvidia,tegra30-dc",
"nvidia,tegra30-hdmi",
}; };
unsigned int i; unsigned int i;
int err; int err;
...@@ -268,6 +270,7 @@ int host1x_unregister_client(struct host1x *host1x, ...@@ -268,6 +270,7 @@ int host1x_unregister_client(struct host1x *host1x,
} }
static struct of_device_id tegra_host1x_of_match[] = { static struct of_device_id tegra_host1x_of_match[] = {
{ .compatible = "nvidia,tegra30-host1x", },
{ .compatible = "nvidia,tegra20-host1x", }, { .compatible = "nvidia,tegra20-host1x", },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment