3 * (C) COPYRIGHT 2014-2015 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 (5000)
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 (5000)
38 * Values used for determining the GPU frequency based on the LogicTile type
39 * Used by the function kbase_get_platform_logic_tile_type
41 #define VE_VIRTEX6_GPU_FREQ_MIN 5000
42 #define VE_VIRTEX6_GPU_FREQ_MAX 5000
43 #define VE_VIRTEX7_GPU_FREQ_MIN 40000
44 #define VE_VIRTEX7_GPU_FREQ_MAX 40000
47 * CPU_SPEED_FUNC - A pointer to a function that calculates the CPU clock
49 * CPU clock speed of the platform is in MHz - see kbase_cpu_clk_speed_func
50 * for the function prototype.
52 * Attached value: A kbase_cpu_clk_speed_func.
55 #define CPU_SPEED_FUNC (&kbase_get_vexpress_cpu_clock_speed)
58 * GPU_SPEED_FUNC - A pointer to a function that calculates the GPU clock
60 * GPU clock speed of the platform in MHz - see kbase_gpu_clk_speed_func
61 * for the function prototype.
63 * Attached value: A kbase_gpu_clk_speed_func.
66 #define GPU_SPEED_FUNC (NULL)
69 * Power management configuration
71 * Attached value: pointer to @ref kbase_pm_callback_conf
72 * Default value: See @ref kbase_pm_callback_conf
74 #define POWER_MANAGEMENT_CALLBACKS (&pm_callbacks)
77 * Platform specific configuration functions
79 * Attached value: pointer to @ref kbase_platform_funcs_conf
80 * Default value: See @ref kbase_platform_funcs_conf
82 #define PLATFORM_FUNCS (NULL)
87 * Attached value: pointer to @ref kbase_secure_ops
89 #define SECURE_CALLBACKS (NULL)
91 extern struct kbase_pm_callback_conf pm_callbacks;