dm: video: Add a operation to display uclass
authorJacob Chen <jacob-chen@iotwrt.com>
Mon, 14 Mar 2016 03:20:14 +0000 (11:20 +0800)
committerAnatolij Gustschin <agust@denx.de>
Mon, 14 Mar 2016 21:01:26 +0000 (22:01 +0100)
commiteab314f5909dba208d4cb7dc5aac6ee707d5d171
tree9e4064a3f29710421e9127baba49d806f2babbcb
parentdf61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa
dm: video: Add a operation to display uclass

The current display class only allow to get timing from edid.
So add a operation to get timing directly from driver.
In driver, I will use fdtdec_decode_display_timing to get timing.

Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/video/display-uclass.c
include/display.h