Lakshmi Narayana Kalavala | 85c4035 | 2017-05-15 16:19:13 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #ifndef CAM_IPE_HW_INTF_H |
| 14 | #define CAM_IPE_HW_INTF_H |
| 15 | |
| 16 | #include <uapi/media/cam_defs.h> |
| 17 | #include <media/cam_icp.h> |
| 18 | #include "cam_hw_mgr_intf.h" |
| 19 | #include "cam_icp_hw_intf.h" |
| 20 | |
| 21 | enum cam_icp_ipe_cmd_type { |
| 22 | CAM_ICP_IPE_CMD_FW_DOWNLOAD, |
| 23 | CAM_ICP_IPE_CMD_POWER_COLLAPSE, |
| 24 | CAM_ICP_IPE_CMD_POWER_RESUME, |
| 25 | CAM_ICP_IPE_CMD_SET_FW_BUF, |
| 26 | CAM_ICP_IPE_CMD_VOTE_CPAS, |
| 27 | CAM_ICP_IPE_CMD_CPAS_START, |
| 28 | CAM_ICP_IPE_CMD_CPAS_STOP, |
| 29 | CAM_ICP_IPE_CMD_MAX, |
| 30 | }; |
| 31 | |
| 32 | #endif /* CAM_IPE_HW_INTF_H */ |