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 #ifndef	__ATOMISP_DFS_TABLES_H__
8 #define	__ATOMISP_DFS_TABLES_H__
9 
10 #include <linux/kernel.h>
11 
12 struct atomisp_freq_scaling_rule {
13 	unsigned int width;
14 	unsigned int height;
15 	unsigned short fps;
16 	unsigned int isp_freq;
17 	unsigned int run_mode;
18 };
19 
20 struct atomisp_dfs_config {
21 	unsigned int lowest_freq;
22 	unsigned int max_freq_at_vmin;
23 	unsigned int highest_freq;
24 	const struct atomisp_freq_scaling_rule *dfs_table;
25 	unsigned int dfs_table_size;
26 };
27 
28 extern const struct atomisp_dfs_config dfs_config_cht_soc;
29 
30 #endif /* __ATOMISP_DFS_TABLES_H__ */
31