summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/qcom,gpu-sdm660.h
blob: fd5328c056b8c47be61b94a20bd34f9cc6813ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _DT_BINDINGS_CLK_MSM_GPU_660_H
#define _DT_BINDINGS_CLK_MSM_GPU_660_H

#define GPU_PLL0_PLL						0
#define GPU_PLL0_PLL_OUT_AUX					1
#define GPU_PLL0_PLL_OUT_AUX2					2
#define GPU_PLL0_PLL_OUT_EARLY					3
#define GPU_PLL0_PLL_OUT_MAIN					4
#define GPU_PLL0_PLL_OUT_TEST					5
#define GPU_PLL1_PLL						6
#define GPU_PLL1_PLL_OUT_AUX					7
#define GPU_PLL1_PLL_OUT_AUX2					8
#define GPU_PLL1_PLL_OUT_EARLY					9
#define GPU_PLL1_PLL_OUT_MAIN					10
#define GPU_PLL1_PLL_OUT_TEST					11
#define GFX3D_CLK_SRC						12
#define GPUCC_GFX3D_CLK						13
#define GPUCC_RBBMTIMER_CLK					14
#define RBBMTIMER_CLK_SRC					15
#define GPUCC_CXO_CLK						16

/* RBCPR GPUCC clocks */
#define RBCPR_CLK_SRC						0
#define GPUCC_RBCPR_CLK						1

#define GPU_CX_GDSC						0
#define GPU_GX_GDSC						1

#define GPUCC_GPU_CX_BCR					0
#define GPUCC_GPU_GX_BCR					1
#define GPUCC_RBCPR_BCR						2
#define GPUCC_SPDM_BCR						3

#endif