162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2020, Konrad Dybcio 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MSM_MMCC_8994_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_MSM_MMCC_8994_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* Clocks */ 1062306a36Sopenharmony_ci#define MMPLL0_EARLY 0 1162306a36Sopenharmony_ci#define MMPLL0_PLL 1 1262306a36Sopenharmony_ci#define MMPLL1_EARLY 2 1362306a36Sopenharmony_ci#define MMPLL1_PLL 3 1462306a36Sopenharmony_ci#define MMPLL3_EARLY 4 1562306a36Sopenharmony_ci#define MMPLL3_PLL 5 1662306a36Sopenharmony_ci#define MMPLL4_EARLY 6 1762306a36Sopenharmony_ci#define MMPLL4_PLL 7 1862306a36Sopenharmony_ci#define MMPLL5_EARLY 8 1962306a36Sopenharmony_ci#define MMPLL5_PLL 9 2062306a36Sopenharmony_ci#define AXI_CLK_SRC 10 2162306a36Sopenharmony_ci#define RBBMTIMER_CLK_SRC 11 2262306a36Sopenharmony_ci#define PCLK0_CLK_SRC 12 2362306a36Sopenharmony_ci#define PCLK1_CLK_SRC 13 2462306a36Sopenharmony_ci#define MDP_CLK_SRC 14 2562306a36Sopenharmony_ci#define VSYNC_CLK_SRC 15 2662306a36Sopenharmony_ci#define BYTE0_CLK_SRC 16 2762306a36Sopenharmony_ci#define BYTE1_CLK_SRC 17 2862306a36Sopenharmony_ci#define ESC0_CLK_SRC 18 2962306a36Sopenharmony_ci#define ESC1_CLK_SRC 19 3062306a36Sopenharmony_ci#define MDSS_AHB_CLK 20 3162306a36Sopenharmony_ci#define MDSS_PCLK0_CLK 21 3262306a36Sopenharmony_ci#define MDSS_PCLK1_CLK 22 3362306a36Sopenharmony_ci#define MDSS_VSYNC_CLK 23 3462306a36Sopenharmony_ci#define MDSS_BYTE0_CLK 24 3562306a36Sopenharmony_ci#define MDSS_BYTE1_CLK 25 3662306a36Sopenharmony_ci#define MDSS_ESC0_CLK 26 3762306a36Sopenharmony_ci#define MDSS_ESC1_CLK 27 3862306a36Sopenharmony_ci#define CSI0_CLK_SRC 28 3962306a36Sopenharmony_ci#define CSI1_CLK_SRC 29 4062306a36Sopenharmony_ci#define CSI2_CLK_SRC 30 4162306a36Sopenharmony_ci#define CSI3_CLK_SRC 31 4262306a36Sopenharmony_ci#define VFE0_CLK_SRC 32 4362306a36Sopenharmony_ci#define VFE1_CLK_SRC 33 4462306a36Sopenharmony_ci#define CPP_CLK_SRC 34 4562306a36Sopenharmony_ci#define JPEG0_CLK_SRC 35 4662306a36Sopenharmony_ci#define JPEG1_CLK_SRC 36 4762306a36Sopenharmony_ci#define JPEG2_CLK_SRC 37 4862306a36Sopenharmony_ci#define CSI2PHYTIMER_CLK_SRC 38 4962306a36Sopenharmony_ci#define FD_CORE_CLK_SRC 39 5062306a36Sopenharmony_ci#define OCMEMNOC_CLK_SRC 40 5162306a36Sopenharmony_ci#define CCI_CLK_SRC 41 5262306a36Sopenharmony_ci#define MMSS_GP0_CLK_SRC 42 5362306a36Sopenharmony_ci#define MMSS_GP1_CLK_SRC 43 5462306a36Sopenharmony_ci#define JPEG_DMA_CLK_SRC 44 5562306a36Sopenharmony_ci#define MCLK0_CLK_SRC 45 5662306a36Sopenharmony_ci#define MCLK1_CLK_SRC 46 5762306a36Sopenharmony_ci#define MCLK2_CLK_SRC 47 5862306a36Sopenharmony_ci#define MCLK3_CLK_SRC 48 5962306a36Sopenharmony_ci#define CSI0PHYTIMER_CLK_SRC 49 6062306a36Sopenharmony_ci#define CSI1PHYTIMER_CLK_SRC 50 6162306a36Sopenharmony_ci#define EXTPCLK_CLK_SRC 51 6262306a36Sopenharmony_ci#define HDMI_CLK_SRC 52 6362306a36Sopenharmony_ci#define CAMSS_AHB_CLK 53 6462306a36Sopenharmony_ci#define CAMSS_CCI_CCI_AHB_CLK 54 6562306a36Sopenharmony_ci#define CAMSS_CCI_CCI_CLK 55 6662306a36Sopenharmony_ci#define CAMSS_VFE_CPP_AHB_CLK 56 6762306a36Sopenharmony_ci#define CAMSS_VFE_CPP_AXI_CLK 57 6862306a36Sopenharmony_ci#define CAMSS_VFE_CPP_CLK 58 6962306a36Sopenharmony_ci#define CAMSS_CSI0_AHB_CLK 59 7062306a36Sopenharmony_ci#define CAMSS_CSI0_CLK 60 7162306a36Sopenharmony_ci#define CAMSS_CSI0PHY_CLK 61 7262306a36Sopenharmony_ci#define CAMSS_CSI0PIX_CLK 62 7362306a36Sopenharmony_ci#define CAMSS_CSI0RDI_CLK 63 7462306a36Sopenharmony_ci#define CAMSS_CSI1_AHB_CLK 64 7562306a36Sopenharmony_ci#define CAMSS_CSI1_CLK 65 7662306a36Sopenharmony_ci#define CAMSS_CSI1PHY_CLK 66 7762306a36Sopenharmony_ci#define CAMSS_CSI1PIX_CLK 67 7862306a36Sopenharmony_ci#define CAMSS_CSI1RDI_CLK 68 7962306a36Sopenharmony_ci#define CAMSS_CSI2_AHB_CLK 69 8062306a36Sopenharmony_ci#define CAMSS_CSI2_CLK 70 8162306a36Sopenharmony_ci#define CAMSS_CSI2PHY_CLK 71 8262306a36Sopenharmony_ci#define CAMSS_CSI2PIX_CLK 72 8362306a36Sopenharmony_ci#define CAMSS_CSI2RDI_CLK 73 8462306a36Sopenharmony_ci#define CAMSS_CSI3_AHB_CLK 74 8562306a36Sopenharmony_ci#define CAMSS_CSI3_CLK 75 8662306a36Sopenharmony_ci#define CAMSS_CSI3PHY_CLK 76 8762306a36Sopenharmony_ci#define CAMSS_CSI3PIX_CLK 77 8862306a36Sopenharmony_ci#define CAMSS_CSI3RDI_CLK 78 8962306a36Sopenharmony_ci#define CAMSS_CSI_VFE0_CLK 79 9062306a36Sopenharmony_ci#define CAMSS_CSI_VFE1_CLK 80 9162306a36Sopenharmony_ci#define CAMSS_GP0_CLK 81 9262306a36Sopenharmony_ci#define CAMSS_GP1_CLK 82 9362306a36Sopenharmony_ci#define CAMSS_ISPIF_AHB_CLK 83 9462306a36Sopenharmony_ci#define CAMSS_JPEG_DMA_CLK 84 9562306a36Sopenharmony_ci#define CAMSS_JPEG_JPEG0_CLK 85 9662306a36Sopenharmony_ci#define CAMSS_JPEG_JPEG1_CLK 86 9762306a36Sopenharmony_ci#define CAMSS_JPEG_JPEG2_CLK 87 9862306a36Sopenharmony_ci#define CAMSS_JPEG_JPEG_AHB_CLK 88 9962306a36Sopenharmony_ci#define CAMSS_JPEG_JPEG_AXI_CLK 89 10062306a36Sopenharmony_ci#define CAMSS_MCLK0_CLK 90 10162306a36Sopenharmony_ci#define CAMSS_MCLK1_CLK 91 10262306a36Sopenharmony_ci#define CAMSS_MCLK2_CLK 92 10362306a36Sopenharmony_ci#define CAMSS_MCLK3_CLK 93 10462306a36Sopenharmony_ci#define CAMSS_MICRO_AHB_CLK 94 10562306a36Sopenharmony_ci#define CAMSS_PHY0_CSI0PHYTIMER_CLK 95 10662306a36Sopenharmony_ci#define CAMSS_PHY1_CSI1PHYTIMER_CLK 96 10762306a36Sopenharmony_ci#define CAMSS_PHY2_CSI2PHYTIMER_CLK 97 10862306a36Sopenharmony_ci#define CAMSS_TOP_AHB_CLK 98 10962306a36Sopenharmony_ci#define CAMSS_VFE_VFE0_CLK 99 11062306a36Sopenharmony_ci#define CAMSS_VFE_VFE1_CLK 100 11162306a36Sopenharmony_ci#define CAMSS_VFE_VFE_AHB_CLK 101 11262306a36Sopenharmony_ci#define CAMSS_VFE_VFE_AXI_CLK 102 11362306a36Sopenharmony_ci#define FD_AXI_CLK 103 11462306a36Sopenharmony_ci#define FD_CORE_CLK 104 11562306a36Sopenharmony_ci#define FD_CORE_UAR_CLK 105 11662306a36Sopenharmony_ci#define MDSS_AXI_CLK 106 11762306a36Sopenharmony_ci#define MDSS_EXTPCLK_CLK 107 11862306a36Sopenharmony_ci#define MDSS_HDMI_AHB_CLK 108 11962306a36Sopenharmony_ci#define MDSS_HDMI_CLK 109 12062306a36Sopenharmony_ci#define MDSS_MDP_CLK 110 12162306a36Sopenharmony_ci#define MMSS_MISC_AHB_CLK 111 12262306a36Sopenharmony_ci#define MMSS_MMSSNOC_AXI_CLK 112 12362306a36Sopenharmony_ci#define MMSS_S0_AXI_CLK 113 12462306a36Sopenharmony_ci#define OCMEMCX_OCMEMNOC_CLK 114 12562306a36Sopenharmony_ci#define OXILI_GFX3D_CLK 115 12662306a36Sopenharmony_ci#define OXILI_RBBMTIMER_CLK 116 12762306a36Sopenharmony_ci#define OXILICX_AHB_CLK 117 12862306a36Sopenharmony_ci#define VENUS0_AHB_CLK 118 12962306a36Sopenharmony_ci#define VENUS0_AXI_CLK 119 13062306a36Sopenharmony_ci#define VENUS0_OCMEMNOC_CLK 120 13162306a36Sopenharmony_ci#define VENUS0_VCODEC0_CLK 121 13262306a36Sopenharmony_ci#define VENUS0_CORE0_VCODEC_CLK 122 13362306a36Sopenharmony_ci#define VENUS0_CORE1_VCODEC_CLK 123 13462306a36Sopenharmony_ci#define VENUS0_CORE2_VCODEC_CLK 124 13562306a36Sopenharmony_ci#define AHB_CLK_SRC 125 13662306a36Sopenharmony_ci#define FD_AHB_CLK 126 13762306a36Sopenharmony_ci 13862306a36Sopenharmony_ci/* GDSCs */ 13962306a36Sopenharmony_ci#define VENUS_GDSC 0 14062306a36Sopenharmony_ci#define VENUS_CORE0_GDSC 1 14162306a36Sopenharmony_ci#define VENUS_CORE1_GDSC 2 14262306a36Sopenharmony_ci#define VENUS_CORE2_GDSC 3 14362306a36Sopenharmony_ci#define CAMSS_TOP_GDSC 4 14462306a36Sopenharmony_ci#define MDSS_GDSC 5 14562306a36Sopenharmony_ci#define JPEG_GDSC 6 14662306a36Sopenharmony_ci#define VFE_GDSC 7 14762306a36Sopenharmony_ci#define CPP_GDSC 8 14862306a36Sopenharmony_ci#define OXILI_GX_GDSC 9 14962306a36Sopenharmony_ci#define OXILI_CX_GDSC 10 15062306a36Sopenharmony_ci#define FD_GDSC 11 15162306a36Sopenharmony_ci 15262306a36Sopenharmony_ci/* Resets */ 15362306a36Sopenharmony_ci#define CAMSS_MICRO_BCR 0 15462306a36Sopenharmony_ci 15562306a36Sopenharmony_ci#endif 156