1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Support for Intel Camera Imaging ISP subsystem.
5 * Copyright (c) 2013 Intel Corporation. All Rights Reserved.
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.
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.
18 #ifndef __ATOMISP_DFS_TABLES_H__
19 #define __ATOMISP_DFS_TABLES_H__
21 #include <linux/kernel.h>
23 struct atomisp_freq_scaling_rule {
27 unsigned int isp_freq;
28 unsigned int run_mode;
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;
39 extern const struct atomisp_dfs_config dfs_config_cht_soc;
41 #endif /* __ATOMISP_DFS_TABLES_H__ */