162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2022, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2022, Linaro Limited 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_CAMCC_SM6350_H 862306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_CAMCC_SM6350_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* CAMCC clocks */ 1162306a36Sopenharmony_ci#define CAMCC_PLL2_OUT_EARLY 0 1262306a36Sopenharmony_ci#define CAMCC_PLL0 1 1362306a36Sopenharmony_ci#define CAMCC_PLL0_OUT_EVEN 2 1462306a36Sopenharmony_ci#define CAMCC_PLL1 3 1562306a36Sopenharmony_ci#define CAMCC_PLL1_OUT_EVEN 4 1662306a36Sopenharmony_ci#define CAMCC_PLL2 5 1762306a36Sopenharmony_ci#define CAMCC_PLL2_OUT_MAIN 6 1862306a36Sopenharmony_ci#define CAMCC_PLL3 7 1962306a36Sopenharmony_ci#define CAMCC_BPS_AHB_CLK 8 2062306a36Sopenharmony_ci#define CAMCC_BPS_AREG_CLK 9 2162306a36Sopenharmony_ci#define CAMCC_BPS_AXI_CLK 10 2262306a36Sopenharmony_ci#define CAMCC_BPS_CLK 11 2362306a36Sopenharmony_ci#define CAMCC_BPS_CLK_SRC 12 2462306a36Sopenharmony_ci#define CAMCC_CAMNOC_ATB_CLK 13 2562306a36Sopenharmony_ci#define CAMCC_CAMNOC_AXI_CLK 14 2662306a36Sopenharmony_ci#define CAMCC_CCI_0_CLK 15 2762306a36Sopenharmony_ci#define CAMCC_CCI_0_CLK_SRC 16 2862306a36Sopenharmony_ci#define CAMCC_CCI_1_CLK 17 2962306a36Sopenharmony_ci#define CAMCC_CCI_1_CLK_SRC 18 3062306a36Sopenharmony_ci#define CAMCC_CORE_AHB_CLK 19 3162306a36Sopenharmony_ci#define CAMCC_CPAS_AHB_CLK 20 3262306a36Sopenharmony_ci#define CAMCC_CPHY_RX_CLK_SRC 21 3362306a36Sopenharmony_ci#define CAMCC_CSI0PHYTIMER_CLK 22 3462306a36Sopenharmony_ci#define CAMCC_CSI0PHYTIMER_CLK_SRC 23 3562306a36Sopenharmony_ci#define CAMCC_CSI1PHYTIMER_CLK 24 3662306a36Sopenharmony_ci#define CAMCC_CSI1PHYTIMER_CLK_SRC 25 3762306a36Sopenharmony_ci#define CAMCC_CSI2PHYTIMER_CLK 26 3862306a36Sopenharmony_ci#define CAMCC_CSI2PHYTIMER_CLK_SRC 27 3962306a36Sopenharmony_ci#define CAMCC_CSI3PHYTIMER_CLK 28 4062306a36Sopenharmony_ci#define CAMCC_CSI3PHYTIMER_CLK_SRC 29 4162306a36Sopenharmony_ci#define CAMCC_CSIPHY0_CLK 30 4262306a36Sopenharmony_ci#define CAMCC_CSIPHY1_CLK 31 4362306a36Sopenharmony_ci#define CAMCC_CSIPHY2_CLK 32 4462306a36Sopenharmony_ci#define CAMCC_CSIPHY3_CLK 33 4562306a36Sopenharmony_ci#define CAMCC_FAST_AHB_CLK_SRC 34 4662306a36Sopenharmony_ci#define CAMCC_ICP_APB_CLK 35 4762306a36Sopenharmony_ci#define CAMCC_ICP_ATB_CLK 36 4862306a36Sopenharmony_ci#define CAMCC_ICP_CLK 37 4962306a36Sopenharmony_ci#define CAMCC_ICP_CLK_SRC 38 5062306a36Sopenharmony_ci#define CAMCC_ICP_CTI_CLK 39 5162306a36Sopenharmony_ci#define CAMCC_ICP_TS_CLK 40 5262306a36Sopenharmony_ci#define CAMCC_IFE_0_AXI_CLK 41 5362306a36Sopenharmony_ci#define CAMCC_IFE_0_CLK 42 5462306a36Sopenharmony_ci#define CAMCC_IFE_0_CLK_SRC 43 5562306a36Sopenharmony_ci#define CAMCC_IFE_0_CPHY_RX_CLK 44 5662306a36Sopenharmony_ci#define CAMCC_IFE_0_CSID_CLK 45 5762306a36Sopenharmony_ci#define CAMCC_IFE_0_CSID_CLK_SRC 46 5862306a36Sopenharmony_ci#define CAMCC_IFE_0_DSP_CLK 47 5962306a36Sopenharmony_ci#define CAMCC_IFE_1_AXI_CLK 48 6062306a36Sopenharmony_ci#define CAMCC_IFE_1_CLK 49 6162306a36Sopenharmony_ci#define CAMCC_IFE_1_CLK_SRC 50 6262306a36Sopenharmony_ci#define CAMCC_IFE_1_CPHY_RX_CLK 51 6362306a36Sopenharmony_ci#define CAMCC_IFE_1_CSID_CLK 52 6462306a36Sopenharmony_ci#define CAMCC_IFE_1_CSID_CLK_SRC 53 6562306a36Sopenharmony_ci#define CAMCC_IFE_1_DSP_CLK 54 6662306a36Sopenharmony_ci#define CAMCC_IFE_2_AXI_CLK 55 6762306a36Sopenharmony_ci#define CAMCC_IFE_2_CLK 56 6862306a36Sopenharmony_ci#define CAMCC_IFE_2_CLK_SRC 57 6962306a36Sopenharmony_ci#define CAMCC_IFE_2_CPHY_RX_CLK 58 7062306a36Sopenharmony_ci#define CAMCC_IFE_2_CSID_CLK 59 7162306a36Sopenharmony_ci#define CAMCC_IFE_2_CSID_CLK_SRC 60 7262306a36Sopenharmony_ci#define CAMCC_IFE_2_DSP_CLK 61 7362306a36Sopenharmony_ci#define CAMCC_IFE_LITE_CLK 62 7462306a36Sopenharmony_ci#define CAMCC_IFE_LITE_CLK_SRC 63 7562306a36Sopenharmony_ci#define CAMCC_IFE_LITE_CPHY_RX_CLK 64 7662306a36Sopenharmony_ci#define CAMCC_IFE_LITE_CSID_CLK 65 7762306a36Sopenharmony_ci#define CAMCC_IFE_LITE_CSID_CLK_SRC 66 7862306a36Sopenharmony_ci#define CAMCC_IPE_0_AHB_CLK 67 7962306a36Sopenharmony_ci#define CAMCC_IPE_0_AREG_CLK 68 8062306a36Sopenharmony_ci#define CAMCC_IPE_0_AXI_CLK 69 8162306a36Sopenharmony_ci#define CAMCC_IPE_0_CLK 70 8262306a36Sopenharmony_ci#define CAMCC_IPE_0_CLK_SRC 71 8362306a36Sopenharmony_ci#define CAMCC_JPEG_CLK 72 8462306a36Sopenharmony_ci#define CAMCC_JPEG_CLK_SRC 73 8562306a36Sopenharmony_ci#define CAMCC_LRME_CLK 74 8662306a36Sopenharmony_ci#define CAMCC_LRME_CLK_SRC 75 8762306a36Sopenharmony_ci#define CAMCC_MCLK0_CLK 76 8862306a36Sopenharmony_ci#define CAMCC_MCLK0_CLK_SRC 77 8962306a36Sopenharmony_ci#define CAMCC_MCLK1_CLK 78 9062306a36Sopenharmony_ci#define CAMCC_MCLK1_CLK_SRC 79 9162306a36Sopenharmony_ci#define CAMCC_MCLK2_CLK 80 9262306a36Sopenharmony_ci#define CAMCC_MCLK2_CLK_SRC 81 9362306a36Sopenharmony_ci#define CAMCC_MCLK3_CLK 82 9462306a36Sopenharmony_ci#define CAMCC_MCLK3_CLK_SRC 83 9562306a36Sopenharmony_ci#define CAMCC_MCLK4_CLK 84 9662306a36Sopenharmony_ci#define CAMCC_MCLK4_CLK_SRC 85 9762306a36Sopenharmony_ci#define CAMCC_SLOW_AHB_CLK_SRC 86 9862306a36Sopenharmony_ci#define CAMCC_SOC_AHB_CLK 87 9962306a36Sopenharmony_ci#define CAMCC_SYS_TMR_CLK 88 10062306a36Sopenharmony_ci 10162306a36Sopenharmony_ci/* GDSCs */ 10262306a36Sopenharmony_ci#define BPS_GDSC 0 10362306a36Sopenharmony_ci#define IPE_0_GDSC 1 10462306a36Sopenharmony_ci#define IFE_0_GDSC 2 10562306a36Sopenharmony_ci#define IFE_1_GDSC 3 10662306a36Sopenharmony_ci#define IFE_2_GDSC 4 10762306a36Sopenharmony_ci#define TITAN_TOP_GDSC 5 10862306a36Sopenharmony_ci 10962306a36Sopenharmony_ci#endif 110