aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/samsung/mdnie_table_4412_kona.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/samsung/mdnie_table_4412_kona.h')
-rw-r--r--drivers/video/samsung/mdnie_table_4412_kona.h319
1 files changed, 319 insertions, 0 deletions
diff --git a/drivers/video/samsung/mdnie_table_4412_kona.h b/drivers/video/samsung/mdnie_table_4412_kona.h
new file mode 100644
index 0000000..40e7c07
--- /dev/null
+++ b/drivers/video/samsung/mdnie_table_4412_kona.h
@@ -0,0 +1,319 @@
+#ifndef __MDNIE_TABLE_H__
+#define __MDNIE_TABLE_H__
+
+#include "mdnie_kona.h"
+
+
+static unsigned short tune_dynamic_gallery[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_dynamic_ui[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_dynamic_video[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_dynamic_vt[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_movie_gallery[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_movie_ui[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_movie_video[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_movie_vt[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_standard_gallery[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_standard_ui[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_standard_video[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_standard_vt[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_natural_gallery[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_natural_ui[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_natural_video[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_natural_vt[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_camera[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+};
+
+static unsigned short tune_camera_outdoor[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+};
+
+static unsigned short tune_cold[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_cold_outdoor[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_normal_outdoor[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_warm[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+static unsigned short tune_warm_outdoor[] = {
+ 0x0000, 0x0000, /*BANK 0*/
+ 0x0008, 0x008c, /*Dither8 UC4 ABC2 CP1 | CC8 MCM4 SCR2 SCC1 | CS8 DE4 DNR2 HDR1*/
+ 0x00ff, 0x0000, /*Mask Release*/
+ END_SEQ, 0x0000,
+};
+
+#if defined(CONFIG_FB_MDNIE_PWM)
+struct mdnie_tuning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
+ {
+ {
+ {"normal", NULL},
+ {"warm", tune_warm},
+ {"cold", tune_cold},
+ },
+ {
+ {"normal_outdoor", tune_normal_outdoor},
+ {"warm_outdoor", tune_warm_outdoor},
+ {"cold_outdoor", tune_cold_outdoor},
+ },
+ },
+ {
+ {
+ {"normal_cabc", NULL},
+ {"warm_cabc", tune_warm},
+ {"cold_cabc", tune_cold},
+ },
+ {
+ {"normal_outdoor_cabc", tune_normal_outdoor},
+ {"warm_outdoor_cabc", tune_warm_outdoor},
+ {"cold_outdoor_cabc", tune_cold_outdoor},
+ },
+ },
+};
+
+struct mdnie_tuning_info tuning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
+ {
+ {
+ {"dynamic_ui", tune_dynamic_ui},
+ {"dynamic_video", tune_dynamic_video},
+ {"dynamic_video", tune_dynamic_video},
+ {"dynamic_video", tune_dynamic_video},
+ {"camera", NULL},
+ {"dynamic_ui", tune_dynamic_ui},
+ {"dynamic_gallery", tune_dynamic_gallery},
+ {"dynamic_vt", tune_dynamic_vt},
+ }, {
+ {"standard_ui", tune_standard_ui},
+ {"standard_video", tune_standard_video},
+ {"standard_video", tune_standard_video},
+ {"standard_video", tune_standard_video},
+ {"camera", NULL},
+ {"standard_ui", tune_standard_ui},
+ {"standard_gallery", tune_standard_gallery},
+ {"standard_vt", tune_standard_vt},
+ }, {
+ {"movie_ui", tune_movie_ui},
+ {"movie_video", tune_movie_video},
+ {"movie_video", tune_movie_video},
+ {"movie_video", tune_movie_video},
+ {"camera", NULL},
+ {"movie_ui", tune_movie_ui},
+ {"movie_gallery", tune_movie_gallery},
+ {"movie_vt", tune_movie_vt},
+ },
+ }, {
+ {
+ {"dynamic_ui_cabc", tune_dynamic_ui},
+ {"dynamic_video_cabc", tune_dynamic_video},
+ {"dynamic_video_cabc", tune_dynamic_video},
+ {"dynamic_video_cabc", tune_dynamic_video},
+ {"camera", NULL},
+ {"dynamic_ui_cabc", tune_dynamic_ui},
+ {"dynamic_gallery_cabc", tune_dynamic_gallery},
+ {"dynamic_vt_cabc", tune_dynamic_vt},
+ }, {
+ {"standard_ui_cabc", tune_standard_ui},
+ {"standard_video_cabc", tune_standard_video},
+ {"standard_video_cabc", tune_standard_video},
+ {"standard_video_cabc", tune_standard_video},
+ {"camera", NULL},
+ {"standard_ui_cabc", tune_standard_ui},
+ {"standard_gallery_cabc", tune_standard_gallery},
+ {"standard_vt_cabc", tune_standard_vt},
+ }, {
+ {"movie_ui_cabc", tune_movie_ui},
+ {"movie_video_cabc", tune_movie_video},
+ {"movie_video_cabc", tune_movie_video},
+ {"movie_video_cabc", tune_movie_video},
+ {"camera", NULL},
+ {"movie_ui_cabc", tune_movie_ui},
+ {"movie_gallery_cabc", tune_movie_gallery},
+ {"movie_vt_cabc", tune_movie_vt},
+ },
+ },
+};
+#else
+struct mdnie_tuning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
+ {
+ {
+ {"normal", NULL},
+ {"warm", tune_warm},
+ {"cold", tune_cold},
+ },
+ {
+ {"normal_outdoor", tune_normal_outdoor},
+ {"warm_outdoor", tune_warm_outdoor},
+ {"cold_outdoor", tune_cold_outdoor},
+ },
+ }
+};
+
+struct mdnie_tuning_info tuning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
+ {
+ {
+ {"dynamic_ui", tune_dynamic_ui},
+ {"dynamic_video", tune_dynamic_video},
+ {"dynamic_video", tune_dynamic_video},
+ {"dynamic_video", tune_dynamic_video},
+ {"camera", NULL/*tune_camera*/},
+ {"dynamic_ui", tune_dynamic_ui},
+ {"dynamic_gallery", tune_dynamic_gallery},
+ {"dynamic_vt", tune_dynamic_vt},
+ }, {
+ {"standard_ui", tune_standard_ui},
+ {"standard_video", tune_standard_video},
+ {"standard_video", tune_standard_video},
+ {"standard_video", tune_standard_video},
+ {"camera", NULL/*tune_camera*/},
+ {"standard_ui", tune_standard_ui},
+ {"standard_gallery", tune_standard_gallery},
+ {"standard_vt", tune_standard_vt},
+ }, {
+ {"natural_ui", tune_natural_ui},
+ {"natural_video", tune_natural_video},
+ {"natural_video", tune_natural_video},
+ {"natural_video", tune_natural_video},
+ {"camera", NULL/*tune_camera*/},
+ {"natural_ui", tune_natural_ui},
+ {"natural_gallery", tune_natural_gallery},
+ {"natural_vt", tune_natural_vt},
+ }, {
+ {"movie_ui", tune_movie_ui},
+ {"movie_video", tune_movie_video},
+ {"movie_video", tune_movie_video},
+ {"movie_video", tune_movie_video},
+ {"camera", NULL/*tune_camera*/},
+ {"movie_ui", tune_movie_ui},
+ {"movie_gallery", tune_movie_gallery},
+ {"movie_vt", tune_movie_vt},
+ },
+ }
+};
+#endif
+
+struct mdnie_tuning_info camera_table[OUTDOOR_MAX] = {
+ {"camera", tune_camera},
+ {"camera_outdoor", tune_camera_outdoor},
+};
+
+#endif /* __MDNIE_TABLE_H__ */