summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-04-19 16:19:30 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit54693cbdca5724b8946d0522a736e8a49fa14c0c (patch)
treeef7061f73cf1808b96d1f5b16b07b0cda816d8a2 /arch
parent9fdfadf8fc83b173b3ba55aa82739ca92d8a273d (diff)
downloadu-boot-imx-54693cbdca5724b8946d0522a736e8a49fa14c0c.zip
u-boot-imx-54693cbdca5724b8946d0522a736e8a49fa14c0c.tar.gz
u-boot-imx-54693cbdca5724b8946d0522a736e8a49fa14c0c.tar.bz2
video: tegra: refuse to bind to disabled dcs
This prevents the following boot-time message on any board where only the first DC is in use, yet the DC's DT node is enabled: stdio_add_devices: Video device failed (ret=-22) (This happens on at least Harmony, Ventana, and likely any other Tegra20 board with display enabled other than Seaboard). The Tegra DC's DT node represents a display controller. It may itself drive an integrated RGB display output, or be used by some other display controller such as HDMI. For this reason the DC node itself is not enabled/disabled in DT; the DC itself is considered a shared resource, not the final (board-specific) display output. The node should instantiate a display output driver only if the rgb subnode is enabled. Other output drivers are free to use the DC if they are enabled and their DT node references the DC's DT node. Adapt the Tegra display drivers' bind() routine to only bind to the DC's DT node if the RGB subnode is enabled. Now that the display driver does the right thing, remove the workaround for this issue from Seaboard's DT file. Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/tegra20-seaboard.dts4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/dts/tegra20-seaboard.dts b/arch/arm/dts/tegra20-seaboard.dts
index eada590..5893d2a 100644
--- a/arch/arm/dts/tegra20-seaboard.dts
+++ b/arch/arm/dts/tegra20-seaboard.dts
@@ -40,10 +40,6 @@
nvidia,panel = <&lcd_panel>;
};
};
-
- dc@54240000 {
- status = "disabled";
- };
};
/* This is not used in U-Boot, but is expected to be in kernel .dts */