summaryrefslogtreecommitdiffstats
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 19:45:00 -0700
committerSimon Glass <sjg@chromium.org>2016-01-21 20:42:36 -0700
commit2dcf143398ad89ac960e02c7149521ae420db43b (patch)
tree7ab1e2601c2d3322fc2ba19700ba0a0d5c32e6fd /include/dm
parentcd9c2070ea0712bd69e18236e8b52232fd27b02e (diff)
downloadblackbird-obmc-uboot-2dcf143398ad89ac960e02c7149521ae420db43b.tar.gz
blackbird-obmc-uboot-2dcf143398ad89ac960e02c7149521ae420db43b.zip
dm: video: Repurpose the 'displayport' uclass to 'display'
The current DisplayPort uclass is too specific. The operations it provides are shared with other types of output devices, such as HDMI and LVDS LCD displays. Generalise the uclass so that it can be used with these devices as well. Adjust the uclass to handle the EDID reading and conversion to display_timing internally. Also update nyan-big which is affected by this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 8308c238ca..8391e381fa 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -29,7 +29,7 @@ enum uclass_id {
UCLASS_CLK, /* Clock source, e.g. used by peripherals */
UCLASS_CPU, /* CPU, typically part of an SoC */
UCLASS_CROS_EC, /* Chrome OS EC */
- UCLASS_DISPLAY_PORT, /* Display port video */
+ UCLASS_DISPLAY, /* Display (e.g. DisplayPort, HDMI) */
UCLASS_RAM, /* RAM controller */
UCLASS_ETH, /* Ethernet device */
UCLASS_GPIO, /* Bank of general-purpose I/O pins */
OpenPOWER on IntegriCloud