1*833e5d42SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2*833e5d42SEmmanuel Vadot /* 3*833e5d42SEmmanuel Vadot * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. 4*833e5d42SEmmanuel Vadot */ 5*833e5d42SEmmanuel Vadot 6*833e5d42SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_CAM_CC_QCS615_H 7*833e5d42SEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_CAM_CC_QCS615_H 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadot /* CAM_CC clocks */ 10*833e5d42SEmmanuel Vadot #define CAM_CC_BPS_AHB_CLK 0 11*833e5d42SEmmanuel Vadot #define CAM_CC_BPS_AREG_CLK 1 12*833e5d42SEmmanuel Vadot #define CAM_CC_BPS_AXI_CLK 2 13*833e5d42SEmmanuel Vadot #define CAM_CC_BPS_CLK 3 14*833e5d42SEmmanuel Vadot #define CAM_CC_BPS_CLK_SRC 4 15*833e5d42SEmmanuel Vadot #define CAM_CC_CAMNOC_ATB_CLK 5 16*833e5d42SEmmanuel Vadot #define CAM_CC_CAMNOC_AXI_CLK 6 17*833e5d42SEmmanuel Vadot #define CAM_CC_CCI_CLK 7 18*833e5d42SEmmanuel Vadot #define CAM_CC_CCI_CLK_SRC 8 19*833e5d42SEmmanuel Vadot #define CAM_CC_CORE_AHB_CLK 9 20*833e5d42SEmmanuel Vadot #define CAM_CC_CPAS_AHB_CLK 10 21*833e5d42SEmmanuel Vadot #define CAM_CC_CPHY_RX_CLK_SRC 11 22*833e5d42SEmmanuel Vadot #define CAM_CC_CSI0PHYTIMER_CLK 12 23*833e5d42SEmmanuel Vadot #define CAM_CC_CSI0PHYTIMER_CLK_SRC 13 24*833e5d42SEmmanuel Vadot #define CAM_CC_CSI1PHYTIMER_CLK 14 25*833e5d42SEmmanuel Vadot #define CAM_CC_CSI1PHYTIMER_CLK_SRC 15 26*833e5d42SEmmanuel Vadot #define CAM_CC_CSI2PHYTIMER_CLK 16 27*833e5d42SEmmanuel Vadot #define CAM_CC_CSI2PHYTIMER_CLK_SRC 17 28*833e5d42SEmmanuel Vadot #define CAM_CC_CSIPHY0_CLK 18 29*833e5d42SEmmanuel Vadot #define CAM_CC_CSIPHY1_CLK 19 30*833e5d42SEmmanuel Vadot #define CAM_CC_CSIPHY2_CLK 20 31*833e5d42SEmmanuel Vadot #define CAM_CC_FAST_AHB_CLK_SRC 21 32*833e5d42SEmmanuel Vadot #define CAM_CC_ICP_ATB_CLK 22 33*833e5d42SEmmanuel Vadot #define CAM_CC_ICP_CLK 23 34*833e5d42SEmmanuel Vadot #define CAM_CC_ICP_CLK_SRC 24 35*833e5d42SEmmanuel Vadot #define CAM_CC_ICP_CTI_CLK 25 36*833e5d42SEmmanuel Vadot #define CAM_CC_ICP_TS_CLK 26 37*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_0_AXI_CLK 27 38*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_0_CLK 28 39*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_0_CLK_SRC 29 40*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_0_CPHY_RX_CLK 30 41*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_0_CSID_CLK 31 42*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_0_CSID_CLK_SRC 32 43*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_0_DSP_CLK 33 44*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_1_AXI_CLK 34 45*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_1_CLK 35 46*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_1_CLK_SRC 36 47*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_1_CPHY_RX_CLK 37 48*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_1_CSID_CLK 38 49*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_1_CSID_CLK_SRC 39 50*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_1_DSP_CLK 40 51*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_LITE_CLK 41 52*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_LITE_CLK_SRC 42 53*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_LITE_CPHY_RX_CLK 43 54*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_LITE_CSID_CLK 44 55*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_LITE_CSID_CLK_SRC 45 56*833e5d42SEmmanuel Vadot #define CAM_CC_IPE_0_AHB_CLK 46 57*833e5d42SEmmanuel Vadot #define CAM_CC_IPE_0_AREG_CLK 47 58*833e5d42SEmmanuel Vadot #define CAM_CC_IPE_0_AXI_CLK 48 59*833e5d42SEmmanuel Vadot #define CAM_CC_IPE_0_CLK 49 60*833e5d42SEmmanuel Vadot #define CAM_CC_IPE_0_CLK_SRC 50 61*833e5d42SEmmanuel Vadot #define CAM_CC_JPEG_CLK 51 62*833e5d42SEmmanuel Vadot #define CAM_CC_JPEG_CLK_SRC 52 63*833e5d42SEmmanuel Vadot #define CAM_CC_LRME_CLK 53 64*833e5d42SEmmanuel Vadot #define CAM_CC_LRME_CLK_SRC 54 65*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK0_CLK 55 66*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK0_CLK_SRC 56 67*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK1_CLK 57 68*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK1_CLK_SRC 58 69*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK2_CLK 59 70*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK2_CLK_SRC 60 71*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK3_CLK 61 72*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK3_CLK_SRC 62 73*833e5d42SEmmanuel Vadot #define CAM_CC_PLL0 63 74*833e5d42SEmmanuel Vadot #define CAM_CC_PLL1 64 75*833e5d42SEmmanuel Vadot #define CAM_CC_PLL2 65 76*833e5d42SEmmanuel Vadot #define CAM_CC_PLL2_OUT_AUX2 66 77*833e5d42SEmmanuel Vadot #define CAM_CC_PLL3 67 78*833e5d42SEmmanuel Vadot #define CAM_CC_SLOW_AHB_CLK_SRC 68 79*833e5d42SEmmanuel Vadot #define CAM_CC_SOC_AHB_CLK 69 80*833e5d42SEmmanuel Vadot #define CAM_CC_SYS_TMR_CLK 70 81*833e5d42SEmmanuel Vadot 82*833e5d42SEmmanuel Vadot /* CAM_CC power domains */ 83*833e5d42SEmmanuel Vadot #define BPS_GDSC 0 84*833e5d42SEmmanuel Vadot #define IFE_0_GDSC 1 85*833e5d42SEmmanuel Vadot #define IFE_1_GDSC 2 86*833e5d42SEmmanuel Vadot #define IPE_0_GDSC 3 87*833e5d42SEmmanuel Vadot #define TITAN_TOP_GDSC 4 88*833e5d42SEmmanuel Vadot 89*833e5d42SEmmanuel Vadot /* CAM_CC resets */ 90*833e5d42SEmmanuel Vadot #define CAM_CC_BPS_BCR 0 91*833e5d42SEmmanuel Vadot #define CAM_CC_CAMNOC_BCR 1 92*833e5d42SEmmanuel Vadot #define CAM_CC_CCI_BCR 2 93*833e5d42SEmmanuel Vadot #define CAM_CC_CPAS_BCR 3 94*833e5d42SEmmanuel Vadot #define CAM_CC_CSI0PHY_BCR 4 95*833e5d42SEmmanuel Vadot #define CAM_CC_CSI1PHY_BCR 5 96*833e5d42SEmmanuel Vadot #define CAM_CC_CSI2PHY_BCR 6 97*833e5d42SEmmanuel Vadot #define CAM_CC_ICP_BCR 7 98*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_0_BCR 8 99*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_1_BCR 9 100*833e5d42SEmmanuel Vadot #define CAM_CC_IFE_LITE_BCR 10 101*833e5d42SEmmanuel Vadot #define CAM_CC_IPE_0_BCR 11 102*833e5d42SEmmanuel Vadot #define CAM_CC_JPEG_BCR 12 103*833e5d42SEmmanuel Vadot #define CAM_CC_LRME_BCR 13 104*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK0_BCR 14 105*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK1_BCR 15 106*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK2_BCR 16 107*833e5d42SEmmanuel Vadot #define CAM_CC_MCLK3_BCR 17 108*833e5d42SEmmanuel Vadot #define CAM_CC_TITAN_TOP_BCR 18 109*833e5d42SEmmanuel Vadot 110*833e5d42SEmmanuel Vadot #endif 111