123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310 |
- /****************************************************************************
- *
- * The MIT License (MIT)
- *
- * Copyright (c) 2020 VeriSilicon Holdings Co., Ltd.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- *
- *****************************************************************************
- *
- * The GPL License (GPL)
- *
- * Copyright (c) 2020 VeriSilicon Holdings Co., Ltd.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program;
- *
- *****************************************************************************
- *
- * Note: This software is released under dual MIT and GPL licenses. A
- * recipient may use this file under the terms of either the MIT license or
- * GPL License. If you wish to use only one license not the other, you can
- * indicate your decision by deleting one of the above license notices in your
- * version of this file.
- *
- *****************************************************************************/
- #include "vvsensor.h"
- #include "sensor_common.h"
- struct vvcam_sccb_data os02k10_mipi4lane_1080p_30fps_linear_reg[] = {
- {0x0100,0x00},
- {0x302a,0x00},
- {0x0103,0x01},
- {0x0109,0x01},
- {0x0104,0x02},
- {0x0102,0x00},
- {0x0303,0x04},
- {0x0305,0x4c},
- {0x0306,0x00},
- {0x0317,0x0a},
- {0x0323,0x07},
- {0x0324,0x01},
- {0x0325,0xb0},
- {0x0327,0x07},
- {0x300f,0x11},
- {0x3012,0x21},
- {0x3026,0x10},
- {0x3027,0x08},
- {0x302d,0x24},
- {0x3106,0x10},
- {0x3400,0x00},
- {0x3406,0x08},
- {0x3408,0x05},
- {0x340c,0x05},
- {0x3425,0x51},
- {0x3426,0x10},
- {0x3427,0x14},
- {0x3428,0x50},
- {0x3429,0x10},
- {0x342a,0x10},
- {0x342b,0x04},
- {0x3504,0x08},
- {0x3508,0x01},
- {0x3509,0x00},
- {0x3544,0x08},
- {0x3548,0x01},
- {0x3549,0x00},
- {0x3584,0x08},
- {0x3588,0x01},
- {0x3589,0x00},
- {0x3601,0x70},
- {0x3604,0xe3},
- {0x3605,0xff},
- {0x3606,0x01},
- {0x3608,0xa8},
- {0x360a,0xd0},
- {0x360b,0x08},
- {0x360e,0xc8},
- {0x360f,0x66},
- {0x3610,0x81},
- {0x3611,0x89},
- {0x3612,0x4e},
- {0x3613,0xbd},
- {0x362a,0x0e},
- {0x362b,0x0e},
- {0x362c,0x0e},
- {0x362d,0x0e},
- {0x362e,0x0c},
- {0x362f,0x1a},
- {0x3630,0x32},
- {0x3631,0x64},
- {0x3638,0x00},
- {0x3643,0x00},
- {0x3644,0x00},
- {0x3645,0x00},
- {0x3646,0x00},
- {0x3647,0x00},
- {0x3648,0x00},
- {0x3649,0x00},
- {0x364a,0x04},
- {0x364c,0x0e},
- {0x364d,0x0e},
- {0x364e,0x0e},
- {0x364f,0x0e},
- {0x3650,0xff},
- {0x3651,0xff},
- {0x3661,0x07},
- {0x3662,0x00},
- {0x3663,0x20},
- {0x3665,0x12},
- {0x3667,0xd4},
- {0x3668,0x80},
- {0x366f,0x00},
- {0x3671,0x08},
- {0x3673,0x2a},
- {0x3681,0x80},
- {0x3700,0x26},
- {0x3701,0x1e},
- {0x3702,0x25},
- {0x3703,0x28},
- {0x3706,0xb1},
- {0x3707,0x0a},
- {0x3708,0x34},
- {0x3709,0x50},
- {0x370a,0x02},
- {0x370b,0x21},
- {0x3714,0x01},
- {0x371b,0x13},
- {0x371c,0x00},
- {0x371d,0x08},
- {0x3756,0xe7},
- {0x3757,0xe7},
- {0x3762,0x1d},
- {0x376c,0x00},
- {0x3776,0x03},
- {0x3777,0x22},
- {0x3779,0x60},
- {0x377c,0x48},
- {0x379c,0x4d},
- {0x3784,0x06},
- {0x3785,0x0a},
- {0x37d1,0xb1},
- {0x37d2,0x02},
- {0x37d3,0x21},
- {0x37d5,0xb1},
- {0x37d6,0x02},
- {0x37d7,0x21},
- {0x37d8,0x01},
- {0x37dc,0x00},
- {0x3790,0x10},
- {0x3793,0x04},
- {0x3794,0x07},
- {0x3796,0x00},
- {0x3797,0x02},
- {0x37a1,0x80},
- {0x37bb,0x88},
- {0x37be,0x01},
- {0x37bf,0x00},
- {0x37c0,0x01},
- {0x37c7,0x56},
- {0x37ca,0x21},
- {0x37cd,0x90},
- {0x37cf,0x02},
- {0x3800,0x00},
- {0x3801,0x00},
- {0x3802,0x00},
- {0x3803,0x04},
- {0x3804,0x07},
- {0x3805,0x8f},
- {0x3806,0x04},
- {0x3807,0x43},
- {0x3808,0x07},
- {0x3809,0x80},
- {0x380a,0x04},
- {0x380b,0x38},
- {0x380c,0x0e},
- {0x380d,0xc8},
- {0x380e,0x05},
- {0x380f,0xb4},
- {0x3811,0x08},
- {0x3813,0x04},
- {0x3814,0x01},
- {0x3815,0x01},
- {0x3816,0x01},
- {0x3817,0x01},
- {0x381c,0x00},
- {0x3820,0x02},
- {0x3821,0x00},
- {0x3822,0x14},
- {0x384c,0x04},
- {0x384d,0xc8},
- {0x3858,0x0d},
- {0x3865,0x00},
- {0x3866,0xc0},
- {0x3867,0x00},
- {0x3868,0xc0},
- {0x3900,0x13},
- {0x3940,0x13},
- {0x3980,0x13},
- {0x3c01,0x11},
- {0x3c05,0x00},
- {0x3c0f,0x1c},
- {0x3c12,0x0d},
- {0x3c19,0x01},
- {0x3c21,0x40},
- {0x3c3b,0x18},
- {0x3c3d,0xc9},
- {0x3c55,0xcb},
- {0x3c5d,0xec},
- {0x3c5e,0xec},
- {0x3ce0,0x00},
- {0x3ce1,0x00},
- {0x3ce2,0x00},
- {0x3ce3,0x00},
- {0x3d8c,0x70},
- {0x3d8d,0x10},
- {0x4001,0x2f},
- {0x4033,0x80},
- {0x4008,0x02},
- {0x4009,0x11},
- {0x4004,0x01},
- {0x4005,0x00},
- {0x400a,0x03},
- {0x400b,0x40},
- {0x410f,0x01},
- {0x402e,0x01},
- {0x402f,0x00},
- {0x4030,0x01},
- {0x4031,0x00},
- {0x4032,0x9f},
- {0x4050,0x00},
- {0x4051,0x07},
- {0x4288,0xcf},
- {0x4289,0x03},
- {0x428a,0x46},
- {0x430b,0xff},
- {0x430c,0xff},
- {0x430d,0x00},
- {0x430e,0x00},
- {0x4500,0x18},
- {0x4501,0x18},
- {0x4504,0x00},
- {0x4507,0x02},
- {0x4603,0x00},
- {0x4640,0x62},
- {0x4646,0xaa},
- {0x4647,0x55},
- {0x4648,0x99},
- {0x4649,0x66},
- {0x464d,0x00},
- {0x4654,0x11},
- {0x4655,0x22},
- {0x4800,0x04},
- {0x4810,0xff},
- {0x4811,0xff},
- {0x480e,0x00},
- {0x4813,0x00},
- {0x4837,0x0c},
- {0x484b,0x27},
- {0x4d00,0x4e},
- {0x4d01,0x0c},
- {0x4d09,0x4f},
- {0x5000,0x1f},
- {0x5080,0x00},
- {0x50c0,0x00},
- {0x5100,0x00},
- {0x5200,0x00},
- {0x5201,0x70},
- {0x5202,0x03},
- {0x5203,0x7f},
- {0x3501,0x01},
- {0x380e,0x18},
- {0x380f,0x18},
- {0x3501,0x03},
- {0x3502,0x74},
- {0x0100,0x01},
- };
- struct vvcam_sccb_array os02k10_mipi4lane_1080p_30fps_linear_arry = {
- .count = sizeof(os02k10_mipi4lane_1080p_30fps_linear_reg) / sizeof(struct vvcam_sccb_data),
- .sccb_data = os02k10_mipi4lane_1080p_30fps_linear_reg,
- };
|