2 * Samsung Exynos4x12 FIMC-IS (Imaging Subsystem) driver
4 * FIMC-IS command set definitions
6 * Copyright (C) 2013 Samsung Electronics Co., Ltd.
8 * Authors: Younghwan Joo <yhwan.joo@samsung.com>
9 * Sylwester Nawrocki <s.nawrocki@samsung.com>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
16 #ifndef FIMC_IS_CMD_H_
17 #define FIMC_IS_CMD_H_
19 #define FIMC_IS_COMMAND_VER 110 /* FIMC-IS command set version 1.10 */
21 /* Enumeration of commands beetween the FIMC-IS and the host processor. */
24 #define HIC_PREVIEW_STILL 0x0001
25 #define HIC_PREVIEW_VIDEO 0x0002
26 #define HIC_CAPTURE_STILL 0x0003
27 #define HIC_CAPTURE_VIDEO 0x0004
28 #define HIC_STREAM_ON 0x0005
29 #define HIC_STREAM_OFF 0x0006
30 #define HIC_SET_PARAMETER 0x0007
31 #define HIC_GET_PARAMETER 0x0008
32 #define HIC_SET_TUNE 0x0009
33 #define HIC_GET_STATUS 0x000b
35 #define HIC_OPEN_SENSOR 0x000c
36 #define HIC_CLOSE_SENSOR 0x000d
37 #define HIC_SIMMIAN_INIT 0x000e
38 #define HIC_SIMMIAN_WRITE 0x000f
39 #define HIC_SIMMIAN_READ 0x0010
40 #define HIC_POWER_DOWN 0x0011
41 #define HIC_GET_SET_FILE_ADDR 0x0012
42 #define HIC_LOAD_SET_FILE 0x0013
43 #define HIC_MSG_CONFIG 0x0014
44 #define HIC_MSG_TEST 0x0015
46 #define IHC_GET_SENSOR_NUM 0x1000
47 #define IHC_SET_SHOT_MARK 0x1001
48 /* parameter1: frame number */
49 /* parameter2: confidence level (smile 0~100) */
50 /* parameter3: confidence level (blink 0~100) */
51 #define IHC_SET_FACE_MARK 0x1002
52 /* parameter1: coordinate count */
53 /* parameter2: coordinate buffer address */
54 #define IHC_FRAME_DONE 0x1003
55 /* parameter1: frame start number */
56 /* parameter2: frame count */
57 #define IHC_AA_DONE 0x1004
58 #define IHC_NOT_READY 0x1005
60 #define IH_REPLY_DONE 0x2000
61 #define IH_REPLY_NOT_DONE 0x2001
63 enum fimc_is_scenario {
71 enum fimc_is_sub_scenario {
79 struct is_common_regs {
107 struct is_mcuctl_reg {
134 struct is_common_regs common;
137 #endif /* FIMC_IS_CMD_H_ */