blob: 8e5a38a5a0eb2c3a6651b1bf87eacee328783c44 [file] [log] [blame]
Lakshmi Narayana Kalavala85c40352017-05-15 16:19:13 -07001/* 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_SOC_H
14#define CAM_IPE_SOC_H
15
16#include "cam_soc_util.h"
17
18int cam_ipe_init_soc_resources(struct cam_hw_soc_info *soc_info,
19 irq_handler_t ipe_irq_handler, void *irq_data);
20
21int cam_ipe_enable_soc_resources(struct cam_hw_soc_info *soc_info);
22
23int cam_ipe_disable_soc_resources(struct cam_hw_soc_info *soc_info);
24
Suresh Vankadara6657bc22017-07-31 10:33:04 +053025int cam_ipe_get_gdsc_control(struct cam_hw_soc_info *soc_info);
26
27int cam_ipe_transfer_gdsc_control(struct cam_hw_soc_info *soc_info);
Suresh Vankadara34494fc2017-08-12 18:18:09 +053028
29int cam_ipe_update_clk_rate(struct cam_hw_soc_info *soc_info,
30 uint32_t clk_rate);
Lakshmi Narayana Kalavala85c40352017-05-15 16:19:13 -070031#endif /* CAM_IPE_SOC_H */