xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,dispcc-sc7280.h (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1*354d7675SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*354d7675SEmmanuel Vadot /*
3*354d7675SEmmanuel Vadot  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4*354d7675SEmmanuel Vadot  */
5*354d7675SEmmanuel Vadot 
6*354d7675SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_SC7280_H
7*354d7675SEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_DISP_CC_SC7280_H
8*354d7675SEmmanuel Vadot 
9*354d7675SEmmanuel Vadot /* DISP_CC clocks */
10*354d7675SEmmanuel Vadot #define DISP_CC_PLL0					0
11*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_AHB_CLK				1
12*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_AHB_CLK_SRC			2
13*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_CLK				3
14*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_CLK_SRC			4
15*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_DIV_CLK_SRC			5
16*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_INTF_CLK			6
17*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_AUX_CLK				7
18*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_AUX_CLK_SRC			8
19*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_CRYPTO_CLK			9
20*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_CRYPTO_CLK_SRC			10
21*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_CLK			11
22*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_CLK_SRC			12
23*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_DIV_CLK_SRC		13
24*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_INTF_CLK			14
25*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL_CLK			15
26*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL_CLK_SRC			16
27*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_EDP_AUX_CLK			17
28*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_EDP_AUX_CLK_SRC			18
29*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_EDP_LINK_CLK			19
30*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_EDP_LINK_CLK_SRC			20
31*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_EDP_LINK_DIV_CLK_SRC		21
32*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_EDP_LINK_INTF_CLK			22
33*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_EDP_PIXEL_CLK			23
34*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_EDP_PIXEL_CLK_SRC			24
35*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_ESC0_CLK				25
36*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_ESC0_CLK_SRC			26
37*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_MDP_CLK				27
38*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_MDP_CLK_SRC			28
39*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_MDP_LUT_CLK			29
40*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_NON_GDSC_AHB_CLK			30
41*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_PCLK0_CLK				31
42*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_PCLK0_CLK_SRC			32
43*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_ROT_CLK				33
44*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_ROT_CLK_SRC			34
45*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_RSCC_AHB_CLK			35
46*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_RSCC_VSYNC_CLK			36
47*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_VSYNC_CLK				37
48*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_VSYNC_CLK_SRC			38
49*354d7675SEmmanuel Vadot #define DISP_CC_SLEEP_CLK				39
50*354d7675SEmmanuel Vadot #define DISP_CC_XO_CLK					40
51*354d7675SEmmanuel Vadot 
52*354d7675SEmmanuel Vadot /* DISP_CC power domains */
53*354d7675SEmmanuel Vadot #define DISP_CC_MDSS_CORE_GDSC				0
54*354d7675SEmmanuel Vadot 
55*354d7675SEmmanuel Vadot #endif
56