
On Sat, 30 Jan 2016 16:37:50 -0700 Simon Glass sjg@chromium.org wrote:
Adjust the driver to use driver model. The SOR becomes a bridge device. We use the normal simple_panel driver to handle the display itself. We also need to enable some options such as regulators, PWMs and DM_VIDEO itself.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
configs/nyan-big_defconfig | 9 +++ drivers/video/Kconfig | 1 + drivers/video/simple_panel.c | 1 + drivers/video/tegra124/display.c | 169 ++++++++++++++++----------------------- drivers/video/tegra124/dp.c | 53 ++++++++---- drivers/video/tegra124/sor.c | 162 +++++++++++++++++++++++++------------ drivers/video/tegra124/sor.h | 45 +++++------ include/configs/nyan-big.h | 2 - include/fdtdec.h | 1 - lib/fdtdec.c | 1 - 10 files changed, 246 insertions(+), 198 deletions(-)
Acked-by: Anatolij Gustschin agust@denx.de