[U-Boot] [PATCH v2 12/37] dm: video: Repurpose the 'displayport' uclass to 'display'

Simon Glass sjg at chromium.org
Fri Jan 22 19:38:20 CET 2016


On 21 January 2016 at 19:45, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v2: None
>
>  configs/nyan-big_defconfig           |  2 +-
>  drivers/video/Kconfig                | 13 +++++----
>  drivers/video/Makefile               |  2 +-
>  drivers/video/display-uclass.c       | 52 ++++++++++++++++++++++++++++++++++++
>  drivers/video/dp-uclass.c            | 34 -----------------------
>  drivers/video/tegra124/display.c     | 18 ++++---------
>  drivers/video/tegra124/dp.c          |  9 ++++---
>  include/{displayport.h => display.h} | 33 ++++++++++++++---------
>  include/dm/uclass-id.h               |  2 +-
>  include/edid.h                       |  1 +
>  10 files changed, 95 insertions(+), 71 deletions(-)
>  create mode 100644 drivers/video/display-uclass.c
>  delete mode 100644 drivers/video/dp-uclass.c
>  rename include/{displayport.h => display.h} (59%)

Applied to u-boot-rockchip.


More information about the U-Boot mailing list