From 648fdc742b3c69ab0719b1f43d09f6eb9171eb82 Mon Sep 17 00:00:00 2001 From: hhb Date: Mon, 24 Sep 2012 17:43:29 +0800 Subject: [PATCH] phonepad: camera: add gt2005 and gc0308 user registers series --- drivers/media/video/gc0308_user_series.c | 511 +++++++++++ drivers/media/video/gt2005_user_series.c | 1064 ++++++++++++++++++++++ 2 files changed, 1575 insertions(+) create mode 100644 drivers/media/video/gt2005_user_series.c diff --git a/drivers/media/video/gc0308_user_series.c b/drivers/media/video/gc0308_user_series.c index cab2f09b15d5..3cd76d86e8cc 100644 --- a/drivers/media/video/gc0308_user_series.c +++ b/drivers/media/video/gc0308_user_series.c @@ -1,3 +1,512 @@ + +#if defined(CONFIG_MACH_RK30_PHONE_PAD) + +/* init 640X480 VGA */ +static struct reginfo sensor_init_data[] = +{ + + {0xfe , 0x80}, + + {0xfe , 0x00}, // set page0 + + {0xd2 , 0x10}, // close AEC + {0x22 , 0x55}, // close AWB + + {0x03 , 0x01}, + {0x04 , 0x2c}, + {0x5a , 0x56}, + {0x5b , 0x40}, + {0x5c , 0x4a}, + + {0x22 , 0x57}, // Open AWB + + {0x01 , 0xfa}, + {0x02 , 0x70}, + {0x0f , 0x01}, + + + {0xe2 , 0x00}, //anti-flicker step [11:8] + {0xe3 , 0x64}, //anti-flicker step [7:0] + + {0xe4 , 0x02}, //exp level 1 16.67fps + {0xe5 , 0x58}, + {0xe6 , 0x03}, //exp level 2 12.5fps + {0xe7 , 0x20}, + {0xe8 , 0x04}, //exp level 3 8.33fps + {0xe9 , 0xb0}, + {0xea , 0x09}, //exp level 4 4.00fps + {0xeb , 0xc4}, + + //{0xec , 0x20}, + + {0x05 , 0x00}, + {0x06 , 0x00}, + {0x07 , 0x00}, + {0x08 , 0x00}, + {0x09 , 0x01}, + {0x0a , 0xe8}, + {0x0b , 0x02}, + {0x0c , 0x88}, + {0x0d , 0x02}, + {0x0e , 0x02}, + {0x10 , 0x22}, + {0x11 , 0xfd}, + {0x12 , 0x2a}, + {0x13 , 0x00}, + //{0x14 , 0x10}, + {0x15 , 0x0a}, + {0x16 , 0x05}, + {0x17 , 0x01}, + {0x18 , 0x44}, + {0x19 , 0x44}, + {0x1a , 0x1e}, + {0x1b , 0x00}, + {0x1c , 0xc1}, + {0x1d , 0x08}, + {0x1e , 0x60}, + {0x1f , 0x17}, + + + {0x20 , 0xff}, + {0x21 , 0xf8}, + {0x22 , 0x57}, + {0x24 , 0xa2}, + {0x25 , 0x0f}, + + //output sync_mode + {0x26 , 0x02}, //0x03 20101016 zhj + {0x2f , 0x01}, + {0x30 , 0xf7}, + {0x31 , 0x50}, + {0x32 , 0x00}, + {0x39 , 0x04}, + {0x3a , 0x18}, + {0x3b , 0x20}, + {0x3c , 0x00}, + {0x3d , 0x00}, + {0x3e , 0x00}, + {0x3f , 0x00}, + {0x50 , 0x10}, + {0x53 , 0x82}, + {0x54 , 0x80}, + {0x55 , 0x80}, + {0x56 , 0x82}, + {0x8b , 0x40}, + {0x8c , 0x40}, + {0x8d , 0x40}, + {0x8e , 0x2e}, + {0x8f , 0x2e}, + {0x90 , 0x2e}, + {0x91 , 0x3c}, + {0x92 , 0x50}, + {0x5d , 0x12}, + {0x5e , 0x1a}, + {0x5f , 0x24}, + {0x60 , 0x07}, + {0x61 , 0x15}, + {0x62 , 0x08}, + {0x64 , 0x03}, + {0x66 , 0xe8}, + {0x67 , 0x86}, + {0x68 , 0xa2}, + {0x69 , 0x18}, + {0x6a , 0x0f}, + {0x6b , 0x00}, + {0x6c , 0x5f}, + {0x6d , 0x8f}, + {0x6e , 0x55}, + {0x6f , 0x38}, + {0x70 , 0x15}, + {0x71 , 0x33}, + {0x72 , 0xdc}, + {0x73 , 0x80}, + {0x74 , 0x02}, + {0x75 , 0x3f}, + {0x76 , 0x02}, + {0x77 , 0x36}, + {0x78 , 0x88}, + {0x79 , 0x81}, + {0x7a , 0x81}, + {0x7b , 0x22}, + {0x7c , 0xff}, + {0x93 , 0x48}, + {0x94 , 0x00}, + {0x95 , 0x05}, + {0x96 , 0xe8}, + {0x97 , 0x40}, + {0x98 , 0xf0}, + {0xb1 , 0x38}, + {0xb2 , 0x38}, + {0xbd , 0x38}, + {0xbe , 0x36}, + {0xd0 , 0xc9}, + {0xd1 , 0x10}, + //{0xd2 , 0x90}, + {0xd3 , 0x80}, + {0xd5 , 0xf2}, + {0xd6 , 0x16}, + {0xdb , 0x92}, + {0xdc , 0xa5}, + {0xdf , 0x23}, + {0xd9 , 0x00}, + {0xda , 0x00}, + {0xe0 , 0x09}, + + {0xed , 0x04}, + {0xee , 0xa0}, + {0xef , 0x40}, + {0x80 , 0x03}, + {0x80 , 0x03}, + {0x9F , 0x10}, + {0xA0 , 0x20}, + {0xA1 , 0x38}, + {0xA2 , 0x4E}, + {0xA3 , 0x63}, + {0xA4 , 0x76}, + {0xA5 , 0x87}, + {0xA6 , 0xA2}, + {0xA7 , 0xB8}, + {0xA8 , 0xCA}, + {0xA9 , 0xD8}, + {0xAA , 0xE3}, + {0xAB , 0xEB}, + {0xAC , 0xF0}, + {0xAD , 0xF8}, + {0xAE , 0xFD}, + {0xAF , 0xFF}, + {0xc0 , 0x00}, + {0xc1 , 0x10}, + {0xc2 , 0x1C}, + {0xc3 , 0x30}, + {0xc4 , 0x43}, + {0xc5 , 0x54}, + {0xc6 , 0x65}, + {0xc7 , 0x75}, + {0xc8 , 0x93}, + {0xc9 , 0xB0}, + {0xca , 0xCB}, + {0xcb , 0xE6}, + {0xcc , 0xFF}, + {0xf0 , 0x02}, + {0xf1 , 0x01}, + {0xf2 , 0x01}, + {0xf3 , 0x30}, + {0xf9 , 0x9f}, + {0xfa , 0x78}, + + //--------------------------------------------------------------- + {0xfe , 0x01},// set page1 + + {0x00 , 0xf5}, + {0x02 , 0x1a}, + {0x0a , 0xa0}, + {0x0b , 0x60}, + {0x0c , 0x08}, + {0x0e , 0x4c}, + {0x0f , 0x39}, + {0x11 , 0x3f}, + {0x12 , 0x72}, + {0x13 , 0x13}, + {0x14 , 0x42}, + {0x15 , 0x43}, + {0x16 , 0xc2}, + {0x17 , 0xa8}, + {0x18 , 0x18}, + {0x19 , 0x40}, + {0x1a , 0xd0}, + {0x1b , 0xf5}, + {0x70 , 0x40}, + {0x71 , 0x58}, + {0x72 , 0x30}, + {0x73 , 0x48}, + {0x74 , 0x20}, + {0x75 , 0x60}, + {0x77 , 0x20}, + {0x78 , 0x32}, + {0x30 , 0x03}, + {0x31 , 0x40}, + {0x32 , 0xe0}, + {0x33 , 0xe0}, + {0x34 , 0xe0}, + {0x35 , 0xb0}, + {0x36 , 0xc0}, + {0x37 , 0xc0}, + {0x38 , 0x04}, + {0x39 , 0x09}, + {0x3a , 0x12}, + {0x3b , 0x1C}, + {0x3c , 0x28}, + {0x3d , 0x31}, + {0x3e , 0x44}, + {0x3f , 0x57}, + {0x40 , 0x6C}, + {0x41 , 0x81}, + {0x42 , 0x94}, + {0x43 , 0xA7}, + {0x44 , 0xB8}, + {0x45 , 0xD6}, + {0x46 , 0xEE}, + {0x47 , 0x0d}, + {0xfe , 0x00}, // set page0 + + //-----------Update the registers 2010/07/06-------------// + //Registers of Page0 + {0xfe , 0x00}, // set page0 + {0x10 , 0x26}, + {0x11 , 0x0d}, // fd,modified by mormo 2010/07/06 + {0x1a , 0x2a}, // 1e,modified by mormo 2010/07/06 + + {0x1c , 0x49}, // c1,modified by mormo 2010/07/06 + {0x1d , 0x9a}, // 08,modified by mormo 2010/07/06 + {0x1e , 0x61}, // 60,modified by mormo 2010/07/06 + + {0x3a , 0x20}, + + {0x50 , 0x14}, // 10,modified by mormo 2010/07/06 + {0x53 , 0x80}, + {0x56 , 0x80}, + + {0x8b , 0x20}, //LSC + {0x8c , 0x20}, + {0x8d , 0x20}, + {0x8e , 0x14}, + {0x8f , 0x10}, + {0x90 , 0x14}, + + {0x94 , 0x02}, + {0x95 , 0x07}, + {0x96 , 0xe0}, + + {0xb1 , 0x40}, // YCPT + {0xb2 , 0x40}, + {0xb3 , 0x40}, + {0xb6 , 0xe0}, + + {0xd0 , 0xcb}, // AECT c9,modifed by mormo 2010/07/06 + {0xd3 , 0x48}, // 80,modified by mormor 2010/07/06 + + {0xf2 , 0x02}, + {0xf7 , 0x12}, + {0xf8 , 0x0a}, + + //Registers of Page1 + {0xfe , 0x01},// set page1 + {0x02 , 0x20}, + {0x04 , 0x10}, + {0x05 , 0x08}, + {0x06 , 0x20}, + {0x08 , 0x0a}, + + {0x0e , 0x44}, + {0x0f , 0x32}, + {0x10 , 0x41}, + {0x11 , 0x37}, + {0x12 , 0x22}, + {0x13 , 0x19}, + {0x14 , 0x44}, + {0x15 , 0x44}, + + {0x19 , 0x50}, + {0x1a , 0xd8}, + + {0x32 , 0x10}, + + {0x35 , 0x00}, + {0x36 , 0x80}, + {0x37 , 0x00}, + //-----------Update the registers end---------// + + + {0xfe , 0x00}, // set page0 + {0xd2 , 0x90}, + + + //-----------GAMMA Select(3)---------------// + {0x9F , 0x10}, + {0xA0 , 0x20}, + {0xA1 , 0x38}, + {0xA2 , 0x4E}, + {0xA3 , 0x63}, + {0xA4 , 0x76}, + {0xA5 , 0x87}, + {0xA6 , 0xA2}, + {0xA7 , 0xB8}, + {0xA8 , 0xCA}, + {0xA9 , 0xD8}, + {0xAA , 0xE3}, + {0xAB , 0xEB}, + {0xAC , 0xF0}, + {0xAD , 0xF8}, + {0xAE , 0xFD}, + {0xAF , 0xFF}, + + /*GC0308_GAMMA_Select, + 1: //smallest gamma curve + {0x9F , 0x0B}, + {0xA0 , 0x16}, + {0xA1 , 0x29}, + {0xA2 , 0x3C}, + {0xA3 , 0x4F}, + {0xA4 , 0x5F}, + {0xA5 , 0x6F}, + {0xA6 , 0x8A}, + {0xA7 , 0x9F}, + {0xA8 , 0xB4}, + {0xA9 , 0xC6}, + {0xAA , 0xD3}, + {0xAB , 0xDD}, + {0xAC , 0xE5}, + {0xAD , 0xF1}, + {0xAE , 0xFA}, + {0xAF , 0xFF}, + + 2: + {0x9F , 0x0E}, + {0xA0 , 0x1C}, + {0xA1 , 0x34}, + {0xA2 , 0x48}, + {0xA3 , 0x5A}, + {0xA4 , 0x6B}, + {0xA5 , 0x7B}, + {0xA6 , 0x95}, + {0xA7 , 0xAB}, + {0xA8 , 0xBF}, + {0xA9 , 0xCE}, + {0xAA , 0xD9}, + {0xAB , 0xE4}, + {0xAC , 0xEC}, + {0xAD , 0xF7}, + {0xAE , 0xFD}, + {0xAF , 0xFF}, + + 3: + {0x9F , 0x10}, + {0xA0 , 0x20}, + {0xA1 , 0x38}, + {0xA2 , 0x4E}, + {0xA3 , 0x63}, + {0xA4 , 0x76}, + {0xA5 , 0x87}, + {0xA6 , 0xA2}, + {0xA7 , 0xB8}, + {0xA8 , 0xCA}, + {0xA9 , 0xD8}, + {0xAA , 0xE3}, + {0xAB , 0xEB}, + {0xAC , 0xF0}, + {0xAD , 0xF8}, + {0xAE , 0xFD}, + {0xAF , 0xFF}, + + 4: + {0x9F , 0x14}, + {0xA0 , 0x28}, + {0xA1 , 0x44}, + {0xA2 , 0x5D}, + {0xA3 , 0x72}, + {0xA4 , 0x86}, + {0xA5 , 0x95}, + {0xA6 , 0xB1}, + {0xA7 , 0xC6}, + {0xA8 , 0xD5}, + {0xA9 , 0xE1}, + {0xAA , 0xEA}, + {0xAB , 0xF1}, + {0xAC , 0xF5}, + {0xAD , 0xFB}, + {0xAE , 0xFE}, + {0xAF , 0xFF}, + + 5: //largest gamma curve + {0x9F , 0x15}, + {0xA0 , 0x2A}, + {0xA1 , 0x4A}, + {0xA2 , 0x67}, + {0xA3 , 0x79}, + {0xA4 , 0x8C}, + {0xA5 , 0x9A}, + {0xA6 , 0xB3}, + {0xA7 , 0xC5}, + {0xA8 , 0xD5}, + {0xA9 , 0xDF}, + {0xAA , 0xE8}, + {0xAB , 0xEE}, + {0xAC , 0xF3}, + {0xAD , 0xFA}, + {0xAE , 0xFD}, + {0xAF , 0xFF}, */ + //-----------GAMMA Select End--------------// + + + + + //-------------H_V_Switch(4)---------------// + {0x14 , 0x10}, //0x10 + + /*GC0308_H_V_Switch, + + 1: // normal + {0x14 , 0x10}, + + 2: // IMAGE_H_MIRROR + {0x14 , 0x11}, + + 3: // IMAGE_V_MIRROR + {0x14 , 0x12}, + + 4: // IMAGE_HV_MIRROR + {0x14 , 0x13}, + */ + //-------------H_V_Select End--------------// + +}; + +/* 1280X1024 SXGA */ +static struct reginfo sensor_sxga[] = +{ + {0x00,0x00} +}; + +/* 800X600 SVGA*/ +static struct reginfo sensor_svga[] = +{ + {0x0, 0x0}, +}; + +/* 640X480 VGA */ +static struct reginfo sensor_vga[] = +{ + {0x17, 0x13}, + {0x18, 0x01}, + {0x32, 0xbf}, + {0x19, 0x03}, + {0x1a, 0x7b}, + {0x03, 0x0a}, + {0x00,0x00} +}; + +/* 352X288 CIF */ +static struct reginfo sensor_cif[] = +{ + {0x00,0x00} +}; + +/* 320*240 QVGA */ +static struct reginfo sensor_qvga[] = +{ + {0x00,0x00} +}; + +/* 176X144 QCIF*/ +static struct reginfo sensor_qcif[] = +{ + {0x00,0x00} +}; + + + +#else + /* init 640X480 VGA */ static struct reginfo sensor_init_data[] = { @@ -500,3 +1009,5 @@ static struct reginfo sensor_qcif[] = {0x00,0x00} }; + +#endif diff --git a/drivers/media/video/gt2005_user_series.c b/drivers/media/video/gt2005_user_series.c new file mode 100644 index 000000000000..26cbe92173e7 --- /dev/null +++ b/drivers/media/video/gt2005_user_series.c @@ -0,0 +1,1064 @@ +#if defined(CONFIG_MACH_RK30_PHONE_PAD) + +/* init 352X288 SVGA */ +static struct reginfo sensor_init_data[] = +{ + {0x0101 , 0x00}, + {0x0103 , 0x00}, + {0x0105 , 0x00}, + {0x0106 , 0xF0}, + {0x0107 , 0x00}, + {0x0108 , 0x1C}, + {0x0109 , 0x01}, + {0x010A , 0x00}, + {0x010B , 0x00}, + {0x010C , 0x00}, + {0x010D , 0x08}, + {0x010E , 0x00}, + {0x010F , 0x08}, + {0x0110 , 0x06}, + {0x0111 , 0x40}, + {0x0112 , 0x04}, + {0x0113 , 0xB0}, +{0x0114 , 0x00}, + {0x0115 , 0x00}, + {0x0116 , 0x02}, + {0x0117 , 0x00}, +{0x0118 , 0x67}, + {0x0119 , 0x02}, + {0x011A , 0x04}, + {0x011B , 0x01}, +{0x011C , 0x01}, +{0x011D , 0x02}, +{0x011E , 0x00}, +{0x011F , 0x00}, +{0x0120 , 0x1C}, +{0x0121 , 0x00}, +{0x0122 , 0x04}, +{0x0123 , 0x00}, +{0x0124 , 0x00}, +{0x0125 , 0x00}, +{0x0126 , 0x00}, +{0x0127 , 0x00}, +{0x0128 , 0x00}, +{0x0200 , 0x00}, +{0x0201 , 0x00}, +{0x0202 , 0x40}, +{0x0203 , 0x00}, +{0x0204 , 0x03}, +{0x0205 , 0x1F}, +{0x0206 , 0x0B}, +{0x0207 , 0x20}, +{0x0208 , 0x00}, +{0x0209 , 0x2A}, +{0x020A , 0x01}, +{0x020B , 0x48}, +{0x020C , 0x64}, +{0x020D , 0xC8}, +{0x020E , 0xBC}, +{0x020F , 0x08}, +{0x0210 , 0xD6}, +{0x0211 , 0x00}, +{0x0212 , 0x20}, +{0x0213 , 0x81}, +{0x0214 , 0x15}, +{0x0215 , 0x00}, +{0x0216 , 0x00}, +{0x0217 , 0x00}, +{0x0218 , 0x46}, +{0x0219 , 0x30}, +{0x021A , 0x03}, +{0x021B , 0x28}, +{0x021C , 0x02}, +{0x021D , 0x60}, +{0x021E , 0x00}, +{0x021F , 0x00}, +{0x0220 , 0x08}, +{0x0221 , 0x08}, +{0x0222 , 0x04}, +{0x0223 , 0x00}, +{0x0224 , 0x1F}, +{0x0225 , 0x1E}, +{0x0226 , 0x18}, +{0x0227 , 0x1D}, +{0x0228 , 0x1F}, +{0x0229 , 0x1F}, +{0x022A , 0x01}, +{0x022B , 0x04}, +{0x022C , 0x05}, +{0x022D , 0x05}, +{0x022E , 0x04}, +{0x022F , 0x03}, +{0x0230 , 0x02}, +{0x0231 , 0x1F}, +{0x0232 , 0x1A}, +{0x0233 , 0x19}, +{0x0234 , 0x19}, +{0x0235 , 0x1B}, +{0x0236 , 0x1F}, +{0x0237 , 0x04}, +{0x0238 , 0xEE}, +{0x0239 , 0xFF}, +{0x023A , 0x00}, +{0x023B , 0x00}, +{0x023C , 0x00}, +{0x023D , 0x00}, +{0x023E , 0x00}, +{0x023F , 0x00}, +{0x0240 , 0x00}, +{0x0241 , 0x00}, +{0x0242 , 0x00}, +{0x0243 , 0x21}, +{0x0244 , 0x42}, +{0x0245 , 0x53}, +{0x0246 , 0x54}, +{0x0247 , 0x54}, +{0x0248 , 0x54}, +{0x0249 , 0x33}, +{0x024A , 0x11}, +{0x024B , 0x00}, +{0x024C , 0x00}, +{0x024D , 0xFF}, +{0x024E , 0xEE}, +{0x024F , 0xDD}, +{0x0250 , 0x00}, +{0x0251 , 0x00}, +{0x0252 , 0x00}, +{0x0253 , 0x00}, +{0x0254 , 0x00}, +{0x0255 , 0x00}, +{0x0256 , 0x00}, +{0x0257 , 0x00}, +{0x0258 , 0x00}, +{0x0259 , 0x00}, +{0x025A , 0x00}, +{0x025B , 0x00}, +{0x025C , 0x00}, +{0x025D , 0x00}, +{0x025E , 0x00}, +{0x025F , 0x00}, +{0x0260 , 0x00}, +{0x0261 , 0x00}, +{0x0262 , 0x00}, +{0x0263 , 0x00}, +{0x0264 , 0x00}, +{0x0265 , 0x00}, +{0x0266 , 0x00}, +{0x0267 , 0x00}, +{0x0268 , 0x8F}, +{0x0269 , 0xA3}, +{0x026A , 0xB4}, +{0x026B , 0x90}, +{0x026C , 0x00}, +{0x026D , 0xD0}, +{0x026E , 0x60}, +{0x026F , 0xA0}, +{0x0270 , 0x40}, +{0x0300 , 0x81}, +{0x0301 , 0x80}, +{0x0302 , 0x22}, +{0x0303 , 0x06}, +{0x0304 , 0x03}, +{0x0305 , 0x83}, +{0x0306 , 0x00}, +{0x0307 , 0x22}, +{0x0308 , 0x00}, +{0x0309 , 0x55}, +{0x030A , 0x55}, +{0x030B , 0x55}, +{0x030C , 0x54}, +{0x030D , 0x1F}, +{0x030E , 0x13}, +{0x030F , 0x10}, +{0x0310 , 0x04}, +{0x0311 , 0xFF}, +{0x0312 , 0x08}, +{0x0313 , 0x28}, +{0x0314 , 0x66}, +{0x0315 , 0x16}, +{0x0316 , 0x26}, +{0x0317 , 0x02}, +{0x0318 , 0x08}, +{0x0319 , 0x0C}, +{0x031A , 0x81}, +{0x031B , 0x00}, +{0x031C , 0x3D}, +{0x031D , 0x00}, +{0x031E , 0xF9}, +{0x031F , 0x00}, +{0x0320 , 0x24}, +{0x0321 , 0x14}, +{0x0322 , 0x1A}, +{0x0323 , 0x24}, +{0x0324 , 0x08}, +{0x0325 , 0xF0}, +{0x0326 , 0x30}, +{0x0327 , 0x17}, +{0x0328 , 0x11}, +{0x0329 , 0x22}, +{0x032A , 0x2F}, +{0x032B , 0x21}, +{0x032C , 0xDA}, +{0x032D , 0x10}, +{0x032E , 0xEA}, +{0x032F , 0x18}, +{0x0330 , 0x29}, +{0x0331 , 0x25}, +{0x0332 , 0x12}, +{0x0333 , 0x0F}, +{0x0334 , 0xE0}, +{0x0335 , 0x13}, +{0x0336 , 0xFF}, +{0x0337 , 0x20}, +{0x0338 , 0x46}, +{0x0339 , 0x04}, +{0x033A , 0x04}, +{0x033B , 0xFF}, +{0x033C , 0x01}, +{0x033D , 0x00}, +{0x033E , 0x03}, +{0x033F , 0x28}, +{0x0340 , 0x02}, +{0x0341 , 0x60}, +{0x0342 , 0xAC}, +{0x0343 , 0x97}, +{0x0344 , 0x7F}, +{0x0400 , 0xE8}, +{0x0401 , 0x40}, +{0x0402 , 0x00}, +{0x0403 , 0x00}, +{0x0404 , 0xF8}, +{0x0405 , 0x03}, +{0x0406 , 0x03}, +{0x0407 , 0x85}, +{0x0408 , 0x44}, +{0x0409 , 0x1F}, +{0x040A , 0x40}, +{0x040B , 0x33}, +{0x040C , 0xA0}, +{0x040D , 0x00}, +{0x040E , 0x00}, +{0x040F , 0x00}, +{0x0410 , 0x0D}, +{0x0411 , 0x0D}, +{0x0412 , 0x0C}, +{0x0413 , 0x04}, +{0x0414 , 0x00}, +{0x0415 , 0x00}, +{0x0416 , 0x07}, +{0x0417 , 0x09}, +{0x0418 , 0x16}, +{0x0419 , 0x14}, +{0x041A , 0x11}, +{0x041B , 0x14}, +{0x041C , 0x07}, +{0x041D , 0x07}, +{0x041E , 0x06}, +{0x041F , 0x02}, +{0x0420 , 0x42}, +{0x0421 , 0x42}, +{0x0422 , 0x47}, +{0x0423 , 0x39}, +{0x0424 , 0x3E}, +{0x0425 , 0x4D}, +{0x0426 , 0x46}, +{0x0427 , 0x3A}, +{0x0428 , 0x21}, +{0x0429 , 0x21}, +{0x042A , 0x26}, +{0x042B , 0x1C}, +{0x042C , 0x25}, +{0x042D , 0x25}, +{0x042E , 0x28}, +{0x042F , 0x20}, +{0x0430 , 0x3E}, +{0x0431 , 0x3E}, +{0x0432 , 0x33}, +{0x0433 , 0x2E}, +{0x0434 , 0x54}, +{0x0435 , 0x53}, +{0x0436 , 0x3C}, +{0x0437 , 0x51}, +{0x0438 , 0x2B}, +{0x0439 , 0x2B}, +{0x043A , 0x38}, +{0x043B , 0x22}, +{0x043C , 0x3B}, +{0x043D , 0x3B}, +{0x043E , 0x31}, +{0x043F , 0x37}, +{0x0440 , 0x00}, +{0x0441 , 0x4B}, +{0x0442 , 0x00}, +{0x0443 , 0x00}, +{0x0444 , 0x31}, +{0x0445 , 0x00}, +{0x0446 , 0x00}, +{0x0447 , 0x00}, +{0x0448 , 0x00}, +{0x0449 , 0x00}, +{0x044A , 0x00}, +{0x044D , 0xE0}, +{0x044E , 0x05}, +{0x044F , 0x07}, +{0x0450 , 0x00}, +{0x0451 , 0x00}, +{0x0452 , 0x00}, +{0x0453 , 0x00}, +{0x0454 , 0x00}, +{0x0455 , 0x00}, +{0x0456 , 0x00}, +{0x0457 , 0x00}, +{0x0458 , 0x00}, +{0x0459 , 0x00}, +{0x045A , 0x00}, +{0x045B , 0x00}, +{0x045C , 0x00}, +{0x045D , 0x00}, +{0x045E , 0x00}, +{0x045F , 0x00}, +{0x0460 , 0x80}, +{0x0461 , 0x10}, +{0x0462 , 0x10}, +{0x0463 , 0x10}, +{0x0464 , 0x08}, +{0x0465 , 0x08}, +{0x0466 , 0x11}, +{0x0467 , 0x09}, +{0x0468 , 0x23}, +{0x0469 , 0x2A}, +{0x046A , 0x2A}, +{0x046B , 0x47}, +{0x046C , 0x52}, +{0x046D , 0x42}, +{0x046E , 0x36}, +{0x046F , 0x46}, +{0x0470 , 0x3A}, +{0x0471 , 0x32}, +{0x0472 , 0x32}, +{0x0473 , 0x38}, +{0x0474 , 0x3D}, +{0x0475 , 0x2F}, +{0x0476 , 0x29}, +{0x0477 , 0x48}, +{0x0600 , 0x00}, +{0x0601 , 0x24}, +{0x0602 , 0x45}, +{0x0603 , 0x0E}, +{0x0604 , 0x14}, +{0x0605 , 0x2F}, +{0x0606 , 0x01}, +{0x0607 , 0x0E}, +{0x0608 , 0x0E}, +{0x0609 , 0x37}, +{0x060A , 0x18}, +{0x060B , 0xA0}, +{0x060C , 0x20}, +{0x060D , 0x07}, +{0x060E , 0x47}, +{0x060F , 0x90}, +{0x0610 , 0x06}, +{0x0611 , 0x0C}, +{0x0612 , 0x28}, +{0x0613 , 0x13}, +{0x0614 , 0x0B}, +{0x0615 , 0x10}, +{0x0616 , 0x14}, +{0x0617 , 0x19}, +{0x0618 , 0x52}, +{0x0619 , 0xA0}, +{0x061A , 0x11}, +{0x061B , 0x33}, +{0x061C , 0x56}, +{0x061D , 0x20}, +{0x061E , 0x28}, +{0x061F , 0x2B}, +{0x0620 , 0x22}, +{0x0621 , 0x11}, +{0x0622 , 0x75}, +{0x0623 , 0x49}, +{0x0624 , 0x6E}, +{0x0625 , 0x80}, +{0x0626 , 0x02}, +{0x0627 , 0x0C}, +{0x0628 , 0x51}, +{0x0629 , 0x25}, +{0x062A , 0x01}, +{0x062B , 0x3D}, +{0x062C , 0x04}, +{0x062D , 0x01}, +{0x062E , 0x0C}, +{0x062F , 0x2C}, +{0x0630 , 0x0D}, +{0x0631 , 0x14}, +{0x0632 , 0x12}, +{0x0633 , 0x34}, +{0x0634 , 0x00}, +{0x0635 , 0x00}, +{0x0636 , 0x00}, +{0x0637 , 0xB1}, +{0x0638 , 0x22}, +{0x0639 , 0x32}, +{0x063A , 0x0E}, +{0x063B , 0x18}, +{0x063C , 0x88}, +{0x0640 , 0xB2}, +{0x0641 , 0xC0}, +{0x0642 , 0x01}, +{0x0643 , 0x26}, +{0x0644 , 0x13}, +{0x0645 , 0x88}, +{0x0646 , 0x64}, +{0x0647 , 0x00}, +{0x0681 , 0x1B}, +{0x0682 , 0xA0}, +{0x0683 , 0x28}, +{0x0684 , 0x00}, +{0x0685 , 0xB0}, +{0x0686 , 0x6F}, +{0x0687 , 0x33}, +{0x0688 , 0x1F}, +{0x0689 , 0x44}, +{0x068A , 0xA8}, +{0x068B , 0x44}, +{0x068C , 0x08}, +{0x068D , 0x08}, +{0x068E , 0x00}, +{0x068F , 0x00}, +{0x0690 , 0x01}, +{0x0691 , 0x00}, +{0x0692 , 0x01}, +{0x0693 , 0x00}, +{0x0694 , 0x00}, +{0x0695 , 0x00}, +{0x0696 , 0x00}, +{0x0697 , 0x00}, +{0x0698 , 0x2A}, +{0x0699 , 0x80}, +{0x069A , 0x1F}, +{0x069B , 0x00}, +{0x069C , 0x02}, +{0x069D , 0xF5}, +{0x069E , 0x03}, +{0x069F , 0x6D}, +{0x06A0 , 0x0C}, +{0x06A1 , 0xB8}, +{0x06A2 , 0x0D}, +{0x06A3 , 0x74}, +{0x06A4 , 0x00}, +{0x06A5 , 0x2F}, +{0x06A6 , 0x00}, +{0x06A7 , 0x2F}, +{0x0F00 , 0x00}, +{0x0F01 , 0x00}, +{0x0100 , 0x01}, +{0x0102 , 0x02}, +{0x0104 , 0x03}, +{0x0101 , 0x00}, + +/////////////////////////// +{0x020B , 0x48}, +{0x020C , 0x64}, +{0x040A , 0x40}, +{0x040B , 0x33}, +{0x0109 , 0x00}, +{0x010A , 0x04}, +{0x010B , 0x03}, +#if 0 +{0x0110 , 0x02}, +{0x0111 , 0x80}, +{0x0112 , 0x01}, +{0x0113 , 0xe0}, +#else +{0x0110, 0x03}, +{0x0111, 0x20}, +{0x0112, 0x02}, +{0x0113, 0x58}, + +#endif +{0x0116 , 0x02}, +{0x0118 , 0x40}, +{0x0119 , 0x01}, +{0x011a , 0x04}, +{0x011B , 0x00}, +{0x0313 , 0x35}, +{0x0314 , 0x36}, +{0x0315 , 0x16}, + +}; + + + +/* 1600X1200 UXGA */ +static struct reginfo sensor_uxga[] = +{ + {0x010c , 0x00}, + {0x010d , 0x08}, + {0x010e , 0x00}, + {0x010f , 0x08}, + {0x010a , 0x00}, + {0x0110 , 0x06}, + {0x0111 , 0x40}, + {0x0112 , 0x04}, + {0x0113 , 0xb0}, + {0x0, 0x0}, +}; + + + +/* 1280X1024 SXGA */ +static struct reginfo sensor_sxga[] = +{ + {0x010c , 0x00}, + {0x010d , 0xa8}, + {0x010e , 0x00}, + {0x010f , 0x60}, + {0x010a , 0x00}, + {0x0110 , 0x05}, + {0x0111 , 0x00}, + {0x0112 , 0x04}, + {0x0113 , 0x00}, + {0x00, 0x00}, +}; + +/* 800X600 SVGA*/ +static struct reginfo sensor_svga[] = +{ +#if 0 + {0x0101, 0x00}, + {0x0103, 0x00}, + {0x0105, 0x00}, + {0x0106, 0xF0}, + {0x0107, 0x00}, + {0x0108, 0x1C}, + {0x0109, 0x01}, + {0x010A, 0x00}, + {0x010B, 0x00}, + {0x010C, 0x00}, + {0x010D, 0x08}, + {0x010E, 0x00}, + {0x010F, 0x08}, + {0x0110, 0x06}, + {0x0111, 0x40}, + {0x0112, 0x04}, + {0x0113, 0xB0}, + {0x0114, 0x04}, + {0x0115, 0x00}, + {0x0116, 0x02}, + {0x0117, 0x00}, + {0x0118, 0x40}, + {0x0119, 0x02}, + {0x011A, 0x04}, + {0x011B, 0x01}, + {0x011C, 0x00}, + {0x011D, 0x01}, + {0x011E, 0x36}, + {0x011F, 0x00}, + {0x0120, 0x1C}, + {0x0121, 0x00}, + {0x0122, 0x04}, + {0x0123, 0x00}, + {0x0124, 0x00}, + {0x0125, 0x00}, + {0x0126, 0x00}, + {0x0127, 0x00}, + {0x0128, 0x00}, + {0x0200, 0x1f}, + {0x0201, 0x0c}, + {0x0202, 0x38}, + {0x0203, 0x00}, + {0x0204, 0x03}, + {0x0205, 0x1F}, + {0x0206, 0x0B}, + {0x0207, 0x20}, + {0x0208, 0x00}, + {0x0209, 0x2A}, + {0x020A, 0x01}, + {0x020B, 0x28}, + {0x020C, 0x44}, + {0x020D, 0xC8}, + {0x020E, 0xBC}, + {0x020F, 0x08}, + {0x0210, 0xD6}, + {0x0211, 0x00}, + {0x0212, 0x20}, + {0x0213, 0x81}, + {0x0214, 0x15}, + {0x0215, 0x00}, + {0x0216, 0x00}, + {0x0217, 0x00}, + {0x0218, 0x46}, + {0x0219, 0x30}, + {0x021A, 0x03}, + {0x021B, 0x28}, + {0x021C, 0x02}, + {0x021D, 0x60}, + {0x021E, 0x00}, + {0x021F, 0x00}, + {0x0220, 0x08}, + {0x0221, 0x08}, + {0x0222, 0x04}, + {0x0223, 0x00}, + {0x0224, 0x1F}, + {0x0225, 0x1E}, + {0x0226, 0x18}, + {0x0227, 0x1D}, + {0x0228, 0x1F}, + {0x0229, 0x1F}, + {0x022A, 0x01}, + {0x022B, 0x04}, + {0x022C, 0x05}, + {0x022D, 0x05}, + {0x022E, 0x04}, + {0x022F, 0x03}, + {0x0230, 0x02}, + {0x0231, 0x1F}, + {0x0232, 0x1A}, + {0x0233, 0x19}, + {0x0234, 0x19}, + {0x0235, 0x1B}, + {0x0236, 0x1F}, + {0x0237, 0x04}, + {0x0238, 0xEE}, + {0x0239, 0xFF}, + {0x023A, 0x00}, + {0x023B, 0x00}, + {0x023C, 0x00}, + {0x023D, 0x00}, + {0x023E, 0x00}, + {0x023F, 0x00}, + {0x0240, 0x00}, + {0x0241, 0x00}, + {0x0242, 0x00}, + {0x0243, 0x21}, + {0x0244, 0x42}, + {0x0245, 0x53}, + {0x0246, 0x54}, + {0x0247, 0x54}, + {0x0248, 0x54}, + {0x0249, 0x33}, + {0x024A, 0x11}, + {0x024B, 0x00}, + {0x024C, 0x00}, + {0x024D, 0xFF}, + {0x024E, 0xEE}, + {0x024F, 0xDD}, + {0x0250, 0x00}, + {0x0251, 0x00}, + {0x0252, 0x00}, + {0x0253, 0x00}, + {0x0254, 0x00}, + {0x0255, 0x00}, + {0x0256, 0x00}, + {0x0257, 0x00}, + {0x0258, 0x00}, + {0x0259, 0x00}, + {0x025A, 0x00}, + {0x025B, 0x00}, + {0x025C, 0x00}, + {0x025D, 0x00}, + {0x025E, 0x00}, + {0x025F, 0x00}, + {0x0260, 0x00}, + {0x0261, 0x00}, + {0x0262, 0x00}, + {0x0263, 0x00}, + {0x0264, 0x00}, + {0x0265, 0x00}, + {0x0266, 0x00}, + {0x0267, 0x00}, + {0x0268, 0x8F}, + {0x0269, 0xA3}, + {0x026A, 0xB4}, + {0x026B, 0x90}, + {0x026C, 0x00}, + {0x026D, 0xD0}, + {0x026E, 0x60}, + {0x026F, 0xA0}, + {0x0270, 0x40}, + {0x0300, 0x81}, + {0x0301, 0x80}, + {0x0302, 0x22}, + {0x0303, 0x06}, + {0x0304, 0x03}, + {0x0305, 0x83}, + {0x0306, 0x00}, + {0x0307, 0x22}, + {0x0308, 0x00}, + {0x0309, 0x55}, + {0x030A, 0x55}, + {0x030B, 0x55}, + {0x030C, 0x54}, + {0x030D, 0x1F}, + {0x030E, 0x0A}, + {0x030F, 0x10}, + {0x0310, 0x04}, + {0x0311, 0xFF}, + {0x0312, 0x08}, + {0x0313, 0x35}, + {0x0314, 0x36}, + {0x0315, 0x15}, + {0x0316, 0x26}, + {0x0317, 0x02}, + {0x0318, 0x08}, + {0x0319, 0x0C}, + {0x031A, 0x81}, + {0x031B, 0x00}, + {0x031C, 0x3D}, + {0x031D, 0x00}, + {0x031E, 0xF9}, + {0x031F, 0x00}, + {0x0320, 0x24}, + {0x0321, 0x14}, + {0x0322, 0x1A}, + {0x0323, 0x24}, + {0x0324, 0x08}, + {0x0325, 0xF0}, + {0x0326, 0x30}, + {0x0327, 0x17}, + {0x0328, 0x11}, + {0x0329, 0x22}, + {0x032A, 0x2F}, + {0x032B, 0x21}, + {0x032C, 0xDA}, + {0x032D, 0x10}, + {0x032E, 0xEA}, + {0x032F, 0x18}, + {0x0330, 0x29}, + {0x0331, 0x25}, + {0x0332, 0x12}, + {0x0333, 0x0F}, + {0x0334, 0xE0}, + {0x0335, 0x13}, + {0x0336, 0xFF}, + {0x0337, 0x20}, + {0x0338, 0x46}, + {0x0339, 0x04}, + {0x033A, 0x04}, + {0x033B, 0xFF}, + {0x033C, 0x01}, + {0x033D, 0x00}, + {0x033E, 0x03}, + {0x033F, 0x28}, + {0x0340, 0x02}, + {0x0341, 0x60}, + {0x0342, 0xAC}, + {0x0343, 0x97}, + {0x0344, 0x7F}, + {0x0400, 0xE8}, + {0x0401, 0x40}, + {0x0402, 0x00}, + {0x0403, 0x00}, + {0x0404, 0xF8}, + {0x0405, 0x03}, + {0x0406, 0x03}, + {0x0407, 0x85}, + {0x0408, 0x44}, + {0x0409, 0x1F}, + {0x040A, 0x40}, + {0x040B, 0x33}, + {0x040C, 0xA0}, + {0x040D, 0x00}, + {0x040E, 0x00}, + {0x040F, 0x00}, + {0x0410, 0x0D}, + {0x0411, 0x0D}, + {0x0412, 0x0C}, + {0x0413, 0x04}, + {0x0414, 0x00}, + {0x0415, 0x00}, + {0x0416, 0x07}, + {0x0417, 0x09}, + {0x0418, 0x16}, + {0x0419, 0x14}, + {0x041A, 0x11}, + {0x041B, 0x14}, + {0x041C, 0x07}, + {0x041D, 0x07}, + {0x041E, 0x06}, + {0x041F, 0x02}, + {0x0420, 0x42}, + {0x0421, 0x42}, + {0x0422, 0x47}, + {0x0423, 0x39}, + {0x0424, 0x3E}, + {0x0425, 0x4D}, + {0x0426, 0x46}, + {0x0427, 0x3A}, + {0x0428, 0x21}, + {0x0429, 0x21}, + {0x042A, 0x26}, + {0x042B, 0x1C}, + {0x042C, 0x25}, + {0x042D, 0x25}, + {0x042E, 0x28}, + {0x042F, 0x20}, + {0x0430, 0x3E}, + {0x0431, 0x3E}, + {0x0432, 0x33}, + {0x0433, 0x2E}, + {0x0434, 0x54}, + {0x0435, 0x53}, + {0x0436, 0x3C}, + {0x0437, 0x51}, + {0x0438, 0x2B}, + {0x0439, 0x2B}, + {0x043A, 0x38}, + {0x043B, 0x22}, + {0x043C, 0x3B}, + {0x043D, 0x3B}, + {0x043E, 0x31}, + {0x043F, 0x37}, + {0x0440, 0x00}, + {0x0441, 0x4B}, + {0x0442, 0x00}, + {0x0443, 0x00}, + {0x0444, 0x31}, + {0x0445, 0x00}, + {0x0446, 0x00}, + {0x0447, 0x00}, + {0x0448, 0x00}, + {0x0449, 0x00}, + {0x044A, 0x00}, + {0x044D, 0xE0}, + {0x044E, 0x05}, + {0x044F, 0x07}, + {0x0450, 0x00}, + {0x0451, 0x00}, + {0x0452, 0x00}, + {0x0453, 0x00}, + {0x0454, 0x00}, + {0x0455, 0x00}, + {0x0456, 0x00}, + {0x0457, 0x00}, + {0x0458, 0x00}, + {0x0459, 0x00}, + {0x045A, 0x00}, + {0x045B, 0x00}, + {0x045C, 0x00}, + {0x045D, 0x00}, + {0x045E, 0x00}, + {0x045F, 0x00}, + {0x0460, 0x80}, + {0x0461, 0x10}, + {0x0462, 0x10}, + {0x0463, 0x10}, + {0x0464, 0x08}, + {0x0465, 0x08}, + {0x0466, 0x11}, + {0x0467, 0x09}, + {0x0468, 0x23}, + {0x0469, 0x2A}, + {0x046A, 0x2A}, + {0x046B, 0x47}, + {0x046C, 0x52}, + {0x046D, 0x42}, + {0x046E, 0x36}, + {0x046F, 0x46}, + {0x0470, 0x3A}, + {0x0471, 0x32}, + {0x0472, 0x32}, + {0x0473, 0x38}, + {0x0474, 0x3D}, + {0x0475, 0x2F}, + {0x0476, 0x29}, + {0x0477, 0x48}, + {0x0600, 0x00}, + {0x0601, 0x24}, + {0x0602, 0x45}, + {0x0603, 0x0E}, + {0x0604, 0x14}, + {0x0605, 0x2F}, + {0x0606, 0x01}, + {0x0607, 0x0E}, + {0x0608, 0x0E}, + {0x0609, 0x37}, + {0x060A, 0x18}, + {0x060B, 0xA0}, + {0x060C, 0x20}, + {0x060D, 0x07}, + {0x060E, 0x47}, + {0x060F, 0x90}, + {0x0610, 0x06}, + {0x0611, 0x0C}, + {0x0612, 0x28}, + {0x0613, 0x13}, + {0x0614, 0x0B}, + {0x0615, 0x10}, + {0x0616, 0x14}, + {0x0617, 0x19}, + {0x0618, 0x52}, + {0x0619, 0xA0}, + {0x061A, 0x11}, + {0x061B, 0x33}, + {0x061C, 0x56}, + {0x061D, 0x20}, + {0x061E, 0x28}, + {0x061F, 0x2B}, + {0x0620, 0x22}, + {0x0621, 0x11}, + {0x0622, 0x75}, + {0x0623, 0x49}, + {0x0624, 0x6E}, + {0x0625, 0x80}, + {0x0626, 0x02}, + {0x0627, 0x0C}, + {0x0628, 0x51}, + {0x0629, 0x25}, + {0x062A, 0x01}, + {0x062B, 0x3D}, + {0x062C, 0x04}, + {0x062D, 0x01}, + {0x062E, 0x0C}, + {0x062F, 0x2C}, + {0x0630, 0x0D}, + {0x0631, 0x14}, + {0x0632, 0x12}, + {0x0633, 0x34}, + {0x0634, 0x00}, + {0x0635, 0x00}, + {0x0636, 0x00}, + {0x0637, 0xB1}, + {0x0638, 0x22}, + {0x0639, 0x32}, + {0x063A, 0x0E}, + {0x063B, 0x18}, + {0x063C, 0x88}, + {0x0640, 0xB2}, + {0x0641, 0xC0}, + {0x0642, 0x01}, + {0x0643, 0x26}, + {0x0644, 0x13}, + {0x0645, 0x88}, + {0x0646, 0x64}, + {0x0647, 0x00}, + {0x0681, 0x1B}, + {0x0682, 0xA0}, + {0x0683, 0x28}, + {0x0684, 0x00}, + {0x0685, 0xB0}, + {0x0686, 0x6F}, + {0x0687, 0x33}, + {0x0688, 0x1F}, + {0x0689, 0x44}, + {0x068A, 0xA8}, + {0x068B, 0x44}, + {0x068C, 0x08}, + {0x068D, 0x08}, + {0x068E, 0x00}, + {0x068F, 0x00}, + {0x0690, 0x01}, + {0x0691, 0x00}, + {0x0692, 0x01}, + {0x0693, 0x00}, + {0x0694, 0x00}, + {0x0695, 0x00}, + {0x0696, 0x00}, + {0x0697, 0x00}, + {0x0698, 0x2A}, + {0x0699, 0x80}, + {0x069A, 0x1F}, + {0x069B, 0x00}, + {0x069C, 0x02}, + {0x069D, 0xF5}, + {0x069E, 0x03}, + {0x069F, 0x6D}, + {0x06A0, 0x0C}, + {0x06A1, 0xB8}, + {0x06A2, 0x0D}, + {0x06A3, 0x74}, + {0x06A4, 0x00}, + {0x06A5, 0x2F}, + {0x06A6, 0x00}, + {0x06A7, 0x2F}, + {0x0F00, 0x00}, + {0x0F01, 0x00}, + {0x0100, 0x01}, + {0x0102, 0x02}, + {0x0104, 0x03}, +#endif + {0x020B, 0x48}, + {0x020C, 0x64}, + {0x040A, 0x40}, + {0x040B, 0x33}, + {0x010c , 0x00}, + {0x010d , 0x08}, + {0x010e , 0x00}, + {0x010f , 0x08}, + {0x010a , 0x00}, + {0x0109, 0x00}, + {0x010A, 0x04}, + {0x010B, 0x03}, + {0x0110, 0x03}, + {0x0111, 0x20}, + {0x0112, 0x02}, + {0x0113, 0x58}, + {0x0116, 0x02}, + {0x0118, 0x40}, + {0x0119, 0x02}, + {0x011a, 0x04}, + {0x011B, 0x01}, + {0x0, 0x0}, +}; + + + +/* 640X480 VGA */ +static struct reginfo sensor_vga[] = +{ + {0x020B , 0x48}, + {0x020C , 0x64}, + {0x040A , 0x40}, + {0x040B , 0x33}, + {0x0109 , 0x00}, + {0x010A , 0x04}, + {0x010B , 0x03}, + {0x010c , 0x00}, + {0x010d , 0xa8}, + {0x010e , 0x00}, + {0x010f , 0x60}, + {0x010a , 0x04}, + #if 1 + {0x0110 , 0x02}, + {0x0111 , 0x80}, + {0x0112 , 0x01}, + {0x0113 , 0xe0}, + #else + {0x0110, 0x03}, + {0x0111, 0x20}, + {0x0112, 0x02}, + {0x0113, 0x58}, + #endif + {0x0116 , 0x02}, + {0x0118 , 0x40}, + {0x0119 , 0x01}, + {0x011a , 0x04}, + {0x011B , 0x00}, + {0x0313 , 0x35}, + {0x0314 , 0x36}, + {0x0315 , 0x16}, + {0x0, 0x0}, +}; + +/* 352X288 CIF */ +static struct reginfo sensor_cif[] = +{ + {0x0, 0x0}, +}; + +/* 320*240 QVGA */ +static struct reginfo sensor_qvga[] = +{ + + + {0x0, 0x0}, +}; + +/* 176X144 QCIF*/ +static struct reginfo sensor_qcif[] = +{ + + {0x0, 0x0}, +}; + +#endif -- 2.34.1