dm: video: Repurpose the 'displayport' uclass to 'display'
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:45:00 +0000 (19:45 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:36 +0000 (20:42 -0700)
commit2dcf143398ad89ac960e02c7149521ae420db43b
tree7ab1e2601c2d3322fc2ba19700ba0a0d5c32e6fd
parentcd9c2070ea0712bd69e18236e8b52232fd27b02e
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>
configs/nyan-big_defconfig
drivers/video/Kconfig
drivers/video/Makefile
drivers/video/display-uclass.c [new file with mode: 0644]
drivers/video/dp-uclass.c [deleted file]
drivers/video/tegra124/display.c
drivers/video/tegra124/dp.c
include/display.h [moved from include/displayport.h with 59% similarity]
include/dm/uclass-id.h
include/edid.h