drm/tegra: dc: Add Tegra210 support
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
31930d4d08
commit
5b4f516f5c
@ -1828,8 +1828,20 @@ static const struct tegra_dc_soc_info tegra124_dc_soc_info = {
|
|||||||
.has_powergate = true,
|
.has_powergate = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct tegra_dc_soc_info tegra210_dc_soc_info = {
|
||||||
|
.supports_border_color = false,
|
||||||
|
.supports_interlacing = true,
|
||||||
|
.supports_cursor = true,
|
||||||
|
.supports_block_linear = true,
|
||||||
|
.pitch_align = 64,
|
||||||
|
.has_powergate = true,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id tegra_dc_of_match[] = {
|
static const struct of_device_id tegra_dc_of_match[] = {
|
||||||
{
|
{
|
||||||
|
.compatible = "nvidia,tegra210-dc",
|
||||||
|
.data = &tegra210_dc_soc_info,
|
||||||
|
}, {
|
||||||
.compatible = "nvidia,tegra124-dc",
|
.compatible = "nvidia,tegra124-dc",
|
||||||
.data = &tegra124_dc_soc_info,
|
.data = &tegra124_dc_soc_info,
|
||||||
}, {
|
}, {
|
||||||
|
@ -1056,6 +1056,7 @@ static const struct of_device_id host1x_drm_subdevs[] = {
|
|||||||
{ .compatible = "nvidia,tegra124-dc", },
|
{ .compatible = "nvidia,tegra124-dc", },
|
||||||
{ .compatible = "nvidia,tegra124-sor", },
|
{ .compatible = "nvidia,tegra124-sor", },
|
||||||
{ .compatible = "nvidia,tegra124-hdmi", },
|
{ .compatible = "nvidia,tegra124-hdmi", },
|
||||||
|
{ .compatible = "nvidia,tegra210-dc", },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user