diff mbox

omap2: panel-generic: Added panel parameters for ortus-com37h3m05dtc/99dtc and sharp-lq070y3dg3b.

Message ID 1377779724-30648-1-git-send-email-marek@goldelico.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marek Belisko Aug. 29, 2013, 12:35 p.m. UTC
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 drivers/video/omap2/displays/panel-generic-dpi.c | 53 ++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

Comments

Tomi Valkeinen Aug. 30, 2013, 7:57 a.m. UTC | #1
On 29/08/13 15:35, Marek Belisko wrote:
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
> Signed-off-by: Marek Belisko <marek@goldelico.com>
> ---
>  drivers/video/omap2/displays/panel-generic-dpi.c | 53 ++++++++++++++++++++++++
>  1 file changed, 53 insertions(+)
> 
> diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c
> index bebebd4..d573291 100644
> --- a/drivers/video/omap2/displays/panel-generic-dpi.c
> +++ b/drivers/video/omap2/displays/panel-generic-dpi.c
> @@ -107,6 +107,33 @@ static struct panel_config generic_dpi_panels[] = {
>  		.name			= "sharp_ls",
>  	},

The drivers in drivers/video/omap2/displays/ are on their way out, and
will probably be removed for 3.12. Please look at the new one at
drivers/video/omap2/displays-new/panel-dpi.c.

 Tomi
Belisko Marek Sept. 1, 2013, 12:32 p.m. UTC | #2
Hi Tomi,

On Fri, Aug 30, 2013 at 9:57 AM, Tomi Valkeinen <tomi.valkeinen@ti.com> wrote:
> On 29/08/13 15:35, Marek Belisko wrote:
>> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
>> Signed-off-by: Marek Belisko <marek@goldelico.com>
>> ---
>>  drivers/video/omap2/displays/panel-generic-dpi.c | 53 ++++++++++++++++++++++++
>>  1 file changed, 53 insertions(+)
>>
>> diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c
>> index bebebd4..d573291 100644
>> --- a/drivers/video/omap2/displays/panel-generic-dpi.c
>> +++ b/drivers/video/omap2/displays/panel-generic-dpi.c
>> @@ -107,6 +107,33 @@ static struct panel_config generic_dpi_panels[] = {
>>               .name                   = "sharp_ls",
>>       },
>
> The drivers in drivers/video/omap2/displays/ are on their way out, and
> will probably be removed for 3.12. Please look at the new one at
> drivers/video/omap2/displays-new/panel-dpi.c.
I've probably miss series (OMAPDSS: remove old panel model code)
and in time when sent patch it wasn't in linux-next yes. AFAIU generic
panel settings
was moved to board files which is not case for our patch as gta04
(other) board with panel isn't yes mainlined.
>
>  Tomi
>
>

Regards,

marek
diff mbox

Patch

diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c
index bebebd4..d573291 100644
--- a/drivers/video/omap2/displays/panel-generic-dpi.c
+++ b/drivers/video/omap2/displays/panel-generic-dpi.c
@@ -107,6 +107,33 @@  static struct panel_config generic_dpi_panels[] = {
 		.name			= "sharp_ls",
 	},
 
+	/* Sharp LQ070Y3DG3B */
+	{
+		{
+			.x_res		= 800,
+			.y_res		= 480,
+
+			.pixel_clock	= 33260,
+
+			.hsw		= 128,
+			.hfp		= 64,
+			.hbp		= 64,
+
+			.vsw		= 2,
+			.vfp		= 8,
+			.vbp		= 35,
+
+			.vsync_level	= OMAPDSS_SIG_ACTIVE_LOW,
+			.hsync_level	= OMAPDSS_SIG_ACTIVE_LOW,
+			.data_pclk_edge	= OMAPDSS_DRIVE_SIG_RISING_EDGE,
+			.de_level	= OMAPDSS_SIG_ACTIVE_HIGH,
+			.sync_pclk_edge	= OMAPDSS_DRIVE_SIG_RISING_EDGE,
+		},
+		.power_on_delay		= 50,
+		.power_off_delay	= 100,
+		.name			= "sharp_lq070y3dg3b",
+	},
+
 	/* Toppoly TDO35S */
 	{
 		{
@@ -369,6 +396,32 @@  static struct panel_config generic_dpi_panels[] = {
 		.name			= "ortustech_com43h4m10xtc",
 	},
 
+	/* OrtusTech COM37H3M05DTC and COM37H3M99DTC */
+	{
+		{
+			.x_res		= 480,
+			.y_res		= 640,
+			
+			/* pixel clock could be lowered to reduce noise */
+			.pixel_clock	= 22153,
+			
+			.hsw		= 10,
+			.hfp		= 8,
+			.hbp		= 10,
+
+			.vsw		= 3,
+			.vfp		= 4,
+			.vbp		= 4,
+
+			.vsync_level	= OMAPDSS_SIG_ACTIVE_LOW,
+			.hsync_level	= OMAPDSS_SIG_ACTIVE_LOW,
+			.data_pclk_edge	= OMAPDSS_DRIVE_SIG_RISING_EDGE,
+			.de_level	= OMAPDSS_SIG_ACTIVE_HIGH,
+			.sync_pclk_edge	= OMAPDSS_DRIVE_SIG_RISING_EDGE,
+		},
+		.name			= "ortustech_com37h3m05dtc",
+	},
+
 	/* Innolux AT080TN52 */
 	{
 		{