18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2019, The Linux Foundation. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MSM_MMCC_8998_H 78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_MSM_MMCC_8998_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#define MMPLL0 0 108c2ecf20Sopenharmony_ci#define MMPLL0_OUT_EVEN 1 118c2ecf20Sopenharmony_ci#define MMPLL1 2 128c2ecf20Sopenharmony_ci#define MMPLL1_OUT_EVEN 3 138c2ecf20Sopenharmony_ci#define MMPLL3 4 148c2ecf20Sopenharmony_ci#define MMPLL3_OUT_EVEN 5 158c2ecf20Sopenharmony_ci#define MMPLL4 6 168c2ecf20Sopenharmony_ci#define MMPLL4_OUT_EVEN 7 178c2ecf20Sopenharmony_ci#define MMPLL5 8 188c2ecf20Sopenharmony_ci#define MMPLL5_OUT_EVEN 9 198c2ecf20Sopenharmony_ci#define MMPLL6 10 208c2ecf20Sopenharmony_ci#define MMPLL6_OUT_EVEN 11 218c2ecf20Sopenharmony_ci#define MMPLL7 12 228c2ecf20Sopenharmony_ci#define MMPLL7_OUT_EVEN 13 238c2ecf20Sopenharmony_ci#define MMPLL10 14 248c2ecf20Sopenharmony_ci#define MMPLL10_OUT_EVEN 15 258c2ecf20Sopenharmony_ci#define BYTE0_CLK_SRC 16 268c2ecf20Sopenharmony_ci#define BYTE1_CLK_SRC 17 278c2ecf20Sopenharmony_ci#define CCI_CLK_SRC 18 288c2ecf20Sopenharmony_ci#define CPP_CLK_SRC 19 298c2ecf20Sopenharmony_ci#define CSI0_CLK_SRC 20 308c2ecf20Sopenharmony_ci#define CSI1_CLK_SRC 21 318c2ecf20Sopenharmony_ci#define CSI2_CLK_SRC 22 328c2ecf20Sopenharmony_ci#define CSI3_CLK_SRC 23 338c2ecf20Sopenharmony_ci#define CSIPHY_CLK_SRC 24 348c2ecf20Sopenharmony_ci#define CSI0PHYTIMER_CLK_SRC 25 358c2ecf20Sopenharmony_ci#define CSI1PHYTIMER_CLK_SRC 26 368c2ecf20Sopenharmony_ci#define CSI2PHYTIMER_CLK_SRC 27 378c2ecf20Sopenharmony_ci#define DP_AUX_CLK_SRC 28 388c2ecf20Sopenharmony_ci#define DP_CRYPTO_CLK_SRC 29 398c2ecf20Sopenharmony_ci#define DP_LINK_CLK_SRC 30 408c2ecf20Sopenharmony_ci#define DP_PIXEL_CLK_SRC 31 418c2ecf20Sopenharmony_ci#define ESC0_CLK_SRC 32 428c2ecf20Sopenharmony_ci#define ESC1_CLK_SRC 33 438c2ecf20Sopenharmony_ci#define EXTPCLK_CLK_SRC 34 448c2ecf20Sopenharmony_ci#define FD_CORE_CLK_SRC 35 458c2ecf20Sopenharmony_ci#define HDMI_CLK_SRC 36 468c2ecf20Sopenharmony_ci#define JPEG0_CLK_SRC 37 478c2ecf20Sopenharmony_ci#define MAXI_CLK_SRC 38 488c2ecf20Sopenharmony_ci#define MCLK0_CLK_SRC 39 498c2ecf20Sopenharmony_ci#define MCLK1_CLK_SRC 40 508c2ecf20Sopenharmony_ci#define MCLK2_CLK_SRC 41 518c2ecf20Sopenharmony_ci#define MCLK3_CLK_SRC 42 528c2ecf20Sopenharmony_ci#define MDP_CLK_SRC 43 538c2ecf20Sopenharmony_ci#define VSYNC_CLK_SRC 44 548c2ecf20Sopenharmony_ci#define AHB_CLK_SRC 45 558c2ecf20Sopenharmony_ci#define AXI_CLK_SRC 46 568c2ecf20Sopenharmony_ci#define PCLK0_CLK_SRC 47 578c2ecf20Sopenharmony_ci#define PCLK1_CLK_SRC 48 588c2ecf20Sopenharmony_ci#define ROT_CLK_SRC 49 598c2ecf20Sopenharmony_ci#define VIDEO_CORE_CLK_SRC 50 608c2ecf20Sopenharmony_ci#define VIDEO_SUBCORE0_CLK_SRC 51 618c2ecf20Sopenharmony_ci#define VIDEO_SUBCORE1_CLK_SRC 52 628c2ecf20Sopenharmony_ci#define VFE0_CLK_SRC 53 638c2ecf20Sopenharmony_ci#define VFE1_CLK_SRC 54 648c2ecf20Sopenharmony_ci#define MISC_AHB_CLK 55 658c2ecf20Sopenharmony_ci#define VIDEO_CORE_CLK 56 668c2ecf20Sopenharmony_ci#define VIDEO_AHB_CLK 57 678c2ecf20Sopenharmony_ci#define VIDEO_AXI_CLK 58 688c2ecf20Sopenharmony_ci#define VIDEO_MAXI_CLK 59 698c2ecf20Sopenharmony_ci#define VIDEO_SUBCORE0_CLK 60 708c2ecf20Sopenharmony_ci#define VIDEO_SUBCORE1_CLK 61 718c2ecf20Sopenharmony_ci#define MDSS_AHB_CLK 62 728c2ecf20Sopenharmony_ci#define MDSS_HDMI_DP_AHB_CLK 63 738c2ecf20Sopenharmony_ci#define MDSS_AXI_CLK 64 748c2ecf20Sopenharmony_ci#define MDSS_PCLK0_CLK 65 758c2ecf20Sopenharmony_ci#define MDSS_PCLK1_CLK 66 768c2ecf20Sopenharmony_ci#define MDSS_MDP_CLK 67 778c2ecf20Sopenharmony_ci#define MDSS_MDP_LUT_CLK 68 788c2ecf20Sopenharmony_ci#define MDSS_EXTPCLK_CLK 69 798c2ecf20Sopenharmony_ci#define MDSS_VSYNC_CLK 70 808c2ecf20Sopenharmony_ci#define MDSS_HDMI_CLK 71 818c2ecf20Sopenharmony_ci#define MDSS_BYTE0_CLK 72 828c2ecf20Sopenharmony_ci#define MDSS_BYTE1_CLK 73 838c2ecf20Sopenharmony_ci#define MDSS_ESC0_CLK 74 848c2ecf20Sopenharmony_ci#define MDSS_ESC1_CLK 75 858c2ecf20Sopenharmony_ci#define MDSS_ROT_CLK 76 868c2ecf20Sopenharmony_ci#define MDSS_DP_LINK_CLK 77 878c2ecf20Sopenharmony_ci#define MDSS_DP_LINK_INTF_CLK 78 888c2ecf20Sopenharmony_ci#define MDSS_DP_CRYPTO_CLK 79 898c2ecf20Sopenharmony_ci#define MDSS_DP_PIXEL_CLK 80 908c2ecf20Sopenharmony_ci#define MDSS_DP_AUX_CLK 81 918c2ecf20Sopenharmony_ci#define MDSS_BYTE0_INTF_CLK 82 928c2ecf20Sopenharmony_ci#define MDSS_BYTE1_INTF_CLK 83 938c2ecf20Sopenharmony_ci#define CAMSS_CSI0PHYTIMER_CLK 84 948c2ecf20Sopenharmony_ci#define CAMSS_CSI1PHYTIMER_CLK 85 958c2ecf20Sopenharmony_ci#define CAMSS_CSI2PHYTIMER_CLK 86 968c2ecf20Sopenharmony_ci#define CAMSS_CSI0_CLK 87 978c2ecf20Sopenharmony_ci#define CAMSS_CSI0_AHB_CLK 88 988c2ecf20Sopenharmony_ci#define CAMSS_CSI0RDI_CLK 89 998c2ecf20Sopenharmony_ci#define CAMSS_CSI0PIX_CLK 90 1008c2ecf20Sopenharmony_ci#define CAMSS_CSI1_CLK 91 1018c2ecf20Sopenharmony_ci#define CAMSS_CSI1_AHB_CLK 92 1028c2ecf20Sopenharmony_ci#define CAMSS_CSI1RDI_CLK 93 1038c2ecf20Sopenharmony_ci#define CAMSS_CSI1PIX_CLK 94 1048c2ecf20Sopenharmony_ci#define CAMSS_CSI2_CLK 95 1058c2ecf20Sopenharmony_ci#define CAMSS_CSI2_AHB_CLK 96 1068c2ecf20Sopenharmony_ci#define CAMSS_CSI2RDI_CLK 97 1078c2ecf20Sopenharmony_ci#define CAMSS_CSI2PIX_CLK 98 1088c2ecf20Sopenharmony_ci#define CAMSS_CSI3_CLK 99 1098c2ecf20Sopenharmony_ci#define CAMSS_CSI3_AHB_CLK 100 1108c2ecf20Sopenharmony_ci#define CAMSS_CSI3RDI_CLK 101 1118c2ecf20Sopenharmony_ci#define CAMSS_CSI3PIX_CLK 102 1128c2ecf20Sopenharmony_ci#define CAMSS_ISPIF_AHB_CLK 103 1138c2ecf20Sopenharmony_ci#define CAMSS_CCI_CLK 104 1148c2ecf20Sopenharmony_ci#define CAMSS_CCI_AHB_CLK 105 1158c2ecf20Sopenharmony_ci#define CAMSS_MCLK0_CLK 106 1168c2ecf20Sopenharmony_ci#define CAMSS_MCLK1_CLK 107 1178c2ecf20Sopenharmony_ci#define CAMSS_MCLK2_CLK 108 1188c2ecf20Sopenharmony_ci#define CAMSS_MCLK3_CLK 109 1198c2ecf20Sopenharmony_ci#define CAMSS_TOP_AHB_CLK 110 1208c2ecf20Sopenharmony_ci#define CAMSS_AHB_CLK 111 1218c2ecf20Sopenharmony_ci#define CAMSS_MICRO_AHB_CLK 112 1228c2ecf20Sopenharmony_ci#define CAMSS_JPEG0_CLK 113 1238c2ecf20Sopenharmony_ci#define CAMSS_JPEG_AHB_CLK 114 1248c2ecf20Sopenharmony_ci#define CAMSS_JPEG_AXI_CLK 115 1258c2ecf20Sopenharmony_ci#define CAMSS_VFE0_AHB_CLK 116 1268c2ecf20Sopenharmony_ci#define CAMSS_VFE1_AHB_CLK 117 1278c2ecf20Sopenharmony_ci#define CAMSS_VFE0_CLK 118 1288c2ecf20Sopenharmony_ci#define CAMSS_VFE1_CLK 119 1298c2ecf20Sopenharmony_ci#define CAMSS_CPP_CLK 120 1308c2ecf20Sopenharmony_ci#define CAMSS_CPP_AHB_CLK 121 1318c2ecf20Sopenharmony_ci#define CAMSS_VFE_VBIF_AHB_CLK 122 1328c2ecf20Sopenharmony_ci#define CAMSS_VFE_VBIF_AXI_CLK 123 1338c2ecf20Sopenharmony_ci#define CAMSS_CPP_AXI_CLK 124 1348c2ecf20Sopenharmony_ci#define CAMSS_CPP_VBIF_AHB_CLK 125 1358c2ecf20Sopenharmony_ci#define CAMSS_CSI_VFE0_CLK 126 1368c2ecf20Sopenharmony_ci#define CAMSS_CSI_VFE1_CLK 127 1378c2ecf20Sopenharmony_ci#define CAMSS_VFE0_STREAM_CLK 128 1388c2ecf20Sopenharmony_ci#define CAMSS_VFE1_STREAM_CLK 129 1398c2ecf20Sopenharmony_ci#define CAMSS_CPHY_CSID0_CLK 130 1408c2ecf20Sopenharmony_ci#define CAMSS_CPHY_CSID1_CLK 131 1418c2ecf20Sopenharmony_ci#define CAMSS_CPHY_CSID2_CLK 132 1428c2ecf20Sopenharmony_ci#define CAMSS_CPHY_CSID3_CLK 133 1438c2ecf20Sopenharmony_ci#define CAMSS_CSIPHY0_CLK 134 1448c2ecf20Sopenharmony_ci#define CAMSS_CSIPHY1_CLK 135 1458c2ecf20Sopenharmony_ci#define CAMSS_CSIPHY2_CLK 136 1468c2ecf20Sopenharmony_ci#define FD_CORE_CLK 137 1478c2ecf20Sopenharmony_ci#define FD_CORE_UAR_CLK 138 1488c2ecf20Sopenharmony_ci#define FD_AHB_CLK 139 1498c2ecf20Sopenharmony_ci#define MNOC_AHB_CLK 140 1508c2ecf20Sopenharmony_ci#define BIMC_SMMU_AHB_CLK 141 1518c2ecf20Sopenharmony_ci#define BIMC_SMMU_AXI_CLK 142 1528c2ecf20Sopenharmony_ci#define MNOC_MAXI_CLK 143 1538c2ecf20Sopenharmony_ci#define VMEM_MAXI_CLK 144 1548c2ecf20Sopenharmony_ci#define VMEM_AHB_CLK 145 1558c2ecf20Sopenharmony_ci 1568c2ecf20Sopenharmony_ci#define SPDM_BCR 0 1578c2ecf20Sopenharmony_ci#define SPDM_RM_BCR 1 1588c2ecf20Sopenharmony_ci#define MISC_BCR 2 1598c2ecf20Sopenharmony_ci#define VIDEO_TOP_BCR 3 1608c2ecf20Sopenharmony_ci#define THROTTLE_VIDEO_BCR 4 1618c2ecf20Sopenharmony_ci#define MDSS_BCR 5 1628c2ecf20Sopenharmony_ci#define THROTTLE_MDSS_BCR 6 1638c2ecf20Sopenharmony_ci#define CAMSS_PHY0_BCR 7 1648c2ecf20Sopenharmony_ci#define CAMSS_PHY1_BCR 8 1658c2ecf20Sopenharmony_ci#define CAMSS_PHY2_BCR 9 1668c2ecf20Sopenharmony_ci#define CAMSS_CSI0_BCR 10 1678c2ecf20Sopenharmony_ci#define CAMSS_CSI0RDI_BCR 11 1688c2ecf20Sopenharmony_ci#define CAMSS_CSI0PIX_BCR 12 1698c2ecf20Sopenharmony_ci#define CAMSS_CSI1_BCR 13 1708c2ecf20Sopenharmony_ci#define CAMSS_CSI1RDI_BCR 14 1718c2ecf20Sopenharmony_ci#define CAMSS_CSI1PIX_BCR 15 1728c2ecf20Sopenharmony_ci#define CAMSS_CSI2_BCR 16 1738c2ecf20Sopenharmony_ci#define CAMSS_CSI2RDI_BCR 17 1748c2ecf20Sopenharmony_ci#define CAMSS_CSI2PIX_BCR 18 1758c2ecf20Sopenharmony_ci#define CAMSS_CSI3_BCR 19 1768c2ecf20Sopenharmony_ci#define CAMSS_CSI3RDI_BCR 20 1778c2ecf20Sopenharmony_ci#define CAMSS_CSI3PIX_BCR 21 1788c2ecf20Sopenharmony_ci#define CAMSS_ISPIF_BCR 22 1798c2ecf20Sopenharmony_ci#define CAMSS_CCI_BCR 23 1808c2ecf20Sopenharmony_ci#define CAMSS_TOP_BCR 24 1818c2ecf20Sopenharmony_ci#define CAMSS_AHB_BCR 25 1828c2ecf20Sopenharmony_ci#define CAMSS_MICRO_BCR 26 1838c2ecf20Sopenharmony_ci#define CAMSS_JPEG_BCR 27 1848c2ecf20Sopenharmony_ci#define CAMSS_VFE0_BCR 28 1858c2ecf20Sopenharmony_ci#define CAMSS_VFE1_BCR 29 1868c2ecf20Sopenharmony_ci#define CAMSS_VFE_VBIF_BCR 30 1878c2ecf20Sopenharmony_ci#define CAMSS_CPP_TOP_BCR 31 1888c2ecf20Sopenharmony_ci#define CAMSS_CPP_BCR 32 1898c2ecf20Sopenharmony_ci#define CAMSS_CSI_VFE0_BCR 33 1908c2ecf20Sopenharmony_ci#define CAMSS_CSI_VFE1_BCR 34 1918c2ecf20Sopenharmony_ci#define CAMSS_FD_BCR 35 1928c2ecf20Sopenharmony_ci#define THROTTLE_CAMSS_BCR 36 1938c2ecf20Sopenharmony_ci#define MNOCAHB_BCR 37 1948c2ecf20Sopenharmony_ci#define MNOCAXI_BCR 38 1958c2ecf20Sopenharmony_ci#define BMIC_SMMU_BCR 39 1968c2ecf20Sopenharmony_ci#define MNOC_MAXI_BCR 40 1978c2ecf20Sopenharmony_ci#define VMEM_BCR 41 1988c2ecf20Sopenharmony_ci#define BTO_BCR 42 1998c2ecf20Sopenharmony_ci 2008c2ecf20Sopenharmony_ci#define VIDEO_TOP_GDSC 1 2018c2ecf20Sopenharmony_ci#define VIDEO_SUBCORE0_GDSC 2 2028c2ecf20Sopenharmony_ci#define VIDEO_SUBCORE1_GDSC 3 2038c2ecf20Sopenharmony_ci#define MDSS_GDSC 4 2048c2ecf20Sopenharmony_ci#define CAMSS_TOP_GDSC 5 2058c2ecf20Sopenharmony_ci#define CAMSS_VFE0_GDSC 6 2068c2ecf20Sopenharmony_ci#define CAMSS_VFE1_GDSC 7 2078c2ecf20Sopenharmony_ci#define CAMSS_CPP_GDSC 8 2088c2ecf20Sopenharmony_ci#define BIMC_SMMU_GDSC 9 2098c2ecf20Sopenharmony_ci 2108c2ecf20Sopenharmony_ci#endif 211