From: Sandor Yu Date: Mon, 5 Aug 2013 08:12:53 +0000 (+0800) Subject: ENGR00273848-02 iMX6Q/DL HDMI: Enable HDMI function X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f87ac330a7e3bd58f12d7b2eaef225e72b7d6d37;p=karo-tx-linux.git ENGR00273848-02 iMX6Q/DL HDMI: Enable HDMI function Add MX6Q/DL HDMI core and video driver source code. Add MXC edid data read and parse source code. Signed-off-by: Sandor Yu --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index d54e985748b7..043901b09dca 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1148,3 +1148,11 @@ config VEXPRESS_CONFIG help Platform configuration infrastructure for the ARM Ltd. Versatile Express. + +config MFD_MXC_HDMI + tristate "MXC HDMI Core" + select MFD_CORE + default y + help + This is the core driver for the i.MX on-chip HDMI. This MFD + driver connects with the video and audio drivers for HDMI. diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 718e94a2a9a7..41ab2b45e188 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile @@ -155,3 +155,4 @@ obj-$(CONFIG_MFD_LM3533) += lm3533-core.o lm3533-ctrlbank.o obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress-config.o vexpress-sysreg.o obj-$(CONFIG_MFD_RETU) += retu-mfd.o obj-$(CONFIG_MFD_AS3711) += as3711.o +obj-$(CONFIG_MFD_MXC_HDMI) += mxc-hdmi-core.o diff --git a/drivers/mfd/mxc-hdmi-core.c b/drivers/mfd/mxc-hdmi-core.c new file mode 100644 index 000000000000..7da0bf6d003e --- /dev/null +++ b/drivers/mfd/mxc-hdmi-core.c @@ -0,0 +1,785 @@ +/* + * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include