xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,sm8350-videocc.h (revision 397e83df75e0fcd0d3fcb95ae4d794cb7600fc89)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /*
3  * Copyright (c) 2019, The Linux Foundation. All rights reserved.
4  * Copyright (c) 2023, Linaro Limited
5  */
6 
7 #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8350_H
8 #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8350_H
9 
10 /* Clocks */
11 #define VIDEO_CC_AHB_CLK_SRC					0
12 #define VIDEO_CC_MVS0_CLK					1
13 #define VIDEO_CC_MVS0_CLK_SRC					2
14 #define VIDEO_CC_MVS0_DIV_CLK_SRC				3
15 #define VIDEO_CC_MVS0C_CLK					4
16 #define VIDEO_CC_MVS0C_DIV2_DIV_CLK_SRC				5
17 #define VIDEO_CC_MVS1_CLK					6
18 #define VIDEO_CC_MVS1_CLK_SRC					7
19 #define VIDEO_CC_MVS1_DIV2_CLK					8
20 #define VIDEO_CC_MVS1_DIV_CLK_SRC				9
21 #define VIDEO_CC_MVS1C_CLK					10
22 #define VIDEO_CC_MVS1C_DIV2_DIV_CLK_SRC				11
23 #define VIDEO_CC_SLEEP_CLK					12
24 #define VIDEO_CC_SLEEP_CLK_SRC					13
25 #define VIDEO_CC_XO_CLK_SRC					14
26 #define VIDEO_PLL0						15
27 #define VIDEO_PLL1						16
28 
29 /* GDSCs */
30 #define MVS0C_GDSC						0
31 #define MVS1C_GDSC						1
32 #define MVS0_GDSC						2
33 #define MVS1_GDSC						3
34 
35 #endif
36