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