1*cb7aa33aSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2*cb7aa33aSEmmanuel Vadot /* 3*cb7aa33aSEmmanuel Vadot * Copyright (c) 2022, The Linux Foundation. All rights reserved. 4*cb7aa33aSEmmanuel Vadot * Copyright (c) 2022, Linaro Limited 5*cb7aa33aSEmmanuel Vadot */ 6*cb7aa33aSEmmanuel Vadot 7*cb7aa33aSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_CAMCC_SM6350_H 8*cb7aa33aSEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_CAMCC_SM6350_H 9*cb7aa33aSEmmanuel Vadot 10*cb7aa33aSEmmanuel Vadot /* CAMCC clocks */ 11*cb7aa33aSEmmanuel Vadot #define CAMCC_PLL2_OUT_EARLY 0 12*cb7aa33aSEmmanuel Vadot #define CAMCC_PLL0 1 13*cb7aa33aSEmmanuel Vadot #define CAMCC_PLL0_OUT_EVEN 2 14*cb7aa33aSEmmanuel Vadot #define CAMCC_PLL1 3 15*cb7aa33aSEmmanuel Vadot #define CAMCC_PLL1_OUT_EVEN 4 16*cb7aa33aSEmmanuel Vadot #define CAMCC_PLL2 5 17*cb7aa33aSEmmanuel Vadot #define CAMCC_PLL2_OUT_MAIN 6 18*cb7aa33aSEmmanuel Vadot #define CAMCC_PLL3 7 19*cb7aa33aSEmmanuel Vadot #define CAMCC_BPS_AHB_CLK 8 20*cb7aa33aSEmmanuel Vadot #define CAMCC_BPS_AREG_CLK 9 21*cb7aa33aSEmmanuel Vadot #define CAMCC_BPS_AXI_CLK 10 22*cb7aa33aSEmmanuel Vadot #define CAMCC_BPS_CLK 11 23*cb7aa33aSEmmanuel Vadot #define CAMCC_BPS_CLK_SRC 12 24*cb7aa33aSEmmanuel Vadot #define CAMCC_CAMNOC_ATB_CLK 13 25*cb7aa33aSEmmanuel Vadot #define CAMCC_CAMNOC_AXI_CLK 14 26*cb7aa33aSEmmanuel Vadot #define CAMCC_CCI_0_CLK 15 27*cb7aa33aSEmmanuel Vadot #define CAMCC_CCI_0_CLK_SRC 16 28*cb7aa33aSEmmanuel Vadot #define CAMCC_CCI_1_CLK 17 29*cb7aa33aSEmmanuel Vadot #define CAMCC_CCI_1_CLK_SRC 18 30*cb7aa33aSEmmanuel Vadot #define CAMCC_CORE_AHB_CLK 19 31*cb7aa33aSEmmanuel Vadot #define CAMCC_CPAS_AHB_CLK 20 32*cb7aa33aSEmmanuel Vadot #define CAMCC_CPHY_RX_CLK_SRC 21 33*cb7aa33aSEmmanuel Vadot #define CAMCC_CSI0PHYTIMER_CLK 22 34*cb7aa33aSEmmanuel Vadot #define CAMCC_CSI0PHYTIMER_CLK_SRC 23 35*cb7aa33aSEmmanuel Vadot #define CAMCC_CSI1PHYTIMER_CLK 24 36*cb7aa33aSEmmanuel Vadot #define CAMCC_CSI1PHYTIMER_CLK_SRC 25 37*cb7aa33aSEmmanuel Vadot #define CAMCC_CSI2PHYTIMER_CLK 26 38*cb7aa33aSEmmanuel Vadot #define CAMCC_CSI2PHYTIMER_CLK_SRC 27 39*cb7aa33aSEmmanuel Vadot #define CAMCC_CSI3PHYTIMER_CLK 28 40*cb7aa33aSEmmanuel Vadot #define CAMCC_CSI3PHYTIMER_CLK_SRC 29 41*cb7aa33aSEmmanuel Vadot #define CAMCC_CSIPHY0_CLK 30 42*cb7aa33aSEmmanuel Vadot #define CAMCC_CSIPHY1_CLK 31 43*cb7aa33aSEmmanuel Vadot #define CAMCC_CSIPHY2_CLK 32 44*cb7aa33aSEmmanuel Vadot #define CAMCC_CSIPHY3_CLK 33 45*cb7aa33aSEmmanuel Vadot #define CAMCC_FAST_AHB_CLK_SRC 34 46*cb7aa33aSEmmanuel Vadot #define CAMCC_ICP_APB_CLK 35 47*cb7aa33aSEmmanuel Vadot #define CAMCC_ICP_ATB_CLK 36 48*cb7aa33aSEmmanuel Vadot #define CAMCC_ICP_CLK 37 49*cb7aa33aSEmmanuel Vadot #define CAMCC_ICP_CLK_SRC 38 50*cb7aa33aSEmmanuel Vadot #define CAMCC_ICP_CTI_CLK 39 51*cb7aa33aSEmmanuel Vadot #define CAMCC_ICP_TS_CLK 40 52*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_0_AXI_CLK 41 53*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_0_CLK 42 54*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_0_CLK_SRC 43 55*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_0_CPHY_RX_CLK 44 56*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_0_CSID_CLK 45 57*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_0_CSID_CLK_SRC 46 58*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_0_DSP_CLK 47 59*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_1_AXI_CLK 48 60*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_1_CLK 49 61*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_1_CLK_SRC 50 62*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_1_CPHY_RX_CLK 51 63*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_1_CSID_CLK 52 64*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_1_CSID_CLK_SRC 53 65*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_1_DSP_CLK 54 66*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_2_AXI_CLK 55 67*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_2_CLK 56 68*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_2_CLK_SRC 57 69*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_2_CPHY_RX_CLK 58 70*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_2_CSID_CLK 59 71*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_2_CSID_CLK_SRC 60 72*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_2_DSP_CLK 61 73*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_LITE_CLK 62 74*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_LITE_CLK_SRC 63 75*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_LITE_CPHY_RX_CLK 64 76*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_LITE_CSID_CLK 65 77*cb7aa33aSEmmanuel Vadot #define CAMCC_IFE_LITE_CSID_CLK_SRC 66 78*cb7aa33aSEmmanuel Vadot #define CAMCC_IPE_0_AHB_CLK 67 79*cb7aa33aSEmmanuel Vadot #define CAMCC_IPE_0_AREG_CLK 68 80*cb7aa33aSEmmanuel Vadot #define CAMCC_IPE_0_AXI_CLK 69 81*cb7aa33aSEmmanuel Vadot #define CAMCC_IPE_0_CLK 70 82*cb7aa33aSEmmanuel Vadot #define CAMCC_IPE_0_CLK_SRC 71 83*cb7aa33aSEmmanuel Vadot #define CAMCC_JPEG_CLK 72 84*cb7aa33aSEmmanuel Vadot #define CAMCC_JPEG_CLK_SRC 73 85*cb7aa33aSEmmanuel Vadot #define CAMCC_LRME_CLK 74 86*cb7aa33aSEmmanuel Vadot #define CAMCC_LRME_CLK_SRC 75 87*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK0_CLK 76 88*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK0_CLK_SRC 77 89*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK1_CLK 78 90*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK1_CLK_SRC 79 91*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK2_CLK 80 92*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK2_CLK_SRC 81 93*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK3_CLK 82 94*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK3_CLK_SRC 83 95*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK4_CLK 84 96*cb7aa33aSEmmanuel Vadot #define CAMCC_MCLK4_CLK_SRC 85 97*cb7aa33aSEmmanuel Vadot #define CAMCC_SLOW_AHB_CLK_SRC 86 98*cb7aa33aSEmmanuel Vadot #define CAMCC_SOC_AHB_CLK 87 99*cb7aa33aSEmmanuel Vadot #define CAMCC_SYS_TMR_CLK 88 100*cb7aa33aSEmmanuel Vadot 101*cb7aa33aSEmmanuel Vadot /* GDSCs */ 102*cb7aa33aSEmmanuel Vadot #define BPS_GDSC 0 103*cb7aa33aSEmmanuel Vadot #define IPE_0_GDSC 1 104*cb7aa33aSEmmanuel Vadot #define IFE_0_GDSC 2 105*cb7aa33aSEmmanuel Vadot #define IFE_1_GDSC 3 106*cb7aa33aSEmmanuel Vadot #define IFE_2_GDSC 4 107*cb7aa33aSEmmanuel Vadot #define TITAN_TOP_GDSC 5 108*cb7aa33aSEmmanuel Vadot 109*cb7aa33aSEmmanuel Vadot #endif 110