drm/tegra: sor: Add Tegra210 eDP support
authorThierry Reding <treding@nvidia.com>
Thu, 30 Jul 2015 08:32:46 +0000 (10:32 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:49:36 +0000 (13:49 +0200)
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>
Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/sor.c

index 009f4bfa1590cc1689097954f5bc8c37e3fad095..6261159112822309036d371f5c8154e44b059136 100644 (file)
@@ -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.
index 1993ab90226a515d3037d56020da52861fa0bc96..dfbbd88b040f557ff1e67f965bb1ea9b6182b81c 100644 (file)
@@ -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 */ }
 };
 
index a7214e99bb3617ec5f54eebb7ccef957261da849..8495478d1e15aa9664f8bf611f0aaeb1cdbdee1d 100644 (file)
@@ -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);