1 /* linux/drivers/media/video/samsung/csis.h
3 * Copyright (c) 2010 Samsung Electronics Co,. Ltd.
4 * http://www.samsung.com/
6 * Header file for Samsung MIPI-CSI2 driver
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
14 #define __CSIS_H __FILE__
16 #define S3C_CSIS_NAME "s3c-csis"
17 #define S3C_CSIS_NR_LANES 1
19 #ifdef CONFIG_CPU_S5PV310
20 #define S3C_CSIS_CH_NUM 2
22 #define S3C_CSIS_CH_NUM 1
25 #define info(args...) \
26 do { printk(KERN_INFO S3C_CSIS_NAME ": " args); } while (0)
27 #define err(args...) \
28 do { printk(KERN_ERR S3C_CSIS_NAME ": " args); } while (0)
31 MIPI_CSI_YCBCR422_8BIT = 0x1e,
33 MIPI_CSI_RAW10 = 0x2b,
34 MIPI_CSI_RAW12 = 0x2c,
35 MIPI_USER_DEF_PACKET_1 = 0x30, /* User defined Byte-based packet 1 */
38 struct s3c_csis_info {