1*0c0d06caSMauro Carvalho Chehab /* 2*0c0d06caSMauro Carvalho Chehab * zc030x registers 3*0c0d06caSMauro Carvalho Chehab * 4*0c0d06caSMauro Carvalho Chehab * Copyright (c) 2008 Mauro Carvalho Chehab <mchehab@infradead.org> 5*0c0d06caSMauro Carvalho Chehab * 6*0c0d06caSMauro Carvalho Chehab * The register aliases used here came from this driver: 7*0c0d06caSMauro Carvalho Chehab * http://zc0302.sourceforge.net/zc0302.php 8*0c0d06caSMauro Carvalho Chehab * 9*0c0d06caSMauro Carvalho Chehab * This code is placed under the terms of the GNU General Public License v2 10*0c0d06caSMauro Carvalho Chehab */ 11*0c0d06caSMauro Carvalho Chehab 12*0c0d06caSMauro Carvalho Chehab /* Define the register map */ 13*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R000_SYSTEMCONTROL 0x0000 14*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R001_SYSTEMOPERATING 0x0001 15*0c0d06caSMauro Carvalho Chehab 16*0c0d06caSMauro Carvalho Chehab /* Picture size */ 17*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R002_CLOCKSELECT 0x0002 18*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R003_FRAMEWIDTHHIGH 0x0003 19*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R004_FRAMEWIDTHLOW 0x0004 20*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R005_FRAMEHEIGHTHIGH 0x0005 21*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R006_FRAMEHEIGHTLOW 0x0006 22*0c0d06caSMauro Carvalho Chehab 23*0c0d06caSMauro Carvalho Chehab /* JPEG control */ 24*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R008_CLOCKSETTING 0x0008 25*0c0d06caSMauro Carvalho Chehab 26*0c0d06caSMauro Carvalho Chehab /* Test mode */ 27*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R00B_TESTMODECONTROL 0x000b 28*0c0d06caSMauro Carvalho Chehab 29*0c0d06caSMauro Carvalho Chehab /* Frame retreiving */ 30*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R00C_LASTACQTIME 0x000c 31*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R00D_MONITORRES 0x000d 32*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R00E_TIMESTAMPHIGH 0x000e 33*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R00F_TIMESTAMPLOW 0x000f 34*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R018_FRAMELOST 0x0018 35*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R019_AUTOADJUSTFPS 0x0019 36*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R01A_LASTFRAMESTATE 0x001a 37*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R025_DATACOUNTER 0x0025 38*0c0d06caSMauro Carvalho Chehab 39*0c0d06caSMauro Carvalho Chehab /* Stream and sensor specific */ 40*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R010_CMOSSENSORSELECT 0x0010 41*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R011_VIDEOSTATUS 0x0011 42*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R012_VIDEOCONTROLFUNC 0x0012 43*0c0d06caSMauro Carvalho Chehab 44*0c0d06caSMauro Carvalho Chehab /* Horizontal and vertical synchros */ 45*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R01D_HSYNC_0 0x001d 46*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R01E_HSYNC_1 0x001e 47*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R01F_HSYNC_2 0x001f 48*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R020_HSYNC_3 0x0020 49*0c0d06caSMauro Carvalho Chehab 50*0c0d06caSMauro Carvalho Chehab /* Target picture size in byte */ 51*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R022_TARGETPICTSIZE_0 0x0022 52*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R023_TARGETPICTSIZE_1 0x0023 53*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R024_TARGETPICTSIZE_2 0x0024 54*0c0d06caSMauro Carvalho Chehab 55*0c0d06caSMauro Carvalho Chehab /* Audio registers */ 56*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R030_AUDIOADC 0x0030 57*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R031_AUDIOSTREAMSTATUS 0x0031 58*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R032_AUDIOSTATUS 0x0032 59*0c0d06caSMauro Carvalho Chehab 60*0c0d06caSMauro Carvalho Chehab /* Sensor interface */ 61*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R080_HBLANKHIGH 0x0080 62*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R081_HBLANKLOW 0x0081 63*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R082_RESETLEVELADDR 0x0082 64*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R083_RGAINADDR 0x0083 65*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R084_GGAINADDR 0x0084 66*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R085_BGAINADDR 0x0085 67*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R086_EXPTIMEHIGH 0x0086 68*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R087_EXPTIMEMID 0x0087 69*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R088_EXPTIMELOW 0x0088 70*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R089_RESETBLACKHIGH 0x0089 71*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R08A_RESETWHITEHIGH 0x008a 72*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R08B_I2CDEVICEADDR 0x008b 73*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R08C_I2CIDLEANDNACK 0x008c 74*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R08D_COMPABILITYMODE 0x008d 75*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R08E_COMPABILITYMODE2 0x008e 76*0c0d06caSMauro Carvalho Chehab 77*0c0d06caSMauro Carvalho Chehab /* I2C control */ 78*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R090_I2CCOMMAND 0x0090 79*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R091_I2CSTATUS 0x0091 80*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R092_I2CADDRESSSELECT 0x0092 81*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R093_I2CSETVALUE 0x0093 82*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R094_I2CWRITEACK 0x0094 83*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R095_I2CREAD 0x0095 84*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R096_I2CREADACK 0x0096 85*0c0d06caSMauro Carvalho Chehab 86*0c0d06caSMauro Carvalho Chehab /* Window inside the sensor array */ 87*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R097_WINYSTARTHIGH 0x0097 88*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R098_WINYSTARTLOW 0x0098 89*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R099_WINXSTARTHIGH 0x0099 90*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R09A_WINXSTARTLOW 0x009a 91*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R09B_WINHEIGHTHIGH 0x009b 92*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R09C_WINHEIGHTLOW 0x009c 93*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R09D_WINWIDTHHIGH 0x009d 94*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R09E_WINWIDTHLOW 0x009e 95*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R119_FIRSTYHIGH 0x0119 96*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R11A_FIRSTYLOW 0x011a 97*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R11B_FIRSTXHIGH 0x011b 98*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R11C_FIRSTXLOW 0x011c 99*0c0d06caSMauro Carvalho Chehab 100*0c0d06caSMauro Carvalho Chehab /* Max sensor array size */ 101*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R09F_MAXXHIGH 0x009f 102*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R0A0_MAXXLOW 0x00a0 103*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R0A1_MAXYHIGH 0x00a1 104*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R0A2_MAXYLOW 0x00a2 105*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R0A3_EXPOSURETIMEHIGH 0x00a3 106*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R0A4_EXPOSURETIMELOW 0x00a4 107*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R0A5_EXPOSUREGAIN 0x00a5 108*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R0A6_EXPOSUREBLACKLVL 0x00a6 109*0c0d06caSMauro Carvalho Chehab 110*0c0d06caSMauro Carvalho Chehab /* Other registers */ 111*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R100_OPERATIONMODE 0x0100 112*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R101_SENSORCORRECTION 0x0101 113*0c0d06caSMauro Carvalho Chehab 114*0c0d06caSMauro Carvalho Chehab /* Gains */ 115*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R116_RGAIN 0x0116 116*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R117_GGAIN 0x0117 117*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R118_BGAIN 0x0118 118*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R11D_GLOBALGAIN 0x011d 119*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A8_DIGITALGAIN 0x01a8 120*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A9_DIGITALLIMITDIFF 0x01a9 121*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1AA_DIGITALGAINSTEP 0x01aa 122*0c0d06caSMauro Carvalho Chehab 123*0c0d06caSMauro Carvalho Chehab /* Auto correction */ 124*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R180_AUTOCORRECTENABLE 0x0180 125*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R181_WINXSTART 0x0181 126*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R182_WINXWIDTH 0x0182 127*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R183_WINXCENTER 0x0183 128*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R184_WINYSTART 0x0184 129*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R185_WINYWIDTH 0x0185 130*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R186_WINYCENTER 0x0186 131*0c0d06caSMauro Carvalho Chehab 132*0c0d06caSMauro Carvalho Chehab /* Gain range */ 133*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R187_MAXGAIN 0x0187 134*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R188_MINGAIN 0x0188 135*0c0d06caSMauro Carvalho Chehab 136*0c0d06caSMauro Carvalho Chehab /* Auto exposure and white balance */ 137*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R189_AWBSTATUS 0x0189 138*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R18A_AWBFREEZE 0x018a 139*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R18B_AESTATUS 0x018b 140*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R18C_AEFREEZE 0x018c 141*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R18F_AEUNFREEZE 0x018f 142*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R190_EXPOSURELIMITHIGH 0x0190 143*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R191_EXPOSURELIMITMID 0x0191 144*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R192_EXPOSURELIMITLOW 0x0192 145*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R195_ANTIFLICKERHIGH 0x0195 146*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R196_ANTIFLICKERMID 0x0196 147*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R197_ANTIFLICKERLOW 0x0197 148*0c0d06caSMauro Carvalho Chehab 149*0c0d06caSMauro Carvalho Chehab /* What is this ? */ 150*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R18D_YTARGET 0x018d 151*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R18E_RESETLVL 0x018e 152*0c0d06caSMauro Carvalho Chehab 153*0c0d06caSMauro Carvalho Chehab /* Color */ 154*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A0_REDMEANAFTERAGC 0x01a0 155*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A1_GREENMEANAFTERAGC 0x01a1 156*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A2_BLUEMEANAFTERAGC 0x01a2 157*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A3_REDMEANAFTERAWB 0x01a3 158*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A4_GREENMEANAFTERAWB 0x01a4 159*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A5_BLUEMEANAFTERAWB 0x01a5 160*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A6_YMEANAFTERAE 0x01a6 161*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1A7_CALCGLOBALMEAN 0x01a7 162*0c0d06caSMauro Carvalho Chehab 163*0c0d06caSMauro Carvalho Chehab /* Matrixes */ 164*0c0d06caSMauro Carvalho Chehab 165*0c0d06caSMauro Carvalho Chehab /* Color matrix is like : 166*0c0d06caSMauro Carvalho Chehab R' = R * RGB00 + G * RGB01 + B * RGB02 + RGB03 167*0c0d06caSMauro Carvalho Chehab G' = R * RGB10 + G * RGB11 + B * RGB22 + RGB13 168*0c0d06caSMauro Carvalho Chehab B' = R * RGB20 + G * RGB21 + B * RGB12 + RGB23 169*0c0d06caSMauro Carvalho Chehab */ 170*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R10A_RGB00 0x010a 171*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R10B_RGB01 0x010b 172*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R10C_RGB02 0x010c 173*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R113_RGB03 0x0113 174*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R10D_RGB10 0x010d 175*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R10E_RGB11 0x010e 176*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R10F_RGB12 0x010f 177*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R114_RGB13 0x0114 178*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R110_RGB20 0x0110 179*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R111_RGB21 0x0111 180*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R112_RGB22 0x0112 181*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R115_RGB23 0x0115 182*0c0d06caSMauro Carvalho Chehab 183*0c0d06caSMauro Carvalho Chehab /* Gamma matrix */ 184*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R120_GAMMA00 0x0120 185*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R121_GAMMA01 0x0121 186*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R122_GAMMA02 0x0122 187*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R123_GAMMA03 0x0123 188*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R124_GAMMA04 0x0124 189*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R125_GAMMA05 0x0125 190*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R126_GAMMA06 0x0126 191*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R127_GAMMA07 0x0127 192*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R128_GAMMA08 0x0128 193*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R129_GAMMA09 0x0129 194*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R12A_GAMMA0A 0x012a 195*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R12B_GAMMA0B 0x012b 196*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R12C_GAMMA0C 0x012c 197*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R12D_GAMMA0D 0x012d 198*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R12E_GAMMA0E 0x012e 199*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R12F_GAMMA0F 0x012f 200*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R130_GAMMA10 0x0130 201*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R131_GAMMA11 0x0131 202*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R132_GAMMA12 0x0132 203*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R133_GAMMA13 0x0133 204*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R134_GAMMA14 0x0134 205*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R135_GAMMA15 0x0135 206*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R136_GAMMA16 0x0136 207*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R137_GAMMA17 0x0137 208*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R138_GAMMA18 0x0138 209*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R139_GAMMA19 0x0139 210*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R13A_GAMMA1A 0x013a 211*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R13B_GAMMA1B 0x013b 212*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R13C_GAMMA1C 0x013c 213*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R13D_GAMMA1D 0x013d 214*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R13E_GAMMA1E 0x013e 215*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R13F_GAMMA1F 0x013f 216*0c0d06caSMauro Carvalho Chehab 217*0c0d06caSMauro Carvalho Chehab /* Luminance gamma */ 218*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R140_YGAMMA00 0x0140 219*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R141_YGAMMA01 0x0141 220*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R142_YGAMMA02 0x0142 221*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R143_YGAMMA03 0x0143 222*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R144_YGAMMA04 0x0144 223*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R145_YGAMMA05 0x0145 224*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R146_YGAMMA06 0x0146 225*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R147_YGAMMA07 0x0147 226*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R148_YGAMMA08 0x0148 227*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R149_YGAMMA09 0x0149 228*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R14A_YGAMMA0A 0x014a 229*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R14B_YGAMMA0B 0x014b 230*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R14C_YGAMMA0C 0x014c 231*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R14D_YGAMMA0D 0x014d 232*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R14E_YGAMMA0E 0x014e 233*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R14F_YGAMMA0F 0x014f 234*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R150_YGAMMA10 0x0150 235*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R151_YGAMMA11 0x0151 236*0c0d06caSMauro Carvalho Chehab 237*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1C5_SHARPNESSMODE 0x01c5 238*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1C6_SHARPNESS00 0x01c6 239*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1C7_SHARPNESS01 0x01c7 240*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1C8_SHARPNESS02 0x01c8 241*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1C9_SHARPNESS03 0x01c9 242*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1CA_SHARPNESS04 0x01ca 243*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R1CB_SHARPNESS05 0x01cb 244*0c0d06caSMauro Carvalho Chehab 245*0c0d06caSMauro Carvalho Chehab /* Dead pixels */ 246*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R250_DEADPIXELSMODE 0x0250 247*0c0d06caSMauro Carvalho Chehab 248*0c0d06caSMauro Carvalho Chehab /* EEPROM */ 249*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R300_EEPROMCONFIG 0x0300 250*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R301_EEPROMACCESS 0x0301 251*0c0d06caSMauro Carvalho Chehab #define ZC3XX_R302_EEPROMSTATUS 0x0302 252