aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-tuna-display.c
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2011-10-04 21:56:18 -0700
committerArve Hjønnevåg <arve@android.com>2011-10-05 20:31:43 -0700
commitcd5cae96c55da22cd74c805a44ad42b93a2f65f8 (patch)
treec167a3de5fa85c866843c16f6d82c25d976319ba /arch/arm/mach-omap2/board-tuna-display.c
parent418d70cbed49b19adfc7dbb71e6866e03c2142a7 (diff)
downloadkernel_samsung_tuna-cd5cae96c55da22cd74c805a44ad42b93a2f65f8.zip
kernel_samsung_tuna-cd5cae96c55da22cd74c805a44ad42b93a2f65f8.tar.gz
kernel_samsung_tuna-cd5cae96c55da22cd74c805a44ad42b93a2f65f8.tar.bz2
ARM: omap4: tuna: Update gamma table for sm2 panel
Use a gamma table based on measurements of the reference panel instead of the first panel we received. Change-Id: I90f5f3b5994241a7ff4c3cf8a1842d1b7e71b7d0 Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-tuna-display.c')
-rw-r--r--arch/arm/mach-omap2/board-tuna-display.c143
1 files changed, 88 insertions, 55 deletions
diff --git a/arch/arm/mach-omap2/board-tuna-display.c b/arch/arm/mach-omap2/board-tuna-display.c
index be3c2d7..0a169bb 100644
--- a/arch/arm/mach-omap2/board-tuna-display.c
+++ b/arch/arm/mach-omap2/board-tuna-display.c
@@ -523,61 +523,94 @@ static const struct s6e8aa0_gamma_entry tuna_oled_gamma_table_m3[] = {
static const struct s6e8aa0_gamma_entry tuna_oled_gamma_table_sm2[] = {
{ BV_0, { 4600000, 4600000, 4600000, }, },
{ 0x00000001, { 4561667, 4561667, 4561667, }, },
- { 0x0001F8F0, { 3800149, 4334044, 3652290, }, },
- { 0x0002F71F, { 3762115, 4268988, 3628973, }, },
- { 0x00038485, { 3746112, 4241513, 3619148, }, },
- { 0x00053C55, { 3708693, 4177030, 3596143, }, },
- { 0x00060EEF, { 3694906, 4153187, 3587654, }, },
- { 0x00075444, { 3676870, 4121929, 3576542, }, },
- { 0x00095733, { 3653827, 4081879, 3562328, }, },
- { 0x000EC060, { 3610177, 4005669, 3535356, }, },
- { 0x00129EAB, { 3587817, 3966454, 3521516, }, },
- { 0x00179214, { 3565099, 3926491, 3507437, }, },
- { 0x001A47A0, { 3554589, 3907960, 3500918, }, },
- { 0x00260DFC, { 3518696, 3844480, 3478629, }, },
- { 0x002D413D, { 3503334, 3823491, 3462087, }, },
- { 0x0035D13F, { 3487649, 3802441, 3445099, }, },
- { 0x00400000, { 3471616, 3781252, 3427646, }, },
- { 0x004C1BF8, { 3455207, 3759861, 3409703, }, },
- { 0x005A827A, { 3438395, 3738208, 3391248, }, },
- { 0x006BA27E, { 3421153, 3716242, 3372254, }, },
- { 0x00800000, { 3403453, 3693916, 3352693, }, },
- { 0x009837F0, { 3385266, 3671183, 3332535, }, },
- { 0x00B504F3, { 3366560, 3648001, 3311748, }, },
- { 0x00D744FD, { 3347305, 3624327, 3290297, }, },
- { 0x01000000, { 3327465, 3600119, 3268145, }, },
- { 0x01306FE1, { 3307005, 3575334, 3245250, }, },
- { 0x016A09E6, { 3285884, 3549930, 3221568, }, },
- { 0x01AE89FA, { 3264061, 3523859, 3197051, }, },
- { 0x02000000, { 3241490, 3497076, 3171646, }, },
- { 0x0260DFC1, { 3218122, 3469529, 3145296, }, },
- { 0x02D413CD, { 3193903, 3441165, 3117937, }, },
- { 0x035D13F3, { 3168773, 3411926, 3089502, }, },
- { 0x04000000, { 3142668, 3381749, 3059912, }, },
- { 0x04C1BF83, { 3115517, 3350568, 3029085, }, },
- { 0x05A8279A, { 3087240, 3318306, 2996927, }, },
- { 0x06BA27E6, { 3057749, 3284882, 2963334, }, },
- { 0x08000000, { 3026948, 3250204, 2928191, }, },
- { 0x09837F05, { 2994727, 3214172, 2891368, }, },
- { 0x0B504F33, { 2960963, 3176672, 2852719, }, },
- { 0x0D744FCD, { 2925517, 3137575, 2812080, }, },
- { 0x10000000, { 2888233, 3096738, 2769264, }, },
- { 0x1306FE0A, { 2848931, 3053994, 2724058, }, },
- { 0x16A09E66, { 2807405, 3009155, 2676218, }, },
- { 0x1AE89F99, { 2763420, 2962003, 2625461, }, },
- { 0x20000000, { 2716699, 2912283, 2571460, }, },
- { 0x260DFC14, { 2666921, 2859698, 2513831, }, },
- { 0x2D413CCD, { 2613707, 2803893, 2452123, }, },
- { 0x35D13F32, { 2556604, 2744446, 2385796, }, },
- { 0x40000000, { 2495072, 2680847, 2314203, }, },
- { 0x4C1BF828, { 2428450, 2612467, 2236559, }, },
- { 0x5A82799A, { 2355928, 2538526, 2151894, }, },
- { 0x6BA27E65, { 2276497, 2458033, 2059001, }, },
- { 0x80000000, { 2188873, 2369708, 1956346, }, },
- { 0x9837F051, { 2091402, 2271855, 1841947, }, },
- { 0xB504F333, { 1981894, 2162157, 1713186, }, },
- { 0xD744FCCA, { 1857383, 2037330, 1566516, }, },
- { 0xFFFFFFFF, { 1713711, 1892506, 1396993, }, },
+ { 0x000004C2, { 4102930, 4561654, 4561115, }, },
+ { 0x000005A8, { 4093308, 4561651, 3799195, }, },
+ { 0x000006BA, { 4083466, 4561645, 3793888, }, },
+ { 0x00000800, { 4073413, 4561639, 3788484, }, },
+ { 0x00000983, { 4063166, 4561630, 3782992, }, },
+ { 0x00000B50, { 4052685, 4561618, 3777391, }, },
+ { 0x00000D74, { 4041989, 4561602, 3771689, }, },
+ { 0x00001000, { 4031064, 4561582, 3765880, }, },
+ { 0x00001307, { 4019915, 4561555, 3759964, }, },
+ { 0x000016A1, { 4008527, 4561519, 3753935, }, },
+ { 0x00001AE9, { 3996905, 4561472, 3747792, }, },
+ { 0x00002000, { 3985042, 4561410, 3741533, }, },
+ { 0x0000260E, { 3972926, 4561328, 3735148, }, },
+ { 0x00002D41, { 3960557, 4561219, 3728639, }, },
+ { 0x000035D1, { 3947926, 4561076, 3721998, }, },
+ { 0x00004000, { 3935029, 4560888, 3715222, }, },
+ { 0x00004C1C, { 3921862, 4560639, 3708307, }, },
+ { 0x00005A82, { 3908420, 4560310, 3701250, }, },
+ { 0x00006BA2, { 3894694, 4559877, 3694045, }, },
+ { 0x00008000, { 3880678, 4559305, 3686685, }, },
+ { 0x00009838, { 3866369, 4558550, 3679168, }, },
+ { 0x0000B505, { 3851759, 4557554, 3671487, }, },
+ { 0x0000D745, { 3836842, 4556240, 3663637, }, },
+ { 0x00010000, { 3821612, 4554507, 3655612, }, },
+ { 0x00013070, { 3806062, 4552219, 3647405, }, },
+ { 0x00016A0A, { 3790185, 4549200, 3639010, }, },
+ { 0x0001AE8A, { 3773975, 4545217, 3630420, }, },
+ { 0x00020000, { 3757424, 4539961, 3621628, }, },
+ { 0x000260E0, { 3740525, 4533026, 3612625, }, },
+ { 0x0002D414, { 3723271, 4523876, 3603405, }, },
+ { 0x00035D14, { 3705654, 4511801, 3593959, }, },
+ { 0x00040000, { 3687668, 4495869, 3584277, }, },
+ { 0x0004C1C0, { 3669303, 4474845, 3574351, }, },
+ { 0x0005A828, { 3650553, 4447106, 3564170, }, },
+ { 0x0006BA28, { 3631408, 4410503, 3553725, }, },
+ { 0x00080000, { 3611862, 4362204, 3543003, }, },
+ { 0x0009837F, { 3591904, 4298475, 3531993, }, },
+ { 0x000B504F, { 3571527, 4214383, 3520683, }, },
+ { 0x000D7450, { 3557593, 4103423, 3509060, }, },
+ { 0x00100000, { 3544015, 4010592, 3497110, }, },
+ { 0x001306FE, { 3530633, 3962306, 3484817, }, },
+ { 0x0016A09E, { 3517328, 3926468, 3472166, }, },
+ { 0x001AE8A0, { 3504007, 3896492, 3459141, }, },
+ { 0x00200000, { 3490597, 3869832, 3445722, }, },
+ { 0x00260DFC, { 3477036, 3845220, 3431893, }, },
+ { 0x002D413D, { 3463269, 3821929, 3417630, }, },
+ { 0x0035D13F, { 3449251, 3799494, 3402914, }, },
+ { 0x00400000, { 3434937, 3777603, 3387721, }, },
+ { 0x004C1BF8, { 3420287, 3756027, 3372025, }, },
+ { 0x005A827A, { 3405262, 3734596, 3355799, }, },
+ { 0x006BA27E, { 3389824, 3713176, 3339016, }, },
+ { 0x00800000, { 3373936, 3691658, 3321643, }, },
+ { 0x009837F0, { 3357560, 3669948, 3303646, }, },
+ { 0x00B504F3, { 3340656, 3647968, 3284991, }, },
+ { 0x00D744FD, { 3323186, 3625646, 3265636, }, },
+ { 0x01000000, { 3305106, 3602915, 3245540, }, },
+ { 0x01306FE1, { 3286372, 3579714, 3224657, }, },
+ { 0x016A09E6, { 3266937, 3555983, 3202935, }, },
+ { 0x01AE89FA, { 3246751, 3531662, 3180321, }, },
+ { 0x02000000, { 3225759, 3506692, 3156754, }, },
+ { 0x0260DFC1, { 3203902, 3481011, 3132167, }, },
+ { 0x02D413CD, { 3181115, 3454554, 3106490, }, },
+ { 0x035D13F3, { 3157329, 3427255, 3079643, }, },
+ { 0x04000000, { 3132467, 3399041, 3051538, }, },
+ { 0x04C1BF83, { 3106444, 3369833, 3022078, }, },
+ { 0x05A8279A, { 3079166, 3339546, 2991155, }, },
+ { 0x06BA27E6, { 3050528, 3308086, 2958650, }, },
+ { 0x08000000, { 3020414, 3275348, 2924429, }, },
+ { 0x09837F05, { 2988694, 3241215, 2888342, }, },
+ { 0x0B504F33, { 2955220, 3205555, 2850219, }, },
+ { 0x0D744FCD, { 2919827, 3168219, 2809871, }, },
+ { 0x10000000, { 2882325, 3129034, 2767081, }, },
+ { 0x1306FE0A, { 2842499, 3087803, 2721603, }, },
+ { 0x16A09E66, { 2800102, 3044294, 2673154, }, },
+ { 0x1AE89F99, { 2754846, 2998238, 2621408, }, },
+ { 0x20000000, { 2706399, 2949314, 2565989, }, },
+ { 0x260DFC14, { 2654372, 2897137, 2506458, }, },
+ { 0x2D413CCD, { 2598304, 2841239, 2442298, }, },
+ { 0x35D13F32, { 2537647, 2781048, 2372900, }, },
+ { 0x40000000, { 2471743, 2715846, 2297536, }, },
+ { 0x4C1BF828, { 2399793, 2644720, 2215328, }, },
+ { 0x5A82799A, { 2320814, 2566484, 2125212, }, },
+ { 0x6BA27E65, { 2233581, 2479554, 2025874, }, },
+ { 0x80000000, { 2136547, 2381755, 1915679, }, },
+ { 0x9837F051, { 2027719, 2269975, 1792556, }, },
+ { 0xB504F333, { 1904479, 2139541, 1653843, }, },
+ { 0xD744FCCA, { 1763299, 1982960, 1496041, }, },
+ { 0xFFFFFFFF, { 1599291, 1787064, 1314455, }, },
};
static struct s6e8aa0_factory_calibration_info tuna_oled_factory_info_old = {