• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  *
5  * Copyright (c) 2013 Intel Corporation. All Rights Reserved.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License version
9  * 2 as published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  *
17  */
18 #ifndef	__ATOMISP_DFS_TABLES_H__
19 #define	__ATOMISP_DFS_TABLES_H__
20 
21 #include <linux/kernel.h>
22 
23 struct atomisp_freq_scaling_rule {
24 	unsigned int width;
25 	unsigned int height;
26 	unsigned short fps;
27 	unsigned int isp_freq;
28 	unsigned int run_mode;
29 };
30 
31 struct atomisp_dfs_config {
32 	unsigned int lowest_freq;
33 	unsigned int max_freq_at_vmin;
34 	unsigned int highest_freq;
35 	const struct atomisp_freq_scaling_rule *dfs_table;
36 	unsigned int dfs_table_size;
37 };
38 
39 extern const struct atomisp_dfs_config dfs_config_cht_soc;
40 
41 #endif /* __ATOMISP_DFS_TABLES_H__ */
42