2013-08-29 12:35:34

by Marek Belisko

[permalink] [raw]
Subject: [PATCH] omap2: panel-generic: Added panel parameters for ortus-com37h3m05dtc/99dtc and sharp-lq070y3dg3b.

Signed-off-by: H. Nikolaus Schaller <[email protected]>
Signed-off-by: Marek Belisko <[email protected]>
---
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",
},

+ /* 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 */
{
{
--
1.8.1.2


2013-08-30 07:57:19

by Tomi Valkeinen

[permalink] [raw]
Subject: Re: [PATCH] omap2: panel-generic: Added panel parameters for ortus-com37h3m05dtc/99dtc and sharp-lq070y3dg3b.

On 29/08/13 15:35, Marek Belisko wrote:
> Signed-off-by: H. Nikolaus Schaller <[email protected]>
> Signed-off-by: Marek Belisko <[email protected]>
> ---
> 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



Attachments:
signature.asc (901.00 B)
OpenPGP digital signature

2013-09-01 12:32:14

by Belisko Marek

[permalink] [raw]
Subject: Re: [PATCH] omap2: panel-generic: Added panel parameters for ortus-com37h3m05dtc/99dtc and sharp-lq070y3dg3b.

Hi Tomi,

On Fri, Aug 30, 2013 at 9:57 AM, Tomi Valkeinen <[email protected]> wrote:
> On 29/08/13 15:35, Marek Belisko wrote:
>> Signed-off-by: H. Nikolaus Schaller <[email protected]>
>> Signed-off-by: Marek Belisko <[email protected]>
>> ---
>> 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

--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com