Patchwork [U-Boot] LCD: change s6e8ax0 panel gamma value

login
register
mail settings
Submitter Donghwa Lee
Date April 25, 2012, 8:04 a.m.
Message ID <4F97B017.7070802@samsung.com>
Download mbox | patch
Permalink /patch/154824/
State Accepted
Commit 8ecb4c6473e5f88ae343c621c3b5bac513f5a797
Delegated to: Anatolij Gustschin
Headers show

Comments

Donghwa Lee - April 25, 2012, 8:04 a.m.
s6e8ax0 panel init gamma value is changed because existing it was not
proper value for this panel.

Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
---
 drivers/video/s6e8ax0.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
Anatolij Gustschin - April 25, 2012, 8:19 a.m.
Hi,

On Wed, 25 Apr 2012 17:04:39 +0900
Donghwa Lee <dh09.lee@samsung.com> wrote:

> s6e8ax0 panel init gamma value is changed because existing it was not
> proper value for this panel.
> 
> Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Signed-off-by: Inki Dae <inki.dae@samsung.com>
> ---
>  drivers/video/s6e8ax0.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

Looks good. I'll apply this patch after the u-boot-samsung tree merge.
Thanks!

Anatolij
Anatolij Gustschin - May 24, 2012, 8:23 p.m.
Hi,

On Wed, 25 Apr 2012 17:04:39 +0900
Donghwa Lee <dh09.lee@samsung.com> wrote:

> s6e8ax0 panel init gamma value is changed because existing it was not
> proper value for this panel.
> 
> Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Signed-off-by: Inki Dae <inki.dae@samsung.com>
> ---
>  drivers/video/s6e8ax0.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

Applied to u-boot-video/master. Thanks!

Anatolij

Patch

diff --git a/drivers/video/s6e8ax0.c b/drivers/video/s6e8ax0.c
index 1ec7fd6..02c5ccf 100644
--- a/drivers/video/s6e8ax0.c
+++ b/drivers/video/s6e8ax0.c
@@ -55,11 +55,11 @@  static void s6e8ax0_display_cond(struct mipi_dsim_device *dsim_dev)
 static void s6e8ax0_gamma_cond(struct mipi_dsim_device *dsim_dev)
 {
 	struct mipi_dsim_master_ops *ops = dsim_dev->master_ops;
-	/* 7500K 2.2 Set (M3, 300cd) */
+	/* 7500K 2.2 Set : 30cd */
 	const unsigned char data_to_send[] = {
-		0xfa, 0x01, 0x0f, 0x00, 0x0f, 0xda, 0xc0, 0xe4, 0xc8,
-		0xc8, 0xc6, 0xd3, 0xd6, 0xd0, 0xab, 0xb2, 0xa6, 0xbf,
-		0xc2, 0xb9, 0x00, 0x93, 0x00, 0x86, 0x00, 0xd1
+		0xfa, 0x01, 0x60, 0x10, 0x60, 0xf5, 0x00, 0xff, 0xad,
+		0xaf, 0xba, 0xc3, 0xd8, 0xc5, 0x9f, 0xc6, 0x9e, 0xc1,
+		0xdc, 0xc0, 0x00, 0x61, 0x00, 0x5a, 0x00, 0x74,
 	};
 
 	ops->cmd_write(dsim_dev, MIPI_DSI_DCS_LONG_WRITE,