xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,dispcc-sc7180.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2019, The Linux Foundation. All rights reserved.
4*c66ec88fSEmmanuel Vadot  */
5*c66ec88fSEmmanuel Vadot 
6*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_SC7180_H
7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_DISP_CC_SC7180_H
8*c66ec88fSEmmanuel Vadot 
9*c66ec88fSEmmanuel Vadot #define DISP_CC_PLL0				0
10*c66ec88fSEmmanuel Vadot #define DISP_CC_PLL0_OUT_EVEN			1
11*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_AHB_CLK			2
12*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_AHB_CLK_SRC		3
13*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_CLK			4
14*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_CLK_SRC		5
15*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_DIV_CLK_SRC		6
16*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_INTF_CLK		7
17*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_AUX_CLK			8
18*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_AUX_CLK_SRC		9
19*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_CRYPTO_CLK		10
20*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_CRYPTO_CLK_SRC		11
21*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_CLK		12
22*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_CLK_SRC		13
23*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_DIV_CLK_SRC	14
24*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_INTF_CLK		15
25*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL_CLK		16
26*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL_CLK_SRC		17
27*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_ESC0_CLK			18
28*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_ESC0_CLK_SRC		19
29*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_MDP_CLK			20
30*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_MDP_CLK_SRC		21
31*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_MDP_LUT_CLK		22
32*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_NON_GDSC_AHB_CLK		23
33*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_PCLK0_CLK			24
34*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_PCLK0_CLK_SRC		25
35*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_ROT_CLK			26
36*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_ROT_CLK_SRC		27
37*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_RSCC_AHB_CLK		28
38*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_RSCC_VSYNC_CLK		29
39*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_VSYNC_CLK			30
40*c66ec88fSEmmanuel Vadot #define DISP_CC_MDSS_VSYNC_CLK_SRC		31
41*c66ec88fSEmmanuel Vadot #define DISP_CC_XO_CLK				32
42*c66ec88fSEmmanuel Vadot 
43*c66ec88fSEmmanuel Vadot /* DISP_CC GDSCR */
44*c66ec88fSEmmanuel Vadot #define MDSS_GDSC				0
45*c66ec88fSEmmanuel Vadot 
46*c66ec88fSEmmanuel Vadot #endif
47