]> Gentwo Git Trees - linux/.git/commitdiff
arm64: tegra: Describe display controller outputs for Tegra210
authorThierry Reding <treding@nvidia.com>
Thu, 6 Aug 2020 15:41:11 +0000 (17:41 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 27 Aug 2020 15:35:58 +0000 (17:35 +0200)
Both display controllers can drive both DSI and both SOR outputs on
Tegra210. Describe this in device tree so that the operating system
doesn't have to guess.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index 829f786af1338d80aab566d6db830f296c320551..27d4e3f134ca48b066e0a5bc55ebc07e33198e21 100644 (file)
@@ -194,6 +194,7 @@ dc@54200000 {
 
                        iommus = <&mc TEGRA_SWGROUP_DC>;
 
+                       nvidia,outputs = <&dsia &dsib &sor0 &sor1>;
                        nvidia,head = <0>;
                };
 
@@ -208,10 +209,11 @@ dc@54240000 {
 
                        iommus = <&mc TEGRA_SWGROUP_DCB>;
 
+                       nvidia,outputs = <&dsia &dsib &sor0 &sor1>;
                        nvidia,head = <1>;
                };
 
-               dsi@54300000 {
+               dsia: dsi@54300000 {
                        compatible = "nvidia,tegra210-dsi";
                        reg = <0x0 0x54300000 0x0 0x00040000>;
                        clocks = <&tegra_car TEGRA210_CLK_DSIA>,
@@ -248,7 +250,7 @@ nvjpg@54380000 {
                        status = "disabled";
                };
 
-               dsi@54400000 {
+               dsib: dsi@54400000 {
                        compatible = "nvidia,tegra210-dsi";
                        reg = <0x0 0x54400000 0x0 0x00040000>;
                        clocks = <&tegra_car TEGRA210_CLK_DSIB>,
@@ -284,7 +286,7 @@ tsec@54500000 {
                        status = "disabled";
                };
 
-               sor@54540000 {
+               sor0: sor@54540000 {
                        compatible = "nvidia,tegra210-sor";
                        reg = <0x0 0x54540000 0x0 0x00040000>;
                        interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
@@ -304,7 +306,7 @@ sor@54540000 {
                        status = "disabled";
                };
 
-               sor@54580000 {
+               sor1: sor@54580000 {
                        compatible = "nvidia,tegra210-sor1";
                        reg = <0x0 0x54580000 0x0 0x00040000>;
                        interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;