3 * (C) COPYRIGHT 2014-2016 ARM Limited. All rights reserved.
5 * This program is free software and is provided to you under the terms of the
6 * GNU General Public License version 2 as published by the Free Software
7 * Foundation, and any use by you of this program is subject to the terms
10 * A copy of the licence is included with the program, and can also be obtained
11 * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12 * Boston, MA 02110-1301, USA.
18 #include "mali_kbase_cpu_vexpress.h"
21 * Maximum frequency GPU will be clocked at. Given in kHz.
22 * This must be specified as there is no default value.
24 * Attached value: number in kHz
27 #define GPU_FREQ_KHZ_MAX kbase_get_platform_max_freq()
29 * Minimum frequency GPU will be clocked at. Given in kHz.
30 * This must be specified as there is no default value.
32 * Attached value: number in kHz
35 #define GPU_FREQ_KHZ_MIN kbase_get_platform_min_freq()
38 * CPU_SPEED_FUNC - A pointer to a function that calculates the CPU clock
40 * CPU clock speed of the platform is in MHz - see kbase_cpu_clk_speed_func
41 * for the function prototype.
43 * Attached value: A kbase_cpu_clk_speed_func.
46 #define CPU_SPEED_FUNC (&kbase_get_vexpress_cpu_clock_speed)
49 * GPU_SPEED_FUNC - A pointer to a function that calculates the GPU clock
51 * GPU clock speed of the platform in MHz - see kbase_gpu_clk_speed_func
52 * for the function prototype.
54 * Attached value: A kbase_gpu_clk_speed_func.
57 #define GPU_SPEED_FUNC (NULL)
60 * Power management configuration
62 * Attached value: pointer to @ref kbase_pm_callback_conf
63 * Default value: See @ref kbase_pm_callback_conf
65 #define POWER_MANAGEMENT_CALLBACKS (&pm_callbacks)
68 * Platform specific configuration functions
70 * Attached value: pointer to @ref kbase_platform_funcs_conf
71 * Default value: See @ref kbase_platform_funcs_conf
73 #define PLATFORM_FUNCS (NULL)
76 * Protected mode switch
78 * Attached value: pointer to @ref kbase_protected_ops
80 #define PROTECTED_CALLBACKS (NULL)
82 extern struct kbase_pm_callback_conf pm_callbacks;