1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
4  */
5 
6 #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8250_H
7 #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8250_H
8 
9 /* VIDEO_CC clocks */
10 #define VIDEO_CC_MVS0_CLK_SRC		0
11 #define VIDEO_CC_MVS0C_CLK		1
12 #define VIDEO_CC_MVS0C_DIV2_DIV_CLK_SRC	2
13 #define VIDEO_CC_MVS1_CLK_SRC		3
14 #define VIDEO_CC_MVS1_DIV2_CLK		4
15 #define VIDEO_CC_MVS1C_CLK		5
16 #define VIDEO_CC_MVS1C_DIV2_DIV_CLK_SRC	6
17 #define VIDEO_CC_PLL0			7
18 #define VIDEO_CC_PLL1			8
19 
20 /* VIDEO_CC resets */
21 #define VIDEO_CC_CVP_INTERFACE_BCR	0
22 #define VIDEO_CC_CVP_MVS0_BCR		1
23 #define VIDEO_CC_MVS0C_CLK_ARES		2
24 #define VIDEO_CC_CVP_MVS0C_BCR		3
25 #define VIDEO_CC_CVP_MVS1_BCR		4
26 #define VIDEO_CC_MVS1C_CLK_ARES		5
27 #define VIDEO_CC_CVP_MVS1C_BCR		6
28 
29 #define MVS0C_GDSC			0
30 #define MVS1C_GDSC			1
31 #define MVS0_GDSC			2
32 #define MVS1_GDSC			3
33 
34 #endif
35