Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3)  * vs6624 - ST VS6624 CMOS image sensor registers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5)  * Copyright (c) 2011 Analog Devices Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) #ifndef _VS6624_REGS_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) #define _VS6624_REGS_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) /* low level control registers */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) #define VS6624_MICRO_EN               0xC003 /* power enable for all MCU clock */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) #define VS6624_DIO_EN                 0xC044 /* enable digital I/O */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) /* device parameters */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) #define VS6624_DEV_ID_MSB             0x0001 /* device id MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) #define VS6624_DEV_ID_LSB             0x0002 /* device id LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) #define VS6624_FW_VSN_MAJOR           0x0004 /* firmware version major */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) #define VS6624_FW_VSN_MINOR           0x0006 /* firmware version minor */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) #define VS6624_PATCH_VSN_MAJOR        0x0008 /* patch version major */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) #define VS6624_PATCH_VSN_MINOR        0x000A /* patch version minor */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) /* host interface manager control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) #define VS6624_USER_CMD               0x0180 /* user level control of operating states */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) /* host interface manager status */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) #define VS6624_STATE                  0x0202 /* current state of the mode manager */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) /* run mode control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) #define VS6624_METER_ON               0x0280 /* if false AE and AWB are disabled */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) /* mode setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) #define VS6624_ACTIVE_PIPE_SETUP      0x0302 /* select the active bank for non view live mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) #define VS6624_SENSOR_MODE            0x0308 /* select the different sensor mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) /* pipe setup bank0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) #define VS6624_IMAGE_SIZE0            0x0380 /* required output dimension */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) #define VS6624_MAN_HSIZE0_MSB         0x0383 /* input required manual H size MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) #define VS6624_MAN_HSIZE0_LSB         0x0384 /* input required manual H size LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) #define VS6624_MAN_VSIZE0_MSB         0x0387 /* input required manual V size MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) #define VS6624_MAN_VSIZE0_LSB         0x0388 /* input required manual V size LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) #define VS6624_ZOOM_HSTEP0_MSB        0x038B /* set the zoom H step MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) #define VS6624_ZOOM_HSTEP0_LSB        0x038C /* set the zoom H step LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) #define VS6624_ZOOM_VSTEP0_MSB        0x038F /* set the zoom V step MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) #define VS6624_ZOOM_VSTEP0_LSB        0x0390 /* set the zoom V step LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) #define VS6624_ZOOM_CTRL0             0x0392 /* control zoon in, out and stop */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) #define VS6624_PAN_HSTEP0_MSB         0x0395 /* set the pan H step MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) #define VS6624_PAN_HSTEP0_LSB         0x0396 /* set the pan H step LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) #define VS6624_PAN_VSTEP0_MSB         0x0399 /* set the pan V step MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) #define VS6624_PAN_VSTEP0_LSB         0x039A /* set the pan V step LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) #define VS6624_PAN_CTRL0              0x039C /* control pan operation */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) #define VS6624_CROP_CTRL0             0x039E /* select cropping mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) #define VS6624_CROP_HSTART0_MSB       0x03A1 /* set the cropping H start address MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) #define VS6624_CROP_HSTART0_LSB       0x03A2 /* set the cropping H start address LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) #define VS6624_CROP_HSIZE0_MSB        0x03A5 /* set the cropping H size MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) #define VS6624_CROP_HSIZE0_LSB        0x03A6 /* set the cropping H size LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) #define VS6624_CROP_VSTART0_MSB       0x03A9 /* set the cropping V start address MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) #define VS6624_CROP_VSTART0_LSB       0x03AA /* set the cropping V start address LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) #define VS6624_CROP_VSIZE0_MSB        0x03AD /* set the cropping V size MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) #define VS6624_CROP_VSIZE0_LSB        0x03AE /* set the cropping V size LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) #define VS6624_IMG_FMT0               0x03B0 /* select required output image format */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) #define VS6624_BAYER_OUT_ALIGN0       0x03B2 /* set bayer output alignment */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) #define VS6624_CONTRAST0              0x03B4 /* contrast control for output */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) #define VS6624_SATURATION0            0x03B6 /* saturation control for output */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) #define VS6624_GAMMA0                 0x03B8 /* gamma settings */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) #define VS6624_HMIRROR0               0x03BA /* horizontal image orientation flip */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) #define VS6624_VFLIP0                 0x03BC /* vertical image orientation flip */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) #define VS6624_CHANNEL_ID0            0x03BE /* logical DMA channel number */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) /* pipe setup bank1 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) #define VS6624_IMAGE_SIZE1            0x0400 /* required output dimension */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) #define VS6624_MAN_HSIZE1_MSB         0x0403 /* input required manual H size MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) #define VS6624_MAN_HSIZE1_LSB         0x0404 /* input required manual H size LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) #define VS6624_MAN_VSIZE1_MSB         0x0407 /* input required manual V size MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) #define VS6624_MAN_VSIZE1_LSB         0x0408 /* input required manual V size LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) #define VS6624_ZOOM_HSTEP1_MSB        0x040B /* set the zoom H step MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) #define VS6624_ZOOM_HSTEP1_LSB        0x040C /* set the zoom H step LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) #define VS6624_ZOOM_VSTEP1_MSB        0x040F /* set the zoom V step MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) #define VS6624_ZOOM_VSTEP1_LSB        0x0410 /* set the zoom V step LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) #define VS6624_ZOOM_CTRL1             0x0412 /* control zoon in, out and stop */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) #define VS6624_PAN_HSTEP1_MSB         0x0415 /* set the pan H step MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) #define VS6624_PAN_HSTEP1_LSB         0x0416 /* set the pan H step LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) #define VS6624_PAN_VSTEP1_MSB         0x0419 /* set the pan V step MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) #define VS6624_PAN_VSTEP1_LSB         0x041A /* set the pan V step LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) #define VS6624_PAN_CTRL1              0x041C /* control pan operation */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) #define VS6624_CROP_CTRL1             0x041E /* select cropping mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) #define VS6624_CROP_HSTART1_MSB       0x0421 /* set the cropping H start address MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) #define VS6624_CROP_HSTART1_LSB       0x0422 /* set the cropping H start address LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) #define VS6624_CROP_HSIZE1_MSB        0x0425 /* set the cropping H size MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) #define VS6624_CROP_HSIZE1_LSB        0x0426 /* set the cropping H size LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) #define VS6624_CROP_VSTART1_MSB       0x0429 /* set the cropping V start address MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) #define VS6624_CROP_VSTART1_LSB       0x042A /* set the cropping V start address LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) #define VS6624_CROP_VSIZE1_MSB        0x042D /* set the cropping V size MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) #define VS6624_CROP_VSIZE1_LSB        0x042E /* set the cropping V size LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) #define VS6624_IMG_FMT1               0x0430 /* select required output image format */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) #define VS6624_BAYER_OUT_ALIGN1       0x0432 /* set bayer output alignment */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) #define VS6624_CONTRAST1              0x0434 /* contrast control for output */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) #define VS6624_SATURATION1            0x0436 /* saturation control for output */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) #define VS6624_GAMMA1                 0x0438 /* gamma settings */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) #define VS6624_HMIRROR1               0x043A /* horizontal image orientation flip */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) #define VS6624_VFLIP1                 0x043C /* vertical image orientation flip */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) #define VS6624_CHANNEL_ID1            0x043E /* logical DMA channel number */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) /* view live control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) #define VS6624_VIEW_LIVE_EN           0x0480 /* enable view live mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) #define VS6624_INIT_PIPE_SETUP        0x0482 /* select initial pipe setup bank */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) /* view live status */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) #define VS6624_CUR_PIPE_SETUP         0x0500 /* indicates most recently applied setup bank */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) /* power management */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) #define VS6624_TIME_TO_POWER_DOWN     0x0580 /* automatically transition time to stop mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) /* video timing parameter host inputs */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) #define VS6624_EXT_CLK_FREQ_NUM_MSB   0x0605 /* external clock frequency numerator MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) #define VS6624_EXT_CLK_FREQ_NUM_LSB   0x0606 /* external clock frequency numerator LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) #define VS6624_EXT_CLK_FREQ_DEN       0x0608 /* external clock frequency denominator */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) /* video timing control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) #define VS6624_SYS_CLK_MODE           0x0880 /* decides system clock frequency */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) /* frame dimension parameter host inputs */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) #define VS6624_LIGHT_FREQ             0x0C80 /* AC frequency used for flicker free time */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) #define VS6624_FLICKER_COMPAT         0x0C82 /* flicker compatible frame length */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) /* static frame rate control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) #define VS6624_FR_NUM_MSB             0x0D81 /* desired frame rate numerator MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) #define VS6624_FR_NUM_LSB             0x0D82 /* desired frame rate numerator LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) #define VS6624_FR_DEN                 0x0D84 /* desired frame rate denominator */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) /* automatic frame rate control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) #define VS6624_DISABLE_FR_DAMPER      0x0E80 /* defines frame rate mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) #define VS6624_MIN_DAMPER_OUT_MSB     0x0E8C /* minimum frame rate MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) #define VS6624_MIN_DAMPER_OUT_LSB     0x0E8A /* minimum frame rate LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) /* exposure controls */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) #define VS6624_EXPO_MODE              0x1180 /* exposure mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) #define VS6624_EXPO_METER             0x1182 /* weights to be associated with the zones */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) #define VS6624_EXPO_TIME_NUM          0x1184 /* exposure time numerator */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) #define VS6624_EXPO_TIME_DEN          0x1186 /* exposure time denominator */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) #define VS6624_EXPO_TIME_MSB          0x1189 /* exposure time for the Manual Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) #define VS6624_EXPO_TIME_LSB          0x118A /* exposure time for the Manual Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) #define VS6624_EXPO_COMPENSATION      0x1190 /* exposure compensation */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) #define VS6624_DIRECT_COARSE_MSB      0x1195 /* coarse integration lines for Direct Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) #define VS6624_DIRECT_COARSE_LSB      0x1196 /* coarse integration lines for Direct Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) #define VS6624_DIRECT_FINE_MSB        0x1199 /* fine integration pixels for Direct Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) #define VS6624_DIRECT_FINE_LSB        0x119A /* fine integration pixels for Direct Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) #define VS6624_DIRECT_ANAL_GAIN_MSB   0x119D /* analog gain for Direct Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) #define VS6624_DIRECT_ANAL_GAIN_LSB   0x119E /* analog gain for Direct Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) #define VS6624_DIRECT_DIGI_GAIN_MSB   0x11A1 /* digital gain for Direct Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) #define VS6624_DIRECT_DIGI_GAIN_LSB   0x11A2 /* digital gain for Direct Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) #define VS6624_FLASH_COARSE_MSB       0x11A5 /* coarse integration lines for Flash Gun Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) #define VS6624_FLASH_COARSE_LSB       0x11A6 /* coarse integration lines for Flash Gun Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) #define VS6624_FLASH_FINE_MSB         0x11A9 /* fine integration pixels for Flash Gun Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) #define VS6624_FLASH_FINE_LSB         0x11AA /* fine integration pixels for Flash Gun Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) #define VS6624_FLASH_ANAL_GAIN_MSB    0x11AD /* analog gain for Flash Gun Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) #define VS6624_FLASH_ANAL_GAIN_LSB    0x11AE /* analog gain for Flash Gun Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) #define VS6624_FLASH_DIGI_GAIN_MSB    0x11B1 /* digital gain for Flash Gun Mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) #define VS6624_FLASH_DIGI_GAIN_LSB    0x11B2 /* digital gain for Flash Gun Mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) #define VS6624_FREEZE_AE              0x11B4 /* freeze auto exposure */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) #define VS6624_MAX_INT_TIME_MSB       0x11B7 /* user maximum integration time MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) #define VS6624_MAX_INT_TIME_LSB       0x11B8 /* user maximum integration time LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) #define VS6624_FLASH_AG_THR_MSB       0x11BB /* recommend flash gun analog gain threshold MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) #define VS6624_FLASH_AG_THR_LSB       0x11BC /* recommend flash gun analog gain threshold LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) #define VS6624_ANTI_FLICKER_MODE      0x11C0 /* anti flicker mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) /* white balance control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) #define VS6624_WB_MODE                0x1480 /* set white balance mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) #define VS6624_MAN_RG                 0x1482 /* user setting for red channel gain */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) #define VS6624_MAN_GG                 0x1484 /* user setting for green channel gain */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) #define VS6624_MAN_BG                 0x1486 /* user setting for blue channel gain */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) #define VS6624_FLASH_RG_MSB           0x148B /* red gain for Flash Gun MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) #define VS6624_FLASH_RG_LSB           0x148C /* red gain for Flash Gun LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) #define VS6624_FLASH_GG_MSB           0x148F /* green gain for Flash Gun MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) #define VS6624_FLASH_GG_LSB           0x1490 /* green gain for Flash Gun LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) #define VS6624_FLASH_BG_MSB           0x1493 /* blue gain for Flash Gun MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) #define VS6624_FLASH_BG_LSB           0x1494 /* blue gain for Flash Gun LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) /* sensor setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) #define VS6624_BC_OFFSET              0x1990 /* Black Correction Offset */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) /* image stability */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) #define VS6624_STABLE_WB              0x1900 /* white balance stable */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) #define VS6624_STABLE_EXPO            0x1902 /* exposure stable */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) #define VS6624_STABLE                 0x1906 /* system stable */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) /* flash control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) #define VS6624_FLASH_MODE             0x1A80 /* flash mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) #define VS6624_FLASH_OFF_LINE_MSB     0x1A83 /* off line at flash pulse mode MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) #define VS6624_FLASH_OFF_LINE_LSB     0x1A84 /* off line at flash pulse mode LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) /* flash status */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) #define VS6624_FLASH_RECOM            0x1B00 /* flash gun is recommended */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) #define VS6624_FLASH_GRAB_COMPLETE    0x1B02 /* flash gun image has been grabbed */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) /* scythe filter controls */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) #define VS6624_SCYTHE_FILTER          0x1D80 /* disable scythe defect correction */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) /* jack filter controls */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) #define VS6624_JACK_FILTER            0x1E00 /* disable jack defect correction */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) /* demosaic control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) #define VS6624_ANTI_ALIAS_FILTER      0x1E80 /* anti alias filter suppress */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) /* color matrix dampers */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) #define VS6624_CM_DISABLE             0x1F00 /* disable color matrix damper */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) #define VS6624_CM_LOW_THR_MSB         0x1F03 /* low threshold for exposure MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) #define VS6624_CM_LOW_THR_LSB         0x1F04 /* low threshold for exposure LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) #define VS6624_CM_HIGH_THR_MSB        0x1F07 /* high threshold for exposure MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) #define VS6624_CM_HIGH_THR_LSB        0x1F08 /* high threshold for exposure LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) #define VS6624_CM_MIN_OUT_MSB         0x1F0B /* minimum possible damper output MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) #define VS6624_CM_MIN_OUT_LSB         0x1F0C /* minimum possible damper output LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) /* peaking control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) #define VS6624_PEAK_GAIN              0x2000 /* controls peaking gain */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) #define VS6624_PEAK_G_DISABLE         0x2002 /* disable peak gain damping */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) #define VS6624_PEAK_LOW_THR_G_MSB     0x2005 /* low threshold for exposure for gain MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) #define VS6624_PEAK_LOW_THR_G_LSB     0x2006 /* low threshold for exposure for gain LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) #define VS6624_PEAK_HIGH_THR_G_MSB    0x2009 /* high threshold for exposure for gain MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) #define VS6624_PEAK_HIGH_THR_G_LSB    0x200A /* high threshold for exposure for gain LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) #define VS6624_PEAK_MIN_OUT_G_MSB     0x200D /* minimum damper output for gain MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) #define VS6624_PEAK_MIN_OUT_G_LSB     0x200E /* minimum damper output for gain LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) #define VS6624_PEAK_LOW_THR           0x2010 /* adjust degree of coring */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) #define VS6624_PEAK_C_DISABLE         0x2012 /* disable coring damping */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) #define VS6624_PEAK_HIGH_THR          0x2014 /* adjust maximum gain */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) #define VS6624_PEAK_LOW_THR_C_MSB     0x2017 /* low threshold for exposure for coring MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) #define VS6624_PEAK_LOW_THR_C_LSB     0x2018 /* low threshold for exposure for coring LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) #define VS6624_PEAK_HIGH_THR_C_MSB    0x201B /* high threshold for exposure for coring MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) #define VS6624_PEAK_HIGH_THR_C_LSB    0x201C /* high threshold for exposure for coring LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) #define VS6624_PEAK_MIN_OUT_C_MSB     0x201F /* minimum damper output for coring MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) #define VS6624_PEAK_MIN_OUT_C_LSB     0x2020 /* minimum damper output for coring LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) /* pipe 0 RGB to YUV matrix manual control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) #define VS6624_RYM0_MAN_CTRL          0x2180 /* enable manual RGB to YUV matrix */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) #define VS6624_RYM0_W00_MSB           0x2183 /* row 0 column 0 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) #define VS6624_RYM0_W00_LSB           0x2184 /* row 0 column 0 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) #define VS6624_RYM0_W01_MSB           0x2187 /* row 0 column 1 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) #define VS6624_RYM0_W01_LSB           0x2188 /* row 0 column 1 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) #define VS6624_RYM0_W02_MSB           0x218C /* row 0 column 2 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) #define VS6624_RYM0_W02_LSB           0x218D /* row 0 column 2 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) #define VS6624_RYM0_W10_MSB           0x2190 /* row 1 column 0 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) #define VS6624_RYM0_W10_LSB           0x218F /* row 1 column 0 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) #define VS6624_RYM0_W11_MSB           0x2193 /* row 1 column 1 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) #define VS6624_RYM0_W11_LSB           0x2194 /* row 1 column 1 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) #define VS6624_RYM0_W12_MSB           0x2197 /* row 1 column 2 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) #define VS6624_RYM0_W12_LSB           0x2198 /* row 1 column 2 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) #define VS6624_RYM0_W20_MSB           0x219B /* row 2 column 0 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) #define VS6624_RYM0_W20_LSB           0x219C /* row 2 column 0 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) #define VS6624_RYM0_W21_MSB           0x21A0 /* row 2 column 1 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) #define VS6624_RYM0_W21_LSB           0x219F /* row 2 column 1 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) #define VS6624_RYM0_W22_MSB           0x21A3 /* row 2 column 2 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) #define VS6624_RYM0_W22_LSB           0x21A4 /* row 2 column 2 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) #define VS6624_RYM0_YINY_MSB          0x21A7 /* Y in Y MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) #define VS6624_RYM0_YINY_LSB          0x21A8 /* Y in Y LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) #define VS6624_RYM0_YINCB_MSB         0x21AB /* Y in Cb MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) #define VS6624_RYM0_YINCB_LSB         0x21AC /* Y in Cb LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) #define VS6624_RYM0_YINCR_MSB         0x21B0 /* Y in Cr MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) #define VS6624_RYM0_YINCR_LSB         0x21AF /* Y in Cr LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) /* pipe 1 RGB to YUV matrix manual control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) #define VS6624_RYM1_MAN_CTRL          0x2200 /* enable manual RGB to YUV matrix */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) #define VS6624_RYM1_W00_MSB           0x2203 /* row 0 column 0 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) #define VS6624_RYM1_W00_LSB           0x2204 /* row 0 column 0 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) #define VS6624_RYM1_W01_MSB           0x2207 /* row 0 column 1 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) #define VS6624_RYM1_W01_LSB           0x2208 /* row 0 column 1 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) #define VS6624_RYM1_W02_MSB           0x220C /* row 0 column 2 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) #define VS6624_RYM1_W02_LSB           0x220D /* row 0 column 2 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) #define VS6624_RYM1_W10_MSB           0x2210 /* row 1 column 0 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) #define VS6624_RYM1_W10_LSB           0x220F /* row 1 column 0 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) #define VS6624_RYM1_W11_MSB           0x2213 /* row 1 column 1 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) #define VS6624_RYM1_W11_LSB           0x2214 /* row 1 column 1 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) #define VS6624_RYM1_W12_MSB           0x2217 /* row 1 column 2 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) #define VS6624_RYM1_W12_LSB           0x2218 /* row 1 column 2 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) #define VS6624_RYM1_W20_MSB           0x221B /* row 2 column 0 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) #define VS6624_RYM1_W20_LSB           0x221C /* row 2 column 0 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) #define VS6624_RYM1_W21_MSB           0x2220 /* row 2 column 1 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) #define VS6624_RYM1_W21_LSB           0x221F /* row 2 column 1 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) #define VS6624_RYM1_W22_MSB           0x2223 /* row 2 column 2 of YUV matrix MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) #define VS6624_RYM1_W22_LSB           0x2224 /* row 2 column 2 of YUV matrix LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) #define VS6624_RYM1_YINY_MSB          0x2227 /* Y in Y MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253) #define VS6624_RYM1_YINY_LSB          0x2228 /* Y in Y LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) #define VS6624_RYM1_YINCB_MSB         0x222B /* Y in Cb MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) #define VS6624_RYM1_YINCB_LSB         0x222C /* Y in Cb LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) #define VS6624_RYM1_YINCR_MSB         0x2220 /* Y in Cr MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) #define VS6624_RYM1_YINCR_LSB         0x222F /* Y in Cr LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) /* pipe 0 gamma manual control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) #define VS6624_GAMMA_MAN_CTRL0        0x2280 /* enable manual gamma setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) #define VS6624_GAMMA_PEAK_R0          0x2282 /* peaked red channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) #define VS6624_GAMMA_PEAK_G0          0x2284 /* peaked green channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) #define VS6624_GAMMA_PEAK_B0          0x2286 /* peaked blue channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) #define VS6624_GAMMA_UNPEAK_R0        0x2288 /* unpeaked red channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) #define VS6624_GAMMA_UNPEAK_G0        0x228A /* unpeaked green channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) #define VS6624_GAMMA_UNPEAK_B0        0x228C /* unpeaked blue channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) /* pipe 1 gamma manual control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) #define VS6624_GAMMA_MAN_CTRL1        0x2300 /* enable manual gamma setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) #define VS6624_GAMMA_PEAK_R1          0x2302 /* peaked red channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) #define VS6624_GAMMA_PEAK_G1          0x2304 /* peaked green channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) #define VS6624_GAMMA_PEAK_B1          0x2306 /* peaked blue channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) #define VS6624_GAMMA_UNPEAK_R1        0x2308 /* unpeaked red channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) #define VS6624_GAMMA_UNPEAK_G1        0x230A /* unpeaked green channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) #define VS6624_GAMMA_UNPEAK_B1        0x230C /* unpeaked blue channel gamma value */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) /* fade to black */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) #define VS6624_F2B_DISABLE            0x2480 /* disable fade to black */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) #define VS6624_F2B_BLACK_VAL_MSB      0x2483 /* black value MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) #define VS6624_F2B_BLACK_VAL_LSB      0x2484 /* black value LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) #define VS6624_F2B_LOW_THR_MSB        0x2487 /* low threshold for exposure MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) #define VS6624_F2B_LOW_THR_LSB        0x2488 /* low threshold for exposure LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) #define VS6624_F2B_HIGH_THR_MSB       0x248B /* high threshold for exposure MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) #define VS6624_F2B_HIGH_THR_LSB       0x248C /* high threshold for exposure LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) #define VS6624_F2B_MIN_OUT_MSB        0x248F /* minimum damper output MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) #define VS6624_F2B_MIN_OUT_LSB        0x2490 /* minimum damper output LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) /* output formatter control */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) #define VS6624_CODE_CK_EN             0x2580 /* code check enable */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) #define VS6624_BLANK_FMT              0x2582 /* blank format */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) #define VS6624_SYNC_CODE_SETUP        0x2584 /* sync code setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) #define VS6624_HSYNC_SETUP            0x2586 /* H sync setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) #define VS6624_VSYNC_SETUP            0x2588 /* V sync setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) #define VS6624_PCLK_SETUP             0x258A /* PCLK setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) #define VS6624_PCLK_EN                0x258C /* PCLK enable */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292) #define VS6624_OPF_SP_SETUP           0x258E /* output formatter sp setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) #define VS6624_BLANK_DATA_MSB         0x2590 /* blank data MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) #define VS6624_BLANK_DATA_LSB         0x2592 /* blank data LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295) #define VS6624_RGB_SETUP              0x2594 /* RGB setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) #define VS6624_YUV_SETUP              0x2596 /* YUV setup */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) #define VS6624_VSYNC_RIS_COARSE_H     0x2598 /* V sync rising coarse high */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) #define VS6624_VSYNC_RIS_COARSE_L     0x259A /* V sync rising coarse low */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) #define VS6624_VSYNC_RIS_FINE_H       0x259C /* V sync rising fine high */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) #define VS6624_VSYNC_RIS_FINE_L       0x259E /* V sync rising fine low */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) #define VS6624_VSYNC_FALL_COARSE_H    0x25A0 /* V sync falling coarse high */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) #define VS6624_VSYNC_FALL_COARSE_L    0x25A2 /* V sync falling coarse low */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) #define VS6624_VSYNC_FALL_FINE_H      0x25A4 /* V sync falling fine high */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) #define VS6624_VSYNC_FALL_FINE_L      0x25A6 /* V sync falling fine low */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) #define VS6624_HSYNC_RIS_H            0x25A8 /* H sync rising high */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) #define VS6624_HSYNC_RIS_L            0x25AA /* H sync rising low */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) #define VS6624_HSYNC_FALL_H           0x25AC /* H sync falling high */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308) #define VS6624_HSYNC_FALL_L           0x25AE /* H sync falling low */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) #define VS6624_OUT_IF                 0x25B0 /* output interface */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) #define VS6624_CCP_EXT_DATA           0x25B2 /* CCP extra data */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) /* NoRA controls */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) #define VS6624_NORA_DISABLE           0x2600 /* NoRA control mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) #define VS6624_NORA_USAGE             0x2602 /* usage */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) #define VS6624_NORA_SPLIT_KN          0x2604 /* split kn */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) #define VS6624_NORA_SPLIT_NI          0x2606 /* split ni */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) #define VS6624_NORA_TIGHT_G           0x2608 /* tight green */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317) #define VS6624_NORA_DISABLE_NP        0x260A /* disable noro promoting */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) #define VS6624_NORA_LOW_THR_MSB       0x260D /* low threshold for exposure MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) #define VS6624_NORA_LOW_THR_LSB       0x260E /* low threshold for exposure LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) #define VS6624_NORA_HIGH_THR_MSB      0x2611 /* high threshold for exposure MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321) #define VS6624_NORA_HIGH_THR_LSB      0x2612 /* high threshold for exposure LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) #define VS6624_NORA_MIN_OUT_MSB       0x2615 /* minimum damper output MSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) #define VS6624_NORA_MIN_OUT_LSB       0x2616 /* minimum damper output LSB */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) #endif