diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 7ff67e5..2457bb9 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -127,6 +127,14 @@ The MTL017 is a parallel to lvds video encoder chip found on the Efika MX Smartbook. +config DRIVER_VIDEO_TC358767 + bool "TC358767A Display Port encoder" + select VIDEO_VPL + depends on I2C + depends on OFTREE + help + The TC358767A is a DSI/DPI to eDP video encoder chip + config DRIVER_VIDEO_SIMPLE_PANEL bool "Simple panel support" select VIDEO_VPL diff --git a/drivers/video/Makefile b/drivers/video/Makefile index a64fc5f..1bf2e1f 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -6,6 +6,7 @@ obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbconsole.o obj-$(CONFIG_VIDEO_VPL) += vpl.o obj-$(CONFIG_DRIVER_VIDEO_MTL017) += mtl017.o +obj-$(CONFIG_DRIVER_VIDEO_TC358767) += tc358767.o obj-$(CONFIG_DRIVER_VIDEO_SIMPLE_PANEL) += simple-panel.o obj-$(CONFIG_DRIVER_VIDEO_ATMEL) += atmel_lcdfb.o atmel_lcdfb_core.o diff --git a/drivers/video/edid.c b/drivers/video/edid.c index 92b59a5..2585264 100644 --- a/drivers/video/edid.c +++ b/drivers/video/edid.c @@ -792,7 +792,6 @@ return 0; out: - free(timings); free(mode); return ret; } diff --git a/drivers/video/imx-ipu-v3/imx-hdmi.c b/drivers/video/imx-ipu-v3/imx-hdmi.c index 8b251a5..17b6e4c 100644 --- a/drivers/video/imx-ipu-v3/imx-hdmi.c +++ b/drivers/video/imx-ipu-v3/imx-hdmi.c @@ -22,6 +22,7 @@ #include #include #include +#include