diff options
Diffstat (limited to 'configs/calib.cfg')
-rw-r--r-- | configs/calib.cfg | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/configs/calib.cfg b/configs/calib.cfg new file mode 100644 index 0000000..9b9362d --- /dev/null +++ b/configs/calib.cfg @@ -0,0 +1,114 @@ +# Assertive Display Calibration Output File Format +# Calibration config file consists of one or more sections. Each section is set +# of parameter values stored on one line each. Number of parameters (hence number +# of lines in each section is fixed. Order in which parameters are specified in +# given section is fixed as well. +# Comments are supported in configuration file to improve readability of +# calibration configuration parameters. Any line begining with '#' is considered +# as comment and will not be processed further. +# Blank lines are allowed and are ignored. They can be used to improve +# readability of assertive display calibration output file. +# Sections: Any line begining with '=' indicates start of new section in +# calibration output file. Sections, parameters which are part of section and +# order in which they will appear in calibration output file is kept outside +# scope of this documentation in order to have flexibility in development of +# assertive display calibration system. This information can be shared between +# APICAL and Qualcomm as part of assertive display bring ups on given platforms. +# There should not be any spaces betweetn '=' and section name. +# Version 1.0 of calibration output format supports following sections: +# version - Contains assertive display calibration output file format version +# init - Contains assertive display parameters which are independent of +# assertive display mode +# config - Contains assertive display parameters which are dependent on specific +# assertive display mode +# Each parameter for assertive display calibration is stored on new line. If +# parameter consists of more than one values (set of values), each value is +# separated by single space (' ') character. In version 1.0 of assertive +# display calibration output file format, all numerical values are in decimal +# unsigned integer format, limited by 32 bits. Range for values or valid value +# for given parameter is outside scope of this documentation. This information +# can be shared between APICAL and Qualcomm as part of assertive display bring +# ups on given platforms. +# Version 1.1 adds two more init parameters (21 in total) to the config file to support the +# newly added power saving feature, Parameters added are alpha and BL_ATT lut +# Version 1.2 adds two more init parameters (23 in total) to the config file to support the +# driver change, Parameters added are ALS_offset and ALS_threshold +# Version 1.3 changes the parameters BL linearity LUT and BL inverse LUT +# from 8 bit to 12 bits. This is done to support the precision increase in the AD Driver +=version +1.3 +# APICAL mode indepent initialization Params +=init +# A +0 287 511 712 897 1072 1237 1395 1545 1690 1830 1964 2095 2221 2343 2462 2578 2690 2800 2907 3011 3112 3212 3309 3404 3497 3587 3676 3764 3849 3933 4015 4095 +#0 211 414 609 796 975 1148 1315 1475 1630 1779 1922 2061 2195 2325 2451 2572 2690 2804 2915 3022 3126 3227 3325 3420 3513 3603 3691 3776 3859 3940 4019 4095 +# B +255 278 302 326 350 374 398 422 446 470 494 517 541 565 589 613 637 661 684 708 732 755 779 803 826 850 874 897 921 945 968 992 1016 +# C +7 134 +# D +0 +# E +1023 +# F +241 +# G +240 +# H +0 +# I +60 +# J +224 +# dither_control +5 +# L +3 +# M +0 +# frame_width +720 +# frame_height +1280 +# P +0 +# Q +0 +# BL_linearity_LUT +0 16 32 48 64 80 96 112 128 145 161 177 193 209 225 241 257 273 289 305 321 337 353 369 385 401 418 434 450 466 482 498 514 530 546 562 578 594 610 626 642 658 674 691 707 723 739 755 771 787 803 819 835 851 867 883 899 915 931 947 964 980 996 1012 1028 1044 1060 1076 1092 1108 1124 1140 1156 1172 1188 1204 1220 1237 1253 1269 1285 1301 1317 1333 1349 1365 1381 1397 1413 1429 1445 1461 1477 1493 1510 1526 1542 1558 1574 1590 1606 1622 1638 1654 1670 1686 1702 1718 1734 1750 1766 1783 1799 1815 1831 1847 1863 1879 1895 1911 1927 1943 1959 1975 1991 2007 2023 2039 2056 2072 2088 2104 2120 2136 2152 2168 2184 2200 2216 2232 2248 2264 2280 2296 2312 2329 2345 2361 2377 2393 2409 2425 2441 2457 2473 2489 2505 2521 2537 2553 2569 2585 2602 2618 2634 2650 2666 2682 2698 2714 2730 2746 2762 2778 2794 2810 2826 2842 2858 2875 2891 2907 2923 2939 2955 2971 2987 3003 3019 3035 3051 3067 3083 3099 3115 3131 3148 3164 3180 3196 3212 3228 3244 3260 3276 3292 3308 3324 3340 3356 3372 3388 3404 3421 3437 3453 3469 3485 3501 3517 3533 3549 3565 3581 3597 3613 3629 3645 3661 3677 3694 3710 3726 3742 3758 3774 3790 3806 3822 3838 3854 3870 3886 3902 3918 3934 3950 3967 3983 3999 4015 4031 4047 4063 4079 4095 +# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 +# BL_linearity_inverse_LUT +0 16 32 48 64 80 96 112 128 145 161 177 193 209 225 241 257 273 289 305 321 337 353 369 385 401 418 434 450 466 482 498 514 530 546 562 578 594 610 626 642 658 674 691 707 723 739 755 771 787 803 819 835 851 867 883 899 915 931 947 964 980 996 1012 1028 1044 1060 1076 1092 1108 1124 1140 1156 1172 1188 1204 1220 1237 1253 1269 1285 1301 1317 1333 1349 1365 1381 1397 1413 1429 1445 1461 1477 1493 1510 1526 1542 1558 1574 1590 1606 1622 1638 1654 1670 1686 1702 1718 1734 1750 1766 1783 1799 1815 1831 1847 1863 1879 1895 1911 1927 1943 1959 1975 1991 2007 2023 2039 2056 2072 2088 2104 2120 2136 2152 2168 2184 2200 2216 2232 2248 2264 2280 2296 2312 2329 2345 2361 2377 2393 2409 2425 2441 2457 2473 2489 2505 2521 2537 2553 2569 2585 2602 2618 2634 2650 2666 2682 2698 2714 2730 2746 2762 2778 2794 2810 2826 2842 2858 2875 2891 2907 2923 2939 2955 2971 2987 3003 3019 3035 3051 3067 3083 3099 3115 3131 3148 3164 3180 3196 3212 3228 3244 3260 3276 3292 3308 3324 3340 3356 3372 3388 3404 3421 3437 3453 3469 3485 3501 3517 3533 3549 3565 3581 3597 3613 3629 3645 3661 3677 3694 3710 3726 3742 3758 3774 3790 3806 3822 3838 3854 3870 3886 3902 3918 3934 3950 3967 3983 3999 4015 4031 4047 4063 4079 4095 +# power_saving_coeff +614 +# BL_att_LUT +0 128 256 384 512 640 768 896 994 1086 1175 1256 1323 1371 1393 1393 1390 1386 1383 1382 1413 1499 1627 1785 1961 2142 2329 2551 2807 3093 3406 3742 4095 +# al_offset +2000 +# al_tolarance +0.7 +#APICAL mode specific configuration +=config +# mode +1 +# R +0 0 4096 6144 8192 10240 12288 14336 16384 18432 20480 22528 24576 26624 28672 30720 32768 34815 36863 38911 40959 43007 45055 47103 49151 51199 53247 55295 57343 59391 61439 63487 65535 +# back_min +205 +# back_max +4095 +# back_scale +4095 +# ambient_light_min +14 +# S +1738 6 +# calibration_abcd +25 95 0 0 +# T +160 +# U +5 +# V +160 +# M_CC 30d89c85748d4ed61aa9c909f176ed07 |