Skip to content

Commit

Permalink
drm/tegra: sor: Add Tegra210 eDP support
Browse files Browse the repository at this point in the history
The SOR found on Tegra210 is very similar to the version found on
Tegra124, except that it no longer supports LVDS.

Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Thierry Reding committed Aug 13, 2015
1 parent 003fc84 commit 3309ac8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,10 @@ of the following host1x client modules:
- sor: serial output resource

Required properties:
- compatible: For Tegra124, must contain "nvidia,tegra124-sor". Otherwise,
must contain '"nvidia,<chip>-sor", "nvidia,tegra124-sor"', where <chip>
is tegra132.
- compatible: Should be:
- "nvidia,tegra124-sor": for Tegra124 and Tegra132
- "nvidia,tegra132-sor": for Tegra132
- "nvidia,tegra210-sor": for Tegra210
- reg: Physical base address and length of the controller's registers.
- interrupts: The interrupt outputs from the controller.
- clocks: Must contain an entry for each entry in clock-names.
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/tegra/drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@ static const struct of_device_id host1x_drm_subdevs[] = {
{ .compatible = "nvidia,tegra132-dsi", },
{ .compatible = "nvidia,tegra210-dc", },
{ .compatible = "nvidia,tegra210-dsi", },
{ .compatible = "nvidia,tegra210-sor", },
{ /* sentinel */ }
};

Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/tegra/sor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1600,6 +1600,7 @@ static int tegra_sor_remove(struct platform_device *pdev)

static const struct of_device_id tegra_sor_of_match[] = {
{ .compatible = "nvidia,tegra124-sor", },
{ .compatible = "nvidia,tegra210-sor", },
{ },
};
MODULE_DEVICE_TABLE(of, tegra_sor_of_match);
Expand Down

0 comments on commit 3309ac8

Please sign in to comment.