diff options
Diffstat (limited to 'arch/arm/mach-s3c2440/camera/s5x532_rev36.h')
-rw-r--r-- | arch/arm/mach-s3c2440/camera/s5x532_rev36.h | 208 |
1 files changed, 0 insertions, 208 deletions
diff --git a/arch/arm/mach-s3c2440/camera/s5x532_rev36.h b/arch/arm/mach-s3c2440/camera/s5x532_rev36.h deleted file mode 100644 index b662e9c38c8..00000000000 --- a/arch/arm/mach-s3c2440/camera/s5x532_rev36.h +++ /dev/null @@ -1,208 +0,0 @@ -/* - * 2004 (C) Samsung Electronics - * SW.LEE <hitchcar@sec.samsung.com> - * This file is subject to the terms and conditions of the GNU General Public - * License 2. See the file COPYING in the main directory of this archive - * for more details. - */ - - -#ifndef _SMDK2440_S5X532_H_ -#define _SMDK2440_S5X532_H_ - - -#define CHIP_DELAY 0xFF - -typedef struct samsung_t{ - unsigned char subaddr; - unsigned char value; - unsigned char page; -} s5x532_t; - -s5x532_t s5x532_reg[] = { - - //=============== page0 ===============// - {0xec,0x00,0x00}, - {0x02,0x00,0x00}, - {0x14,0x60,0x00}, - {0x15,0x60,0x00}, - {0x16,0x60,0x00}, - {0x1b,0x20,0x00}, - {0x1c,0x20,0x00}, - {0x1d,0x20,0x00}, - {0x1e,0x20,0x00}, - {0x72,0xdc,0x00}, - {0x73,0x11,0x00}, - {0x76,0x82,0x00}, - {0x77,0x90,0x00}, - {0x78,0x6c,0x00}, - {0x0a,0x02,0x00}, - {0x34,0x0d,0x00}, - {0x35,0x0a,0x00}, - {0x36,0x05,0x00}, - {0x37,0x05,0x00}, - {0x38,0x06,0x00}, - {0x39,0x08,0x00}, - {0x3A,0x0d,0x00}, - {0x3B,0x0d,0x00}, - {0x3C,0x18,0x00}, - {0x3D,0xE0,0x00}, - {0x3E,0x20,0x00}, - {0x66,0x02,0x00}, - {0x6c,0x40,0x00}, - {0x7c,0x01,0x00}, - {0x0D,0x24,0x00}, - {0x40,0x1B,0x00}, - {0x41,0x4F,0x00}, - {0x42,0x24,0x00}, - {0x43,0x3E,0x00}, - {0x44,0x32,0x00}, - {0x45,0x30,0x00}, - {0x48,0xa0,0x00}, - {0x49,0xd0,0x00}, - {0x4A,0x28,0x00}, - {0x4B,0x7d,0x00}, - {0x4C,0xd0,0x00}, - {0x4D,0xe0,0x00}, - {0x4E,0x1a,0x00}, - {0x4F,0xa0,0x00}, - {0x50,0xc0,0x00}, - {0x51,0xc0,0x00}, - {0x52,0x42,0x00}, - {0x53,0x7e,0x00}, - {0x54,0xc0,0x00}, - {0x55,0xf0,0x00}, - {0x56,0x1e,0x00}, - {0x57,0xe0,0x00}, - {0x58,0xc0,0x00}, - {0x59,0xa0,0x00}, - {0x5A,0x4a,0x00}, - {0x5B,0x7e,0x00}, - {0x5C,0xc0,0x00}, - {0x5D,0xf0,0x00}, - {0x5E,0x2a,0x00}, - {0x5F,0x10,0x00}, - {0x79,0x00,0x00}, - {0x7a,0x00,0x00}, - {0xe0,0x0f,0x00}, - {0xe3,0x14,0x00}, - {0xe5,0x48,0x00}, - {0xe7,0x58,0x00}, - - //=============== page1 ===============// - {0xec,0x01,0x01}, - {0x10,0x05,0x01}, - {0x20,0xde,0x01}, - {0x0b,0x06,0x01}, - {0x30,0x00,0x01}, - {0x31,0x00,0x01}, - {0x32,0x00,0x01}, - {0x24,0x28,0x01}, - {0x25,0x3F,0x01}, - {0x26,0x65,0x01}, - {0x27,0xA1,0x01}, - {0x28,0xFF,0x01}, - {0x29,0x96,0x01}, - {0x2A,0x85,0x01}, - {0x2B,0xFF,0x01}, - {0x2C,0x00,0x01}, - {0x2D,0x1B,0x01}, - {0xB0,0x28,0x01}, - {0xB1,0x3F,0x01}, - {0xB2,0x65,0x01}, - {0xB3,0xA1,0x01}, - {0xB4,0xFF,0x01}, - {0xB5,0x96,0x01}, - {0xB6,0x85,0x01}, - {0xB7,0xFF,0x01}, - {0xB8,0x00,0x01}, - {0xB9,0x1B,0x01}, - {0x15,0x15,0x01}, - {0x18,0x85,0x01}, - {0x1f,0x05,0x01}, - {0x87,0x40,0x01}, - {0x37,0x60,0x01}, - {0x38,0xd5,0x01}, - {0x48,0xa0,0x01}, - {0x61,0x54,0x01}, - {0x62,0x54,0x01}, - {0x63,0x14,0x01}, - {0x64,0x14,0x01}, - {0x6d,0x12,0x01}, - {0x78,0x09,0x01}, - {0x79,0xD7,0x01}, - {0x7A,0x14,0x01}, - {0x7B,0xEE,0x01}, - - //=============== page2 ===============// - {0xec,0x02,0x02}, - {0x2c,0x76,0x02}, - {0x25,0x25,0x02}, - {0x27,0x27,0x02}, - {0x30,0x29,0x02}, - {0x36,0x08,0x02}, - {0x38,0x04,0x02}, - - //=============== page3 ===============// - {0xec,0x03,0x03}, - {0x08,0x00,0x03}, - {0x09,0x33,0x03}, - - //=============== page4 ===============// - {0xec,0x04,0x04}, - {0x00,0x21,0x04}, - {0x01,0x00,0x04}, - {0x02,0x9d,0x04}, - {0x03,0x02,0x04}, - {0x04,0x04,0x04}, - {0x05,0x00,0x04}, - {0x06,0x1f,0x04}, - {0x07,0x02,0x04}, - {0x08,0x21,0x04}, - {0x09,0x00,0x04}, - {0x0a,0x9d,0x04}, - {0x0b,0x02,0x04}, - {0x0c,0x04,0x04}, - {0x0d,0x00,0x04}, - {0x0e,0x20,0x04}, - {0x0f,0x02,0x04}, - {0x1b,0x3c,0x04}, - {0x1c,0x3c,0x04}, - - //=============== page5 ===============// - {0xec,0x05,0x05}, - {0x1f,0x00,0x05}, - {0x08,0x59,0x05}, - {0x0a,0x71,0x05}, - {0x1e,0x23,0x05}, - {0x0e,0x3c,0x05}, - - //=============== page7 ===============// - {0xec,0x07,0x07}, - {0x11,0xfe,0x07}, - - // added by junon - {0xec,0x01,0x07}, - {0x10,0x26,0x07}, - // 0x21-ITU-R656(CbYCrY), 0x25-ITU-R601(CbYCrY), 0x26-ITU-R601(YCrYCb) - - -}; - - -#define S5X532_INIT_REGS (sizeof(s5x532_reg)/sizeof(s5x532_reg[0])) -#define S5X532_RISC_REGS 0xEB -#define S5X532_ISP_REGS 0xFB /* S5C7323X */ -#define S5X532_CIS_REGS 0x2F /* S5K437LA03 */ - - -#define PAGE_ADDRESS 0xEC - -//#define S5X532_REGS (S5X532_RISC_REGS+S5X532_ISP_REGS+S5X532_CIS_REGS) -#define S5X532_REGS (0x1000) - - - -#endif - - |