From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 09 Jul 2013 13:40:33 +0000 Subject: Re: [PATCH 1/1] OMAPDSS: Add sil9022 driver Message-Id: <20130709134033.GD18477@ns203013.ovh.net> List-Id: References: <1373360825-25170-1-git-send-email-sathyap@ti.com> In-Reply-To: <1373360825-25170-1-git-send-email-sathyap@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Sathya Prakash M R Cc: tomi.valkeinen@ti.com, archit@ti.com, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, Srinivas Pulukuru HI, Tomi can you take a look at this one your are back Best Regards, J. On 14:37 Tue 09 Jul , Sathya Prakash M R wrote: > From: Srinivas Pulukuru > > Add driver for SIL9022 DPI-to-HDMI chip. > > Signed-off-by: Srinivas Pulukuru > [sathyap@ti.com: Ported the driver from 2.6.32 based internal > kernel to v3.10 kernel] > Signed-off-by: Sathya Prakash M R > --- > This patch was tested using the legacy OMAP3630 based Zoom3 platform. > There is no DT support for Zoom , hence board file changes > made locally were used for validation purpose. > Further, DT support will be added for a newer SOC which uses > the sil9022 HDMI interface chip. > > drivers/video/omap2/displays/Kconfig | 8 + > drivers/video/omap2/displays/Makefile | 1 + > drivers/video/omap2/displays/panel-sil9022.c | 1274 ++++++++++++++++++++++++++ > drivers/video/omap2/displays/panel-sil9022.h | 527 +++++++++++ > 4 files changed, 1810 insertions(+) > create mode 100644 drivers/video/omap2/displays/panel-sil9022.c > create mode 100644 drivers/video/omap2/displays/panel-sil9022.h > > diff --git a/drivers/video/omap2/displays/Kconfig b/drivers/video/omap2/displays/Kconfig > index c3853c9..53d8bb7 100644 > --- a/drivers/video/omap2/displays/Kconfig > +++ b/drivers/video/omap2/displays/Kconfig > @@ -39,6 +39,14 @@ config PANEL_NEC_NL8048HL11_01B > This NEC NL8048HL11-01B panel is TFT LCD > used in the Zoom2/3/3630 sdp boards. > > +config PANEL_SIL9022 > + tristate "HDMI interface" > + depends on OMAP2_DSS_DPI > + depends on I2C > + help > + Driver for SIL9022 DPI-to-HDMI chip > + Driver uses i2c to read EDID information. > + > config PANEL_PICODLP > tristate "TI PICO DLP mini-projector" > depends on OMAP2_DSS_DPI && I2C > diff --git a/drivers/video/omap2/displays/Makefile b/drivers/video/omap2/displays/Makefile > index 58a5176..34cfa8e 100644 > --- a/drivers/video/omap2/displays/Makefile > +++ b/drivers/video/omap2/displays/Makefile > @@ -3,6 +3,7 @@ obj-$(CONFIG_PANEL_TFP410) += panel-tfp410.o > obj-$(CONFIG_PANEL_LGPHILIPS_LB035Q02) += panel-lgphilips-lb035q02.o > obj-$(CONFIG_PANEL_SHARP_LS037V7DW01) += panel-sharp-ls037v7dw01.o > obj-$(CONFIG_PANEL_NEC_NL8048HL11_01B) += panel-nec-nl8048hl11-01b.o > +obj-$(CONFIG_PANEL_SIL9022) += panel-sil9022.o > > obj-$(CONFIG_PANEL_TAAL) += panel-taal.o > obj-$(CONFIG_PANEL_PICODLP) += panel-picodlp.o > diff --git a/drivers/video/omap2/displays/panel-sil9022.c b/drivers/video/omap2/displays/panel-sil9022.c > new file mode 100644 > index 0000000..3b5cb17 > --- /dev/null > +++ b/drivers/video/omap2/displays/panel-sil9022.c > @@ -0,0 +1,1274 @@ > +/* > + * drivers/video/omap2/panel-sil9022.c > + * > + * Copyright (C) 2009 Texas Instruments > + * > + * This file is licensed under the terms of the GNU General Public License > + * version 2. This program is licensed "as is" without any warranty of any > + * kind, whether express or implied. > + * > + * SIL9022 hdmi driver > + * Owner: kiran Chitriki > + * > + */ > + > +/***********************************/ > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include