xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,sm6115-dispcc.h (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1*7ef62cebSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*7ef62cebSEmmanuel Vadot /*
3*7ef62cebSEmmanuel Vadot  * Copyright (c) 2022, The Linux Foundation. All rights reserved.
4*7ef62cebSEmmanuel Vadot  */
5*7ef62cebSEmmanuel Vadot 
6*7ef62cebSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_SM6115_H
7*7ef62cebSEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_DISP_CC_SM6115_H
8*7ef62cebSEmmanuel Vadot 
9*7ef62cebSEmmanuel Vadot /* DISP_CC clocks */
10*7ef62cebSEmmanuel Vadot #define DISP_CC_PLL0			0
11*7ef62cebSEmmanuel Vadot #define DISP_CC_PLL0_OUT_MAIN		1
12*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_AHB_CLK		2
13*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_AHB_CLK_SRC	3
14*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_CLK		4
15*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_CLK_SRC	5
16*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_DIV_CLK_SRC	6
17*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_INTF_CLK	7
18*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_ESC0_CLK		8
19*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_ESC0_CLK_SRC	9
20*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_MDP_CLK		10
21*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_MDP_CLK_SRC	11
22*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_MDP_LUT_CLK	12
23*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_NON_GDSC_AHB_CLK	13
24*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_PCLK0_CLK		14
25*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_PCLK0_CLK_SRC	15
26*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_ROT_CLK		16
27*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_ROT_CLK_SRC	17
28*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_VSYNC_CLK		18
29*7ef62cebSEmmanuel Vadot #define DISP_CC_MDSS_VSYNC_CLK_SRC	19
30*7ef62cebSEmmanuel Vadot #define DISP_CC_SLEEP_CLK		20
31*7ef62cebSEmmanuel Vadot #define DISP_CC_SLEEP_CLK_SRC		21
32*7ef62cebSEmmanuel Vadot 
33*7ef62cebSEmmanuel Vadot /* DISP_CC GDSCR */
34*7ef62cebSEmmanuel Vadot #define MDSS_GDSC			0
35*7ef62cebSEmmanuel Vadot 
36*7ef62cebSEmmanuel Vadot #endif
37