1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  */
15 
16 #ifndef __GPIO_GLOBAL_H_INCLUDED__
17 #define __GPIO_GLOBAL_H_INCLUDED__
18 
19 #define IS_GPIO_VERSION_1
20 
21 #include <gpio_block_defs.h>
22 
23 /* pqiao: following part only defines in hive_isp_css_defs.h in fpga system.
24 	port it here
25 */
26 
27 /* GPIO pin defines */
28 /*#define HIVE_GPIO_CAMERA_BOARD_RESET_PIN_NR                   0
29 #define HIVE_GPIO_LCD_CLOCK_SELECT_PIN_NR                     7
30 #define HIVE_GPIO_HDMI_CLOCK_SELECT_PIN_NR                    8
31 #define HIVE_GPIO_LCD_VERT_FLIP_PIN_NR                        8
32 #define HIVE_GPIO_LCD_HOR_FLIP_PIN_NR                         9
33 #define HIVE_GPIO_AS3683_GPIO_P0_PIN_NR                       1
34 #define HIVE_GPIO_AS3683_DATA_P1_PIN_NR                       2
35 #define HIVE_GPIO_AS3683_CLK_P2_PIN_NR                        3
36 #define HIVE_GPIO_AS3683_T1_F0_PIN_NR                         4
37 #define HIVE_GPIO_AS3683_SFL_F1_PIN_NR                        5
38 #define HIVE_GPIO_AS3683_STROBE_F2_PIN_NR                     6
39 #define HIVE_GPIO_MAX1577_EN1_PIN_NR                          1
40 #define HIVE_GPIO_MAX1577_EN2_PIN_NR                          2
41 #define HIVE_GPIO_MAX8685A_EN_PIN_NR                          3
42 #define HIVE_GPIO_MAX8685A_TRIG_PIN_NR                        4*/
43 
44 #define HIVE_GPIO_STROBE_TRIGGER_PIN		2
45 
46 #endif /* __GPIO_GLOBAL_H_INCLUDED__ */
47