162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2021, The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_CAM_CC_SC7280_H
762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_CAM_CC_SC7280_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/* CAM_CC clocks */
1062306a36Sopenharmony_ci#define CAM_CC_PLL0				0
1162306a36Sopenharmony_ci#define CAM_CC_PLL0_OUT_EVEN			1
1262306a36Sopenharmony_ci#define CAM_CC_PLL0_OUT_ODD			2
1362306a36Sopenharmony_ci#define CAM_CC_PLL1				3
1462306a36Sopenharmony_ci#define CAM_CC_PLL1_OUT_EVEN			4
1562306a36Sopenharmony_ci#define CAM_CC_PLL2				5
1662306a36Sopenharmony_ci#define CAM_CC_PLL2_OUT_AUX			6
1762306a36Sopenharmony_ci#define CAM_CC_PLL2_OUT_AUX2			7
1862306a36Sopenharmony_ci#define CAM_CC_PLL3				8
1962306a36Sopenharmony_ci#define CAM_CC_PLL3_OUT_EVEN			9
2062306a36Sopenharmony_ci#define CAM_CC_PLL4				10
2162306a36Sopenharmony_ci#define CAM_CC_PLL4_OUT_EVEN			11
2262306a36Sopenharmony_ci#define CAM_CC_PLL5				12
2362306a36Sopenharmony_ci#define CAM_CC_PLL5_OUT_EVEN			13
2462306a36Sopenharmony_ci#define CAM_CC_PLL6				14
2562306a36Sopenharmony_ci#define CAM_CC_PLL6_OUT_EVEN			15
2662306a36Sopenharmony_ci#define CAM_CC_PLL6_OUT_ODD			16
2762306a36Sopenharmony_ci#define CAM_CC_BPS_AHB_CLK			17
2862306a36Sopenharmony_ci#define CAM_CC_BPS_AREG_CLK			18
2962306a36Sopenharmony_ci#define CAM_CC_BPS_AXI_CLK			19
3062306a36Sopenharmony_ci#define CAM_CC_BPS_CLK				20
3162306a36Sopenharmony_ci#define CAM_CC_BPS_CLK_SRC			21
3262306a36Sopenharmony_ci#define CAM_CC_CAMNOC_AXI_CLK			22
3362306a36Sopenharmony_ci#define CAM_CC_CAMNOC_AXI_CLK_SRC		23
3462306a36Sopenharmony_ci#define CAM_CC_CAMNOC_DCD_XO_CLK		24
3562306a36Sopenharmony_ci#define CAM_CC_CCI_0_CLK			25
3662306a36Sopenharmony_ci#define CAM_CC_CCI_0_CLK_SRC			26
3762306a36Sopenharmony_ci#define CAM_CC_CCI_1_CLK			27
3862306a36Sopenharmony_ci#define CAM_CC_CCI_1_CLK_SRC			28
3962306a36Sopenharmony_ci#define CAM_CC_CORE_AHB_CLK			29
4062306a36Sopenharmony_ci#define CAM_CC_CPAS_AHB_CLK			30
4162306a36Sopenharmony_ci#define CAM_CC_CPHY_RX_CLK_SRC			31
4262306a36Sopenharmony_ci#define CAM_CC_CSI0PHYTIMER_CLK			32
4362306a36Sopenharmony_ci#define CAM_CC_CSI0PHYTIMER_CLK_SRC		33
4462306a36Sopenharmony_ci#define CAM_CC_CSI1PHYTIMER_CLK			34
4562306a36Sopenharmony_ci#define CAM_CC_CSI1PHYTIMER_CLK_SRC		35
4662306a36Sopenharmony_ci#define CAM_CC_CSI2PHYTIMER_CLK			36
4762306a36Sopenharmony_ci#define CAM_CC_CSI2PHYTIMER_CLK_SRC		37
4862306a36Sopenharmony_ci#define CAM_CC_CSI3PHYTIMER_CLK			38
4962306a36Sopenharmony_ci#define CAM_CC_CSI3PHYTIMER_CLK_SRC		39
5062306a36Sopenharmony_ci#define CAM_CC_CSI4PHYTIMER_CLK			40
5162306a36Sopenharmony_ci#define CAM_CC_CSI4PHYTIMER_CLK_SRC		41
5262306a36Sopenharmony_ci#define CAM_CC_CSIPHY0_CLK			42
5362306a36Sopenharmony_ci#define CAM_CC_CSIPHY1_CLK			43
5462306a36Sopenharmony_ci#define CAM_CC_CSIPHY2_CLK			44
5562306a36Sopenharmony_ci#define CAM_CC_CSIPHY3_CLK			45
5662306a36Sopenharmony_ci#define CAM_CC_CSIPHY4_CLK			46
5762306a36Sopenharmony_ci#define CAM_CC_FAST_AHB_CLK_SRC			47
5862306a36Sopenharmony_ci#define CAM_CC_GDSC_CLK				48
5962306a36Sopenharmony_ci#define CAM_CC_ICP_AHB_CLK			49
6062306a36Sopenharmony_ci#define CAM_CC_ICP_CLK				50
6162306a36Sopenharmony_ci#define CAM_CC_ICP_CLK_SRC			51
6262306a36Sopenharmony_ci#define CAM_CC_IFE_0_AXI_CLK			52
6362306a36Sopenharmony_ci#define CAM_CC_IFE_0_CLK			53
6462306a36Sopenharmony_ci#define CAM_CC_IFE_0_CLK_SRC			54
6562306a36Sopenharmony_ci#define CAM_CC_IFE_0_CPHY_RX_CLK		55
6662306a36Sopenharmony_ci#define CAM_CC_IFE_0_CSID_CLK			56
6762306a36Sopenharmony_ci#define CAM_CC_IFE_0_CSID_CLK_SRC		57
6862306a36Sopenharmony_ci#define CAM_CC_IFE_0_DSP_CLK			58
6962306a36Sopenharmony_ci#define CAM_CC_IFE_1_AXI_CLK			59
7062306a36Sopenharmony_ci#define CAM_CC_IFE_1_CLK			60
7162306a36Sopenharmony_ci#define CAM_CC_IFE_1_CLK_SRC			61
7262306a36Sopenharmony_ci#define CAM_CC_IFE_1_CPHY_RX_CLK		62
7362306a36Sopenharmony_ci#define CAM_CC_IFE_1_CSID_CLK			63
7462306a36Sopenharmony_ci#define CAM_CC_IFE_1_CSID_CLK_SRC		64
7562306a36Sopenharmony_ci#define CAM_CC_IFE_1_DSP_CLK			65
7662306a36Sopenharmony_ci#define CAM_CC_IFE_2_AXI_CLK			66
7762306a36Sopenharmony_ci#define CAM_CC_IFE_2_CLK			67
7862306a36Sopenharmony_ci#define CAM_CC_IFE_2_CLK_SRC			68
7962306a36Sopenharmony_ci#define CAM_CC_IFE_2_CPHY_RX_CLK		69
8062306a36Sopenharmony_ci#define CAM_CC_IFE_2_CSID_CLK			70
8162306a36Sopenharmony_ci#define CAM_CC_IFE_2_CSID_CLK_SRC		71
8262306a36Sopenharmony_ci#define CAM_CC_IFE_2_DSP_CLK			72
8362306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_0_CLK			73
8462306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_0_CLK_SRC		74
8562306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_0_CPHY_RX_CLK		75
8662306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_0_CSID_CLK		76
8762306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_0_CSID_CLK_SRC		77
8862306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_1_CLK			78
8962306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_1_CLK_SRC		79
9062306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_1_CPHY_RX_CLK		80
9162306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_1_CSID_CLK		81
9262306a36Sopenharmony_ci#define CAM_CC_IFE_LITE_1_CSID_CLK_SRC		82
9362306a36Sopenharmony_ci#define CAM_CC_IPE_0_AHB_CLK			83
9462306a36Sopenharmony_ci#define CAM_CC_IPE_0_AREG_CLK			84
9562306a36Sopenharmony_ci#define CAM_CC_IPE_0_AXI_CLK			85
9662306a36Sopenharmony_ci#define CAM_CC_IPE_0_CLK			86
9762306a36Sopenharmony_ci#define CAM_CC_IPE_0_CLK_SRC			87
9862306a36Sopenharmony_ci#define CAM_CC_JPEG_CLK				88
9962306a36Sopenharmony_ci#define CAM_CC_JPEG_CLK_SRC			89
10062306a36Sopenharmony_ci#define CAM_CC_LRME_CLK				90
10162306a36Sopenharmony_ci#define CAM_CC_LRME_CLK_SRC			91
10262306a36Sopenharmony_ci#define CAM_CC_MCLK0_CLK			92
10362306a36Sopenharmony_ci#define CAM_CC_MCLK0_CLK_SRC			93
10462306a36Sopenharmony_ci#define CAM_CC_MCLK1_CLK			94
10562306a36Sopenharmony_ci#define CAM_CC_MCLK1_CLK_SRC			95
10662306a36Sopenharmony_ci#define CAM_CC_MCLK2_CLK			96
10762306a36Sopenharmony_ci#define CAM_CC_MCLK2_CLK_SRC			97
10862306a36Sopenharmony_ci#define CAM_CC_MCLK3_CLK			98
10962306a36Sopenharmony_ci#define CAM_CC_MCLK3_CLK_SRC			99
11062306a36Sopenharmony_ci#define CAM_CC_MCLK4_CLK			100
11162306a36Sopenharmony_ci#define CAM_CC_MCLK4_CLK_SRC			101
11262306a36Sopenharmony_ci#define CAM_CC_MCLK5_CLK			102
11362306a36Sopenharmony_ci#define CAM_CC_MCLK5_CLK_SRC			103
11462306a36Sopenharmony_ci#define CAM_CC_SLEEP_CLK			104
11562306a36Sopenharmony_ci#define CAM_CC_SLEEP_CLK_SRC			105
11662306a36Sopenharmony_ci#define CAM_CC_SLOW_AHB_CLK_SRC			106
11762306a36Sopenharmony_ci#define CAM_CC_XO_CLK_SRC			107
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ci/* CAM_CC power domains */
12062306a36Sopenharmony_ci#define CAM_CC_BPS_GDSC				0
12162306a36Sopenharmony_ci#define CAM_CC_IFE_0_GDSC			1
12262306a36Sopenharmony_ci#define CAM_CC_IFE_1_GDSC			2
12362306a36Sopenharmony_ci#define CAM_CC_IFE_2_GDSC			3
12462306a36Sopenharmony_ci#define CAM_CC_IPE_0_GDSC			4
12562306a36Sopenharmony_ci#define CAM_CC_TITAN_TOP_GDSC			5
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_ci#endif
128