16be33864SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 26be33864SEmmanuel Vadot /* 36be33864SEmmanuel Vadot * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 46be33864SEmmanuel Vadot */ 56be33864SEmmanuel Vadot 66be33864SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_DISP_CC_SM8250_H 76be33864SEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_DISP_CC_SM8250_H 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadot /* DISP_CC clock registers */ 106be33864SEmmanuel Vadot #define DISP_CC_MDSS_AHB_CLK 0 116be33864SEmmanuel Vadot #define DISP_CC_MDSS_AHB_CLK_SRC 1 126be33864SEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_CLK 2 136be33864SEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_CLK_SRC 3 146be33864SEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_DIV_CLK_SRC 4 156be33864SEmmanuel Vadot #define DISP_CC_MDSS_BYTE0_INTF_CLK 5 166be33864SEmmanuel Vadot #define DISP_CC_MDSS_BYTE1_CLK 6 176be33864SEmmanuel Vadot #define DISP_CC_MDSS_BYTE1_CLK_SRC 7 186be33864SEmmanuel Vadot #define DISP_CC_MDSS_BYTE1_DIV_CLK_SRC 8 196be33864SEmmanuel Vadot #define DISP_CC_MDSS_BYTE1_INTF_CLK 9 206be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_AUX1_CLK 10 216be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_AUX1_CLK_SRC 11 226be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_AUX_CLK 12 236be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_AUX_CLK_SRC 13 246be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK1_CLK 14 256be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK1_CLK_SRC 15 266be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK1_DIV_CLK_SRC 16 276be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK1_INTF_CLK 17 286be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_CLK 18 296be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_CLK_SRC 19 306be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_DIV_CLK_SRC 20 316be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_LINK_INTF_CLK 21 326be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL1_CLK 22 336be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL1_CLK_SRC 23 346be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL2_CLK 24 356be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL2_CLK_SRC 25 366be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL_CLK 26 376be33864SEmmanuel Vadot #define DISP_CC_MDSS_DP_PIXEL_CLK_SRC 27 386be33864SEmmanuel Vadot #define DISP_CC_MDSS_ESC0_CLK 28 396be33864SEmmanuel Vadot #define DISP_CC_MDSS_ESC0_CLK_SRC 29 406be33864SEmmanuel Vadot #define DISP_CC_MDSS_ESC1_CLK 30 416be33864SEmmanuel Vadot #define DISP_CC_MDSS_ESC1_CLK_SRC 31 426be33864SEmmanuel Vadot #define DISP_CC_MDSS_MDP_CLK 32 436be33864SEmmanuel Vadot #define DISP_CC_MDSS_MDP_CLK_SRC 33 446be33864SEmmanuel Vadot #define DISP_CC_MDSS_MDP_LUT_CLK 34 456be33864SEmmanuel Vadot #define DISP_CC_MDSS_NON_GDSC_AHB_CLK 35 466be33864SEmmanuel Vadot #define DISP_CC_MDSS_PCLK0_CLK 36 476be33864SEmmanuel Vadot #define DISP_CC_MDSS_PCLK0_CLK_SRC 37 486be33864SEmmanuel Vadot #define DISP_CC_MDSS_PCLK1_CLK 38 496be33864SEmmanuel Vadot #define DISP_CC_MDSS_PCLK1_CLK_SRC 39 506be33864SEmmanuel Vadot #define DISP_CC_MDSS_ROT_CLK 40 516be33864SEmmanuel Vadot #define DISP_CC_MDSS_ROT_CLK_SRC 41 526be33864SEmmanuel Vadot #define DISP_CC_MDSS_RSCC_AHB_CLK 42 536be33864SEmmanuel Vadot #define DISP_CC_MDSS_RSCC_VSYNC_CLK 43 546be33864SEmmanuel Vadot #define DISP_CC_MDSS_VSYNC_CLK 44 556be33864SEmmanuel Vadot #define DISP_CC_MDSS_VSYNC_CLK_SRC 45 566be33864SEmmanuel Vadot #define DISP_CC_PLL0 46 576be33864SEmmanuel Vadot #define DISP_CC_PLL1 47 585956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_AUX_CLK 48 595956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_AUX_CLK_SRC 49 605956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_GTC_CLK 50 615956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_GTC_CLK_SRC 51 625956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_LINK_CLK 52 635956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_LINK_CLK_SRC 53 645956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_LINK_INTF_CLK 54 655956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_PIXEL_CLK 55 665956d97fSEmmanuel Vadot #define DISP_CC_MDSS_EDP_PIXEL_CLK_SRC 56 67*8bab661aSEmmanuel Vadot #define DISP_CC_MDSS_EDP_LINK_DIV_CLK_SRC 57 686be33864SEmmanuel Vadot 696be33864SEmmanuel Vadot /* DISP_CC Reset */ 706be33864SEmmanuel Vadot #define DISP_CC_MDSS_CORE_BCR 0 716be33864SEmmanuel Vadot #define DISP_CC_MDSS_RSCC_BCR 1 726be33864SEmmanuel Vadot 736be33864SEmmanuel Vadot /* DISP_CC GDSCR */ 746be33864SEmmanuel Vadot #define MDSS_GDSC 0 756be33864SEmmanuel Vadot 766be33864SEmmanuel Vadot #endif 77