162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2019, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MSM_MMCC_8998_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_MSM_MMCC_8998_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#define MMPLL0 0 1062306a36Sopenharmony_ci#define MMPLL0_OUT_EVEN 1 1162306a36Sopenharmony_ci#define MMPLL1 2 1262306a36Sopenharmony_ci#define MMPLL1_OUT_EVEN 3 1362306a36Sopenharmony_ci#define MMPLL3 4 1462306a36Sopenharmony_ci#define MMPLL3_OUT_EVEN 5 1562306a36Sopenharmony_ci#define MMPLL4 6 1662306a36Sopenharmony_ci#define MMPLL4_OUT_EVEN 7 1762306a36Sopenharmony_ci#define MMPLL5 8 1862306a36Sopenharmony_ci#define MMPLL5_OUT_EVEN 9 1962306a36Sopenharmony_ci#define MMPLL6 10 2062306a36Sopenharmony_ci#define MMPLL6_OUT_EVEN 11 2162306a36Sopenharmony_ci#define MMPLL7 12 2262306a36Sopenharmony_ci#define MMPLL7_OUT_EVEN 13 2362306a36Sopenharmony_ci#define MMPLL10 14 2462306a36Sopenharmony_ci#define MMPLL10_OUT_EVEN 15 2562306a36Sopenharmony_ci#define BYTE0_CLK_SRC 16 2662306a36Sopenharmony_ci#define BYTE1_CLK_SRC 17 2762306a36Sopenharmony_ci#define CCI_CLK_SRC 18 2862306a36Sopenharmony_ci#define CPP_CLK_SRC 19 2962306a36Sopenharmony_ci#define CSI0_CLK_SRC 20 3062306a36Sopenharmony_ci#define CSI1_CLK_SRC 21 3162306a36Sopenharmony_ci#define CSI2_CLK_SRC 22 3262306a36Sopenharmony_ci#define CSI3_CLK_SRC 23 3362306a36Sopenharmony_ci#define CSIPHY_CLK_SRC 24 3462306a36Sopenharmony_ci#define CSI0PHYTIMER_CLK_SRC 25 3562306a36Sopenharmony_ci#define CSI1PHYTIMER_CLK_SRC 26 3662306a36Sopenharmony_ci#define CSI2PHYTIMER_CLK_SRC 27 3762306a36Sopenharmony_ci#define DP_AUX_CLK_SRC 28 3862306a36Sopenharmony_ci#define DP_CRYPTO_CLK_SRC 29 3962306a36Sopenharmony_ci#define DP_LINK_CLK_SRC 30 4062306a36Sopenharmony_ci#define DP_PIXEL_CLK_SRC 31 4162306a36Sopenharmony_ci#define ESC0_CLK_SRC 32 4262306a36Sopenharmony_ci#define ESC1_CLK_SRC 33 4362306a36Sopenharmony_ci#define EXTPCLK_CLK_SRC 34 4462306a36Sopenharmony_ci#define FD_CORE_CLK_SRC 35 4562306a36Sopenharmony_ci#define HDMI_CLK_SRC 36 4662306a36Sopenharmony_ci#define JPEG0_CLK_SRC 37 4762306a36Sopenharmony_ci#define MAXI_CLK_SRC 38 4862306a36Sopenharmony_ci#define MCLK0_CLK_SRC 39 4962306a36Sopenharmony_ci#define MCLK1_CLK_SRC 40 5062306a36Sopenharmony_ci#define MCLK2_CLK_SRC 41 5162306a36Sopenharmony_ci#define MCLK3_CLK_SRC 42 5262306a36Sopenharmony_ci#define MDP_CLK_SRC 43 5362306a36Sopenharmony_ci#define VSYNC_CLK_SRC 44 5462306a36Sopenharmony_ci#define AHB_CLK_SRC 45 5562306a36Sopenharmony_ci#define AXI_CLK_SRC 46 5662306a36Sopenharmony_ci#define PCLK0_CLK_SRC 47 5762306a36Sopenharmony_ci#define PCLK1_CLK_SRC 48 5862306a36Sopenharmony_ci#define ROT_CLK_SRC 49 5962306a36Sopenharmony_ci#define VIDEO_CORE_CLK_SRC 50 6062306a36Sopenharmony_ci#define VIDEO_SUBCORE0_CLK_SRC 51 6162306a36Sopenharmony_ci#define VIDEO_SUBCORE1_CLK_SRC 52 6262306a36Sopenharmony_ci#define VFE0_CLK_SRC 53 6362306a36Sopenharmony_ci#define VFE1_CLK_SRC 54 6462306a36Sopenharmony_ci#define MISC_AHB_CLK 55 6562306a36Sopenharmony_ci#define VIDEO_CORE_CLK 56 6662306a36Sopenharmony_ci#define VIDEO_AHB_CLK 57 6762306a36Sopenharmony_ci#define VIDEO_AXI_CLK 58 6862306a36Sopenharmony_ci#define VIDEO_MAXI_CLK 59 6962306a36Sopenharmony_ci#define VIDEO_SUBCORE0_CLK 60 7062306a36Sopenharmony_ci#define VIDEO_SUBCORE1_CLK 61 7162306a36Sopenharmony_ci#define MDSS_AHB_CLK 62 7262306a36Sopenharmony_ci#define MDSS_HDMI_DP_AHB_CLK 63 7362306a36Sopenharmony_ci#define MDSS_AXI_CLK 64 7462306a36Sopenharmony_ci#define MDSS_PCLK0_CLK 65 7562306a36Sopenharmony_ci#define MDSS_PCLK1_CLK 66 7662306a36Sopenharmony_ci#define MDSS_MDP_CLK 67 7762306a36Sopenharmony_ci#define MDSS_MDP_LUT_CLK 68 7862306a36Sopenharmony_ci#define MDSS_EXTPCLK_CLK 69 7962306a36Sopenharmony_ci#define MDSS_VSYNC_CLK 70 8062306a36Sopenharmony_ci#define MDSS_HDMI_CLK 71 8162306a36Sopenharmony_ci#define MDSS_BYTE0_CLK 72 8262306a36Sopenharmony_ci#define MDSS_BYTE1_CLK 73 8362306a36Sopenharmony_ci#define MDSS_ESC0_CLK 74 8462306a36Sopenharmony_ci#define MDSS_ESC1_CLK 75 8562306a36Sopenharmony_ci#define MDSS_ROT_CLK 76 8662306a36Sopenharmony_ci#define MDSS_DP_LINK_CLK 77 8762306a36Sopenharmony_ci#define MDSS_DP_LINK_INTF_CLK 78 8862306a36Sopenharmony_ci#define MDSS_DP_CRYPTO_CLK 79 8962306a36Sopenharmony_ci#define MDSS_DP_PIXEL_CLK 80 9062306a36Sopenharmony_ci#define MDSS_DP_AUX_CLK 81 9162306a36Sopenharmony_ci#define MDSS_BYTE0_INTF_CLK 82 9262306a36Sopenharmony_ci#define MDSS_BYTE1_INTF_CLK 83 9362306a36Sopenharmony_ci#define CAMSS_CSI0PHYTIMER_CLK 84 9462306a36Sopenharmony_ci#define CAMSS_CSI1PHYTIMER_CLK 85 9562306a36Sopenharmony_ci#define CAMSS_CSI2PHYTIMER_CLK 86 9662306a36Sopenharmony_ci#define CAMSS_CSI0_CLK 87 9762306a36Sopenharmony_ci#define CAMSS_CSI0_AHB_CLK 88 9862306a36Sopenharmony_ci#define CAMSS_CSI0RDI_CLK 89 9962306a36Sopenharmony_ci#define CAMSS_CSI0PIX_CLK 90 10062306a36Sopenharmony_ci#define CAMSS_CSI1_CLK 91 10162306a36Sopenharmony_ci#define CAMSS_CSI1_AHB_CLK 92 10262306a36Sopenharmony_ci#define CAMSS_CSI1RDI_CLK 93 10362306a36Sopenharmony_ci#define CAMSS_CSI1PIX_CLK 94 10462306a36Sopenharmony_ci#define CAMSS_CSI2_CLK 95 10562306a36Sopenharmony_ci#define CAMSS_CSI2_AHB_CLK 96 10662306a36Sopenharmony_ci#define CAMSS_CSI2RDI_CLK 97 10762306a36Sopenharmony_ci#define CAMSS_CSI2PIX_CLK 98 10862306a36Sopenharmony_ci#define CAMSS_CSI3_CLK 99 10962306a36Sopenharmony_ci#define CAMSS_CSI3_AHB_CLK 100 11062306a36Sopenharmony_ci#define CAMSS_CSI3RDI_CLK 101 11162306a36Sopenharmony_ci#define CAMSS_CSI3PIX_CLK 102 11262306a36Sopenharmony_ci#define CAMSS_ISPIF_AHB_CLK 103 11362306a36Sopenharmony_ci#define CAMSS_CCI_CLK 104 11462306a36Sopenharmony_ci#define CAMSS_CCI_AHB_CLK 105 11562306a36Sopenharmony_ci#define CAMSS_MCLK0_CLK 106 11662306a36Sopenharmony_ci#define CAMSS_MCLK1_CLK 107 11762306a36Sopenharmony_ci#define CAMSS_MCLK2_CLK 108 11862306a36Sopenharmony_ci#define CAMSS_MCLK3_CLK 109 11962306a36Sopenharmony_ci#define CAMSS_TOP_AHB_CLK 110 12062306a36Sopenharmony_ci#define CAMSS_AHB_CLK 111 12162306a36Sopenharmony_ci#define CAMSS_MICRO_AHB_CLK 112 12262306a36Sopenharmony_ci#define CAMSS_JPEG0_CLK 113 12362306a36Sopenharmony_ci#define CAMSS_JPEG_AHB_CLK 114 12462306a36Sopenharmony_ci#define CAMSS_JPEG_AXI_CLK 115 12562306a36Sopenharmony_ci#define CAMSS_VFE0_AHB_CLK 116 12662306a36Sopenharmony_ci#define CAMSS_VFE1_AHB_CLK 117 12762306a36Sopenharmony_ci#define CAMSS_VFE0_CLK 118 12862306a36Sopenharmony_ci#define CAMSS_VFE1_CLK 119 12962306a36Sopenharmony_ci#define CAMSS_CPP_CLK 120 13062306a36Sopenharmony_ci#define CAMSS_CPP_AHB_CLK 121 13162306a36Sopenharmony_ci#define CAMSS_VFE_VBIF_AHB_CLK 122 13262306a36Sopenharmony_ci#define CAMSS_VFE_VBIF_AXI_CLK 123 13362306a36Sopenharmony_ci#define CAMSS_CPP_AXI_CLK 124 13462306a36Sopenharmony_ci#define CAMSS_CPP_VBIF_AHB_CLK 125 13562306a36Sopenharmony_ci#define CAMSS_CSI_VFE0_CLK 126 13662306a36Sopenharmony_ci#define CAMSS_CSI_VFE1_CLK 127 13762306a36Sopenharmony_ci#define CAMSS_VFE0_STREAM_CLK 128 13862306a36Sopenharmony_ci#define CAMSS_VFE1_STREAM_CLK 129 13962306a36Sopenharmony_ci#define CAMSS_CPHY_CSID0_CLK 130 14062306a36Sopenharmony_ci#define CAMSS_CPHY_CSID1_CLK 131 14162306a36Sopenharmony_ci#define CAMSS_CPHY_CSID2_CLK 132 14262306a36Sopenharmony_ci#define CAMSS_CPHY_CSID3_CLK 133 14362306a36Sopenharmony_ci#define CAMSS_CSIPHY0_CLK 134 14462306a36Sopenharmony_ci#define CAMSS_CSIPHY1_CLK 135 14562306a36Sopenharmony_ci#define CAMSS_CSIPHY2_CLK 136 14662306a36Sopenharmony_ci#define FD_CORE_CLK 137 14762306a36Sopenharmony_ci#define FD_CORE_UAR_CLK 138 14862306a36Sopenharmony_ci#define FD_AHB_CLK 139 14962306a36Sopenharmony_ci#define MNOC_AHB_CLK 140 15062306a36Sopenharmony_ci#define BIMC_SMMU_AHB_CLK 141 15162306a36Sopenharmony_ci#define BIMC_SMMU_AXI_CLK 142 15262306a36Sopenharmony_ci#define MNOC_MAXI_CLK 143 15362306a36Sopenharmony_ci#define VMEM_MAXI_CLK 144 15462306a36Sopenharmony_ci#define VMEM_AHB_CLK 145 15562306a36Sopenharmony_ci 15662306a36Sopenharmony_ci#define SPDM_BCR 0 15762306a36Sopenharmony_ci#define SPDM_RM_BCR 1 15862306a36Sopenharmony_ci#define MISC_BCR 2 15962306a36Sopenharmony_ci#define VIDEO_TOP_BCR 3 16062306a36Sopenharmony_ci#define THROTTLE_VIDEO_BCR 4 16162306a36Sopenharmony_ci#define MDSS_BCR 5 16262306a36Sopenharmony_ci#define THROTTLE_MDSS_BCR 6 16362306a36Sopenharmony_ci#define CAMSS_PHY0_BCR 7 16462306a36Sopenharmony_ci#define CAMSS_PHY1_BCR 8 16562306a36Sopenharmony_ci#define CAMSS_PHY2_BCR 9 16662306a36Sopenharmony_ci#define CAMSS_CSI0_BCR 10 16762306a36Sopenharmony_ci#define CAMSS_CSI0RDI_BCR 11 16862306a36Sopenharmony_ci#define CAMSS_CSI0PIX_BCR 12 16962306a36Sopenharmony_ci#define CAMSS_CSI1_BCR 13 17062306a36Sopenharmony_ci#define CAMSS_CSI1RDI_BCR 14 17162306a36Sopenharmony_ci#define CAMSS_CSI1PIX_BCR 15 17262306a36Sopenharmony_ci#define CAMSS_CSI2_BCR 16 17362306a36Sopenharmony_ci#define CAMSS_CSI2RDI_BCR 17 17462306a36Sopenharmony_ci#define CAMSS_CSI2PIX_BCR 18 17562306a36Sopenharmony_ci#define CAMSS_CSI3_BCR 19 17662306a36Sopenharmony_ci#define CAMSS_CSI3RDI_BCR 20 17762306a36Sopenharmony_ci#define CAMSS_CSI3PIX_BCR 21 17862306a36Sopenharmony_ci#define CAMSS_ISPIF_BCR 22 17962306a36Sopenharmony_ci#define CAMSS_CCI_BCR 23 18062306a36Sopenharmony_ci#define CAMSS_TOP_BCR 24 18162306a36Sopenharmony_ci#define CAMSS_AHB_BCR 25 18262306a36Sopenharmony_ci#define CAMSS_MICRO_BCR 26 18362306a36Sopenharmony_ci#define CAMSS_JPEG_BCR 27 18462306a36Sopenharmony_ci#define CAMSS_VFE0_BCR 28 18562306a36Sopenharmony_ci#define CAMSS_VFE1_BCR 29 18662306a36Sopenharmony_ci#define CAMSS_VFE_VBIF_BCR 30 18762306a36Sopenharmony_ci#define CAMSS_CPP_TOP_BCR 31 18862306a36Sopenharmony_ci#define CAMSS_CPP_BCR 32 18962306a36Sopenharmony_ci#define CAMSS_CSI_VFE0_BCR 33 19062306a36Sopenharmony_ci#define CAMSS_CSI_VFE1_BCR 34 19162306a36Sopenharmony_ci#define CAMSS_FD_BCR 35 19262306a36Sopenharmony_ci#define THROTTLE_CAMSS_BCR 36 19362306a36Sopenharmony_ci#define MNOCAHB_BCR 37 19462306a36Sopenharmony_ci#define MNOCAXI_BCR 38 19562306a36Sopenharmony_ci#define BMIC_SMMU_BCR 39 19662306a36Sopenharmony_ci#define MNOC_MAXI_BCR 40 19762306a36Sopenharmony_ci#define VMEM_BCR 41 19862306a36Sopenharmony_ci#define BTO_BCR 42 19962306a36Sopenharmony_ci 20062306a36Sopenharmony_ci#define VIDEO_TOP_GDSC 1 20162306a36Sopenharmony_ci#define VIDEO_SUBCORE0_GDSC 2 20262306a36Sopenharmony_ci#define VIDEO_SUBCORE1_GDSC 3 20362306a36Sopenharmony_ci#define MDSS_GDSC 4 20462306a36Sopenharmony_ci#define CAMSS_TOP_GDSC 5 20562306a36Sopenharmony_ci#define CAMSS_VFE0_GDSC 6 20662306a36Sopenharmony_ci#define CAMSS_VFE1_GDSC 7 20762306a36Sopenharmony_ci#define CAMSS_CPP_GDSC 8 20862306a36Sopenharmony_ci#define BIMC_SMMU_GDSC 9 20962306a36Sopenharmony_ci 21062306a36Sopenharmony_ci#endif 211