18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright 2015 Linaro Limited
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#include <linux/kernel.h>
78c2ecf20Sopenharmony_ci#include <linux/bitops.h>
88c2ecf20Sopenharmony_ci#include <linux/err.h>
98c2ecf20Sopenharmony_ci#include <linux/platform_device.h>
108c2ecf20Sopenharmony_ci#include <linux/module.h>
118c2ecf20Sopenharmony_ci#include <linux/of.h>
128c2ecf20Sopenharmony_ci#include <linux/of_device.h>
138c2ecf20Sopenharmony_ci#include <linux/clk-provider.h>
148c2ecf20Sopenharmony_ci#include <linux/regmap.h>
158c2ecf20Sopenharmony_ci#include <linux/reset-controller.h>
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#include <dt-bindings/clock/qcom,gcc-msm8916.h>
188c2ecf20Sopenharmony_ci#include <dt-bindings/reset/qcom,gcc-msm8916.h>
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#include "common.h"
218c2ecf20Sopenharmony_ci#include "clk-regmap.h"
228c2ecf20Sopenharmony_ci#include "clk-pll.h"
238c2ecf20Sopenharmony_ci#include "clk-rcg.h"
248c2ecf20Sopenharmony_ci#include "clk-branch.h"
258c2ecf20Sopenharmony_ci#include "reset.h"
268c2ecf20Sopenharmony_ci#include "gdsc.h"
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_cienum {
298c2ecf20Sopenharmony_ci	P_XO,
308c2ecf20Sopenharmony_ci	P_GPLL0,
318c2ecf20Sopenharmony_ci	P_GPLL0_AUX,
328c2ecf20Sopenharmony_ci	P_BIMC,
338c2ecf20Sopenharmony_ci	P_GPLL1,
348c2ecf20Sopenharmony_ci	P_GPLL1_AUX,
358c2ecf20Sopenharmony_ci	P_GPLL2,
368c2ecf20Sopenharmony_ci	P_GPLL2_AUX,
378c2ecf20Sopenharmony_ci	P_SLEEP_CLK,
388c2ecf20Sopenharmony_ci	P_DSI0_PHYPLL_BYTE,
398c2ecf20Sopenharmony_ci	P_DSI0_PHYPLL_DSI,
408c2ecf20Sopenharmony_ci	P_EXT_PRI_I2S,
418c2ecf20Sopenharmony_ci	P_EXT_SEC_I2S,
428c2ecf20Sopenharmony_ci	P_EXT_MCLK,
438c2ecf20Sopenharmony_ci};
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_map[] = {
468c2ecf20Sopenharmony_ci	{ P_XO, 0 },
478c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
488c2ecf20Sopenharmony_ci};
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0[] = {
518c2ecf20Sopenharmony_ci	"xo",
528c2ecf20Sopenharmony_ci	"gpll0_vote",
538c2ecf20Sopenharmony_ci};
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_bimc_map[] = {
568c2ecf20Sopenharmony_ci	{ P_XO, 0 },
578c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
588c2ecf20Sopenharmony_ci	{ P_BIMC, 2 },
598c2ecf20Sopenharmony_ci};
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0_bimc[] = {
628c2ecf20Sopenharmony_ci	"xo",
638c2ecf20Sopenharmony_ci	"gpll0_vote",
648c2ecf20Sopenharmony_ci	"bimc_pll_vote",
658c2ecf20Sopenharmony_ci};
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0a_gpll1_gpll2a_map[] = {
688c2ecf20Sopenharmony_ci	{ P_XO, 0 },
698c2ecf20Sopenharmony_ci	{ P_GPLL0_AUX, 3 },
708c2ecf20Sopenharmony_ci	{ P_GPLL1, 1 },
718c2ecf20Sopenharmony_ci	{ P_GPLL2_AUX, 2 },
728c2ecf20Sopenharmony_ci};
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0a_gpll1_gpll2a[] = {
758c2ecf20Sopenharmony_ci	"xo",
768c2ecf20Sopenharmony_ci	"gpll0_vote",
778c2ecf20Sopenharmony_ci	"gpll1_vote",
788c2ecf20Sopenharmony_ci	"gpll2_vote",
798c2ecf20Sopenharmony_ci};
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll2_map[] = {
828c2ecf20Sopenharmony_ci	{ P_XO, 0 },
838c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
848c2ecf20Sopenharmony_ci	{ P_GPLL2, 2 },
858c2ecf20Sopenharmony_ci};
868c2ecf20Sopenharmony_ci
878c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0_gpll2[] = {
888c2ecf20Sopenharmony_ci	"xo",
898c2ecf20Sopenharmony_ci	"gpll0_vote",
908c2ecf20Sopenharmony_ci	"gpll2_vote",
918c2ecf20Sopenharmony_ci};
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0a_map[] = {
948c2ecf20Sopenharmony_ci	{ P_XO, 0 },
958c2ecf20Sopenharmony_ci	{ P_GPLL0_AUX, 2 },
968c2ecf20Sopenharmony_ci};
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0a[] = {
998c2ecf20Sopenharmony_ci	"xo",
1008c2ecf20Sopenharmony_ci	"gpll0_vote",
1018c2ecf20Sopenharmony_ci};
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll1a_sleep_map[] = {
1048c2ecf20Sopenharmony_ci	{ P_XO, 0 },
1058c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
1068c2ecf20Sopenharmony_ci	{ P_GPLL1_AUX, 2 },
1078c2ecf20Sopenharmony_ci	{ P_SLEEP_CLK, 6 },
1088c2ecf20Sopenharmony_ci};
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0_gpll1a_sleep[] = {
1118c2ecf20Sopenharmony_ci	"xo",
1128c2ecf20Sopenharmony_ci	"gpll0_vote",
1138c2ecf20Sopenharmony_ci	"gpll1_vote",
1148c2ecf20Sopenharmony_ci	"sleep_clk",
1158c2ecf20Sopenharmony_ci};
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll1a_map[] = {
1188c2ecf20Sopenharmony_ci	{ P_XO, 0 },
1198c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
1208c2ecf20Sopenharmony_ci	{ P_GPLL1_AUX, 2 },
1218c2ecf20Sopenharmony_ci};
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0_gpll1a[] = {
1248c2ecf20Sopenharmony_ci	"xo",
1258c2ecf20Sopenharmony_ci	"gpll0_vote",
1268c2ecf20Sopenharmony_ci	"gpll1_vote",
1278c2ecf20Sopenharmony_ci};
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_dsibyte_map[] = {
1308c2ecf20Sopenharmony_ci	{ P_XO, 0, },
1318c2ecf20Sopenharmony_ci	{ P_DSI0_PHYPLL_BYTE, 2 },
1328c2ecf20Sopenharmony_ci};
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_cistatic const char * const gcc_xo_dsibyte[] = {
1358c2ecf20Sopenharmony_ci	"xo",
1368c2ecf20Sopenharmony_ci	"dsi0pllbyte",
1378c2ecf20Sopenharmony_ci};
1388c2ecf20Sopenharmony_ci
1398c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0a_dsibyte_map[] = {
1408c2ecf20Sopenharmony_ci	{ P_XO, 0 },
1418c2ecf20Sopenharmony_ci	{ P_GPLL0_AUX, 2 },
1428c2ecf20Sopenharmony_ci	{ P_DSI0_PHYPLL_BYTE, 1 },
1438c2ecf20Sopenharmony_ci};
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0a_dsibyte[] = {
1468c2ecf20Sopenharmony_ci	"xo",
1478c2ecf20Sopenharmony_ci	"gpll0_vote",
1488c2ecf20Sopenharmony_ci	"dsi0pllbyte",
1498c2ecf20Sopenharmony_ci};
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_dsiphy_map[] = {
1528c2ecf20Sopenharmony_ci	{ P_XO, 0 },
1538c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
1548c2ecf20Sopenharmony_ci	{ P_DSI0_PHYPLL_DSI, 2 },
1558c2ecf20Sopenharmony_ci};
1568c2ecf20Sopenharmony_ci
1578c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0_dsiphy[] = {
1588c2ecf20Sopenharmony_ci	"xo",
1598c2ecf20Sopenharmony_ci	"gpll0_vote",
1608c2ecf20Sopenharmony_ci	"dsi0pll",
1618c2ecf20Sopenharmony_ci};
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0a_dsiphy_map[] = {
1648c2ecf20Sopenharmony_ci	{ P_XO, 0 },
1658c2ecf20Sopenharmony_ci	{ P_GPLL0_AUX, 2 },
1668c2ecf20Sopenharmony_ci	{ P_DSI0_PHYPLL_DSI, 1 },
1678c2ecf20Sopenharmony_ci};
1688c2ecf20Sopenharmony_ci
1698c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0a_dsiphy[] = {
1708c2ecf20Sopenharmony_ci	"xo",
1718c2ecf20Sopenharmony_ci	"gpll0_vote",
1728c2ecf20Sopenharmony_ci	"dsi0pll",
1738c2ecf20Sopenharmony_ci};
1748c2ecf20Sopenharmony_ci
1758c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0a_gpll1_gpll2_map[] = {
1768c2ecf20Sopenharmony_ci	{ P_XO, 0 },
1778c2ecf20Sopenharmony_ci	{ P_GPLL0_AUX, 1 },
1788c2ecf20Sopenharmony_ci	{ P_GPLL1, 3 },
1798c2ecf20Sopenharmony_ci	{ P_GPLL2, 2 },
1808c2ecf20Sopenharmony_ci};
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0a_gpll1_gpll2[] = {
1838c2ecf20Sopenharmony_ci	"xo",
1848c2ecf20Sopenharmony_ci	"gpll0_vote",
1858c2ecf20Sopenharmony_ci	"gpll1_vote",
1868c2ecf20Sopenharmony_ci	"gpll2_vote",
1878c2ecf20Sopenharmony_ci};
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll0_gpll1_sleep_map[] = {
1908c2ecf20Sopenharmony_ci	{ P_XO, 0 },
1918c2ecf20Sopenharmony_ci	{ P_GPLL0, 1 },
1928c2ecf20Sopenharmony_ci	{ P_GPLL1, 2 },
1938c2ecf20Sopenharmony_ci	{ P_SLEEP_CLK, 6 }
1948c2ecf20Sopenharmony_ci};
1958c2ecf20Sopenharmony_ci
1968c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll0_gpll1_sleep[] = {
1978c2ecf20Sopenharmony_ci	"xo",
1988c2ecf20Sopenharmony_ci	"gpll0_vote",
1998c2ecf20Sopenharmony_ci	"gpll1_vote",
2008c2ecf20Sopenharmony_ci	"sleep_clk",
2018c2ecf20Sopenharmony_ci};
2028c2ecf20Sopenharmony_ci
2038c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll1_epi2s_emclk_sleep_map[] = {
2048c2ecf20Sopenharmony_ci	{ P_XO, 0 },
2058c2ecf20Sopenharmony_ci	{ P_GPLL1, 1 },
2068c2ecf20Sopenharmony_ci	{ P_EXT_PRI_I2S, 2 },
2078c2ecf20Sopenharmony_ci	{ P_EXT_MCLK, 3 },
2088c2ecf20Sopenharmony_ci	{ P_SLEEP_CLK, 6 }
2098c2ecf20Sopenharmony_ci};
2108c2ecf20Sopenharmony_ci
2118c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll1_epi2s_emclk_sleep[] = {
2128c2ecf20Sopenharmony_ci	"xo",
2138c2ecf20Sopenharmony_ci	"gpll1_vote",
2148c2ecf20Sopenharmony_ci	"ext_pri_i2s",
2158c2ecf20Sopenharmony_ci	"ext_mclk",
2168c2ecf20Sopenharmony_ci	"sleep_clk",
2178c2ecf20Sopenharmony_ci};
2188c2ecf20Sopenharmony_ci
2198c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll1_esi2s_emclk_sleep_map[] = {
2208c2ecf20Sopenharmony_ci	{ P_XO, 0 },
2218c2ecf20Sopenharmony_ci	{ P_GPLL1, 1 },
2228c2ecf20Sopenharmony_ci	{ P_EXT_SEC_I2S, 2 },
2238c2ecf20Sopenharmony_ci	{ P_EXT_MCLK, 3 },
2248c2ecf20Sopenharmony_ci	{ P_SLEEP_CLK, 6 }
2258c2ecf20Sopenharmony_ci};
2268c2ecf20Sopenharmony_ci
2278c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll1_esi2s_emclk_sleep[] = {
2288c2ecf20Sopenharmony_ci	"xo",
2298c2ecf20Sopenharmony_ci	"gpll1_vote",
2308c2ecf20Sopenharmony_ci	"ext_sec_i2s",
2318c2ecf20Sopenharmony_ci	"ext_mclk",
2328c2ecf20Sopenharmony_ci	"sleep_clk",
2338c2ecf20Sopenharmony_ci};
2348c2ecf20Sopenharmony_ci
2358c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_sleep_map[] = {
2368c2ecf20Sopenharmony_ci	{ P_XO, 0 },
2378c2ecf20Sopenharmony_ci	{ P_SLEEP_CLK, 6 }
2388c2ecf20Sopenharmony_ci};
2398c2ecf20Sopenharmony_ci
2408c2ecf20Sopenharmony_cistatic const char * const gcc_xo_sleep[] = {
2418c2ecf20Sopenharmony_ci	"xo",
2428c2ecf20Sopenharmony_ci	"sleep_clk",
2438c2ecf20Sopenharmony_ci};
2448c2ecf20Sopenharmony_ci
2458c2ecf20Sopenharmony_cistatic const struct parent_map gcc_xo_gpll1_emclk_sleep_map[] = {
2468c2ecf20Sopenharmony_ci	{ P_XO, 0 },
2478c2ecf20Sopenharmony_ci	{ P_GPLL1, 1 },
2488c2ecf20Sopenharmony_ci	{ P_EXT_MCLK, 2 },
2498c2ecf20Sopenharmony_ci	{ P_SLEEP_CLK, 6 }
2508c2ecf20Sopenharmony_ci};
2518c2ecf20Sopenharmony_ci
2528c2ecf20Sopenharmony_cistatic const char * const gcc_xo_gpll1_emclk_sleep[] = {
2538c2ecf20Sopenharmony_ci	"xo",
2548c2ecf20Sopenharmony_ci	"gpll1_vote",
2558c2ecf20Sopenharmony_ci	"ext_mclk",
2568c2ecf20Sopenharmony_ci	"sleep_clk",
2578c2ecf20Sopenharmony_ci};
2588c2ecf20Sopenharmony_ci
2598c2ecf20Sopenharmony_cistatic struct clk_pll gpll0 = {
2608c2ecf20Sopenharmony_ci	.l_reg = 0x21004,
2618c2ecf20Sopenharmony_ci	.m_reg = 0x21008,
2628c2ecf20Sopenharmony_ci	.n_reg = 0x2100c,
2638c2ecf20Sopenharmony_ci	.config_reg = 0x21010,
2648c2ecf20Sopenharmony_ci	.mode_reg = 0x21000,
2658c2ecf20Sopenharmony_ci	.status_reg = 0x2101c,
2668c2ecf20Sopenharmony_ci	.status_bit = 17,
2678c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
2688c2ecf20Sopenharmony_ci		.name = "gpll0",
2698c2ecf20Sopenharmony_ci		.parent_names = (const char *[]){ "xo" },
2708c2ecf20Sopenharmony_ci		.num_parents = 1,
2718c2ecf20Sopenharmony_ci		.ops = &clk_pll_ops,
2728c2ecf20Sopenharmony_ci	},
2738c2ecf20Sopenharmony_ci};
2748c2ecf20Sopenharmony_ci
2758c2ecf20Sopenharmony_cistatic struct clk_regmap gpll0_vote = {
2768c2ecf20Sopenharmony_ci	.enable_reg = 0x45000,
2778c2ecf20Sopenharmony_ci	.enable_mask = BIT(0),
2788c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
2798c2ecf20Sopenharmony_ci		.name = "gpll0_vote",
2808c2ecf20Sopenharmony_ci		.parent_names = (const char *[]){ "gpll0" },
2818c2ecf20Sopenharmony_ci		.num_parents = 1,
2828c2ecf20Sopenharmony_ci		.ops = &clk_pll_vote_ops,
2838c2ecf20Sopenharmony_ci	},
2848c2ecf20Sopenharmony_ci};
2858c2ecf20Sopenharmony_ci
2868c2ecf20Sopenharmony_cistatic struct clk_pll gpll1 = {
2878c2ecf20Sopenharmony_ci	.l_reg = 0x20004,
2888c2ecf20Sopenharmony_ci	.m_reg = 0x20008,
2898c2ecf20Sopenharmony_ci	.n_reg = 0x2000c,
2908c2ecf20Sopenharmony_ci	.config_reg = 0x20010,
2918c2ecf20Sopenharmony_ci	.mode_reg = 0x20000,
2928c2ecf20Sopenharmony_ci	.status_reg = 0x2001c,
2938c2ecf20Sopenharmony_ci	.status_bit = 17,
2948c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
2958c2ecf20Sopenharmony_ci		.name = "gpll1",
2968c2ecf20Sopenharmony_ci		.parent_names = (const char *[]){ "xo" },
2978c2ecf20Sopenharmony_ci		.num_parents = 1,
2988c2ecf20Sopenharmony_ci		.ops = &clk_pll_ops,
2998c2ecf20Sopenharmony_ci	},
3008c2ecf20Sopenharmony_ci};
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_cistatic struct clk_regmap gpll1_vote = {
3038c2ecf20Sopenharmony_ci	.enable_reg = 0x45000,
3048c2ecf20Sopenharmony_ci	.enable_mask = BIT(1),
3058c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
3068c2ecf20Sopenharmony_ci		.name = "gpll1_vote",
3078c2ecf20Sopenharmony_ci		.parent_names = (const char *[]){ "gpll1" },
3088c2ecf20Sopenharmony_ci		.num_parents = 1,
3098c2ecf20Sopenharmony_ci		.ops = &clk_pll_vote_ops,
3108c2ecf20Sopenharmony_ci	},
3118c2ecf20Sopenharmony_ci};
3128c2ecf20Sopenharmony_ci
3138c2ecf20Sopenharmony_cistatic struct clk_pll gpll2 = {
3148c2ecf20Sopenharmony_ci	.l_reg = 0x4a004,
3158c2ecf20Sopenharmony_ci	.m_reg = 0x4a008,
3168c2ecf20Sopenharmony_ci	.n_reg = 0x4a00c,
3178c2ecf20Sopenharmony_ci	.config_reg = 0x4a010,
3188c2ecf20Sopenharmony_ci	.mode_reg = 0x4a000,
3198c2ecf20Sopenharmony_ci	.status_reg = 0x4a01c,
3208c2ecf20Sopenharmony_ci	.status_bit = 17,
3218c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
3228c2ecf20Sopenharmony_ci		.name = "gpll2",
3238c2ecf20Sopenharmony_ci		.parent_names = (const char *[]){ "xo" },
3248c2ecf20Sopenharmony_ci		.num_parents = 1,
3258c2ecf20Sopenharmony_ci		.ops = &clk_pll_ops,
3268c2ecf20Sopenharmony_ci	},
3278c2ecf20Sopenharmony_ci};
3288c2ecf20Sopenharmony_ci
3298c2ecf20Sopenharmony_cistatic struct clk_regmap gpll2_vote = {
3308c2ecf20Sopenharmony_ci	.enable_reg = 0x45000,
3318c2ecf20Sopenharmony_ci	.enable_mask = BIT(2),
3328c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
3338c2ecf20Sopenharmony_ci		.name = "gpll2_vote",
3348c2ecf20Sopenharmony_ci		.parent_names = (const char *[]){ "gpll2" },
3358c2ecf20Sopenharmony_ci		.num_parents = 1,
3368c2ecf20Sopenharmony_ci		.ops = &clk_pll_vote_ops,
3378c2ecf20Sopenharmony_ci	},
3388c2ecf20Sopenharmony_ci};
3398c2ecf20Sopenharmony_ci
3408c2ecf20Sopenharmony_cistatic struct clk_pll bimc_pll = {
3418c2ecf20Sopenharmony_ci	.l_reg = 0x23004,
3428c2ecf20Sopenharmony_ci	.m_reg = 0x23008,
3438c2ecf20Sopenharmony_ci	.n_reg = 0x2300c,
3448c2ecf20Sopenharmony_ci	.config_reg = 0x23010,
3458c2ecf20Sopenharmony_ci	.mode_reg = 0x23000,
3468c2ecf20Sopenharmony_ci	.status_reg = 0x2301c,
3478c2ecf20Sopenharmony_ci	.status_bit = 17,
3488c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
3498c2ecf20Sopenharmony_ci		.name = "bimc_pll",
3508c2ecf20Sopenharmony_ci		.parent_names = (const char *[]){ "xo" },
3518c2ecf20Sopenharmony_ci		.num_parents = 1,
3528c2ecf20Sopenharmony_ci		.ops = &clk_pll_ops,
3538c2ecf20Sopenharmony_ci	},
3548c2ecf20Sopenharmony_ci};
3558c2ecf20Sopenharmony_ci
3568c2ecf20Sopenharmony_cistatic struct clk_regmap bimc_pll_vote = {
3578c2ecf20Sopenharmony_ci	.enable_reg = 0x45000,
3588c2ecf20Sopenharmony_ci	.enable_mask = BIT(3),
3598c2ecf20Sopenharmony_ci	.hw.init = &(struct clk_init_data){
3608c2ecf20Sopenharmony_ci		.name = "bimc_pll_vote",
3618c2ecf20Sopenharmony_ci		.parent_names = (const char *[]){ "bimc_pll" },
3628c2ecf20Sopenharmony_ci		.num_parents = 1,
3638c2ecf20Sopenharmony_ci		.ops = &clk_pll_vote_ops,
3648c2ecf20Sopenharmony_ci	},
3658c2ecf20Sopenharmony_ci};
3668c2ecf20Sopenharmony_ci
3678c2ecf20Sopenharmony_cistatic struct clk_rcg2 pcnoc_bfdcd_clk_src = {
3688c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x27000,
3698c2ecf20Sopenharmony_ci	.hid_width = 5,
3708c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_bimc_map,
3718c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
3728c2ecf20Sopenharmony_ci		.name = "pcnoc_bfdcd_clk_src",
3738c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_bimc,
3748c2ecf20Sopenharmony_ci		.num_parents = 3,
3758c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
3768c2ecf20Sopenharmony_ci	},
3778c2ecf20Sopenharmony_ci};
3788c2ecf20Sopenharmony_ci
3798c2ecf20Sopenharmony_cistatic struct clk_rcg2 system_noc_bfdcd_clk_src = {
3808c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x26004,
3818c2ecf20Sopenharmony_ci	.hid_width = 5,
3828c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_bimc_map,
3838c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
3848c2ecf20Sopenharmony_ci		.name = "system_noc_bfdcd_clk_src",
3858c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_bimc,
3868c2ecf20Sopenharmony_ci		.num_parents = 3,
3878c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
3888c2ecf20Sopenharmony_ci	},
3898c2ecf20Sopenharmony_ci};
3908c2ecf20Sopenharmony_ci
3918c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_ahb_clk[] = {
3928c2ecf20Sopenharmony_ci	F(40000000, P_GPLL0, 10, 1, 2),
3938c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0, 10, 0, 0),
3948c2ecf20Sopenharmony_ci	{ }
3958c2ecf20Sopenharmony_ci};
3968c2ecf20Sopenharmony_ci
3978c2ecf20Sopenharmony_cistatic struct clk_rcg2 camss_ahb_clk_src = {
3988c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x5a000,
3998c2ecf20Sopenharmony_ci	.mnd_width = 8,
4008c2ecf20Sopenharmony_ci	.hid_width = 5,
4018c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
4028c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_ahb_clk,
4038c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
4048c2ecf20Sopenharmony_ci		.name = "camss_ahb_clk_src",
4058c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
4068c2ecf20Sopenharmony_ci		.num_parents = 2,
4078c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
4088c2ecf20Sopenharmony_ci	},
4098c2ecf20Sopenharmony_ci};
4108c2ecf20Sopenharmony_ci
4118c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_apss_ahb_clk[] = {
4128c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
4138c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
4148c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
4158c2ecf20Sopenharmony_ci	F(133330000, P_GPLL0, 6, 0, 0),
4168c2ecf20Sopenharmony_ci	{ }
4178c2ecf20Sopenharmony_ci};
4188c2ecf20Sopenharmony_ci
4198c2ecf20Sopenharmony_cistatic struct clk_rcg2 apss_ahb_clk_src = {
4208c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x46000,
4218c2ecf20Sopenharmony_ci	.hid_width = 5,
4228c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
4238c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_apss_ahb_clk,
4248c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
4258c2ecf20Sopenharmony_ci		.name = "apss_ahb_clk_src",
4268c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
4278c2ecf20Sopenharmony_ci		.num_parents = 2,
4288c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
4298c2ecf20Sopenharmony_ci	},
4308c2ecf20Sopenharmony_ci};
4318c2ecf20Sopenharmony_ci
4328c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_csi0_1_clk[] = {
4338c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0,	0),
4348c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0,	0),
4358c2ecf20Sopenharmony_ci	{ }
4368c2ecf20Sopenharmony_ci};
4378c2ecf20Sopenharmony_ci
4388c2ecf20Sopenharmony_cistatic struct clk_rcg2 csi0_clk_src = {
4398c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4e020,
4408c2ecf20Sopenharmony_ci	.hid_width = 5,
4418c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
4428c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_csi0_1_clk,
4438c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
4448c2ecf20Sopenharmony_ci		.name = "csi0_clk_src",
4458c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
4468c2ecf20Sopenharmony_ci		.num_parents = 2,
4478c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
4488c2ecf20Sopenharmony_ci	},
4498c2ecf20Sopenharmony_ci};
4508c2ecf20Sopenharmony_ci
4518c2ecf20Sopenharmony_cistatic struct clk_rcg2 csi1_clk_src = {
4528c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4f020,
4538c2ecf20Sopenharmony_ci	.hid_width = 5,
4548c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
4558c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_csi0_1_clk,
4568c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
4578c2ecf20Sopenharmony_ci		.name = "csi1_clk_src",
4588c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
4598c2ecf20Sopenharmony_ci		.num_parents = 2,
4608c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
4618c2ecf20Sopenharmony_ci	},
4628c2ecf20Sopenharmony_ci};
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_oxili_gfx3d_clk[] = {
4658c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
4668c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0_AUX, 16, 0, 0),
4678c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0_AUX, 10, 0, 0),
4688c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0_AUX, 8, 0, 0),
4698c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0_AUX, 5, 0, 0),
4708c2ecf20Sopenharmony_ci	F(177780000, P_GPLL0_AUX, 4.5, 0, 0),
4718c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0_AUX, 4, 0, 0),
4728c2ecf20Sopenharmony_ci	F(266670000, P_GPLL0_AUX, 3, 0, 0),
4738c2ecf20Sopenharmony_ci	F(294912000, P_GPLL1, 3, 0, 0),
4748c2ecf20Sopenharmony_ci	F(310000000, P_GPLL2, 3, 0, 0),
4758c2ecf20Sopenharmony_ci	F(400000000, P_GPLL0_AUX, 2, 0, 0),
4768c2ecf20Sopenharmony_ci	{ }
4778c2ecf20Sopenharmony_ci};
4788c2ecf20Sopenharmony_ci
4798c2ecf20Sopenharmony_cistatic struct clk_rcg2 gfx3d_clk_src = {
4808c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x59000,
4818c2ecf20Sopenharmony_ci	.hid_width = 5,
4828c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0a_gpll1_gpll2a_map,
4838c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_oxili_gfx3d_clk,
4848c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
4858c2ecf20Sopenharmony_ci		.name = "gfx3d_clk_src",
4868c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0a_gpll1_gpll2a,
4878c2ecf20Sopenharmony_ci		.num_parents = 4,
4888c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
4898c2ecf20Sopenharmony_ci	},
4908c2ecf20Sopenharmony_ci};
4918c2ecf20Sopenharmony_ci
4928c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_vfe0_clk[] = {
4938c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
4948c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0, 10, 0, 0),
4958c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
4968c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
4978c2ecf20Sopenharmony_ci	F(177780000, P_GPLL0, 4.5, 0, 0),
4988c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
4998c2ecf20Sopenharmony_ci	F(266670000, P_GPLL0, 3, 0, 0),
5008c2ecf20Sopenharmony_ci	F(320000000, P_GPLL0, 2.5, 0, 0),
5018c2ecf20Sopenharmony_ci	F(400000000, P_GPLL0, 2, 0, 0),
5028c2ecf20Sopenharmony_ci	F(465000000, P_GPLL2, 2, 0, 0),
5038c2ecf20Sopenharmony_ci	{ }
5048c2ecf20Sopenharmony_ci};
5058c2ecf20Sopenharmony_ci
5068c2ecf20Sopenharmony_cistatic struct clk_rcg2 vfe0_clk_src = {
5078c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x58000,
5088c2ecf20Sopenharmony_ci	.hid_width = 5,
5098c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll2_map,
5108c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_vfe0_clk,
5118c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
5128c2ecf20Sopenharmony_ci		.name = "vfe0_clk_src",
5138c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll2,
5148c2ecf20Sopenharmony_ci		.num_parents = 3,
5158c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
5168c2ecf20Sopenharmony_ci	},
5178c2ecf20Sopenharmony_ci};
5188c2ecf20Sopenharmony_ci
5198c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_blsp1_qup1_6_i2c_apps_clk[] = {
5208c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
5218c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
5228c2ecf20Sopenharmony_ci	{ }
5238c2ecf20Sopenharmony_ci};
5248c2ecf20Sopenharmony_ci
5258c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup1_i2c_apps_clk_src = {
5268c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x0200c,
5278c2ecf20Sopenharmony_ci	.hid_width = 5,
5288c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
5298c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk,
5308c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
5318c2ecf20Sopenharmony_ci		.name = "blsp1_qup1_i2c_apps_clk_src",
5328c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
5338c2ecf20Sopenharmony_ci		.num_parents = 2,
5348c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
5358c2ecf20Sopenharmony_ci	},
5368c2ecf20Sopenharmony_ci};
5378c2ecf20Sopenharmony_ci
5388c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_blsp1_qup1_6_spi_apps_clk[] = {
5398c2ecf20Sopenharmony_ci	F(100000, P_XO, 16, 2, 24),
5408c2ecf20Sopenharmony_ci	F(250000, P_XO, 16, 5, 24),
5418c2ecf20Sopenharmony_ci	F(500000, P_XO, 8, 5, 24),
5428c2ecf20Sopenharmony_ci	F(960000, P_XO, 10, 1, 2),
5438c2ecf20Sopenharmony_ci	F(1000000, P_XO, 4, 5, 24),
5448c2ecf20Sopenharmony_ci	F(4800000, P_XO, 4, 0, 0),
5458c2ecf20Sopenharmony_ci	F(9600000, P_XO, 2, 0, 0),
5468c2ecf20Sopenharmony_ci	F(16000000, P_GPLL0, 10, 1, 5),
5478c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
5488c2ecf20Sopenharmony_ci	F(25000000, P_GPLL0, 16, 1, 2),
5498c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
5508c2ecf20Sopenharmony_ci	{ }
5518c2ecf20Sopenharmony_ci};
5528c2ecf20Sopenharmony_ci
5538c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup1_spi_apps_clk_src = {
5548c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x02024,
5558c2ecf20Sopenharmony_ci	.mnd_width = 8,
5568c2ecf20Sopenharmony_ci	.hid_width = 5,
5578c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
5588c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk,
5598c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
5608c2ecf20Sopenharmony_ci		.name = "blsp1_qup1_spi_apps_clk_src",
5618c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
5628c2ecf20Sopenharmony_ci		.num_parents = 2,
5638c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
5648c2ecf20Sopenharmony_ci	},
5658c2ecf20Sopenharmony_ci};
5668c2ecf20Sopenharmony_ci
5678c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup2_i2c_apps_clk_src = {
5688c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x03000,
5698c2ecf20Sopenharmony_ci	.hid_width = 5,
5708c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
5718c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk,
5728c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
5738c2ecf20Sopenharmony_ci		.name = "blsp1_qup2_i2c_apps_clk_src",
5748c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
5758c2ecf20Sopenharmony_ci		.num_parents = 2,
5768c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
5778c2ecf20Sopenharmony_ci	},
5788c2ecf20Sopenharmony_ci};
5798c2ecf20Sopenharmony_ci
5808c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup2_spi_apps_clk_src = {
5818c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x03014,
5828c2ecf20Sopenharmony_ci	.mnd_width = 8,
5838c2ecf20Sopenharmony_ci	.hid_width = 5,
5848c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
5858c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk,
5868c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
5878c2ecf20Sopenharmony_ci		.name = "blsp1_qup2_spi_apps_clk_src",
5888c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
5898c2ecf20Sopenharmony_ci		.num_parents = 2,
5908c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
5918c2ecf20Sopenharmony_ci	},
5928c2ecf20Sopenharmony_ci};
5938c2ecf20Sopenharmony_ci
5948c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup3_i2c_apps_clk_src = {
5958c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x04000,
5968c2ecf20Sopenharmony_ci	.hid_width = 5,
5978c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
5988c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk,
5998c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6008c2ecf20Sopenharmony_ci		.name = "blsp1_qup3_i2c_apps_clk_src",
6018c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
6028c2ecf20Sopenharmony_ci		.num_parents = 2,
6038c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6048c2ecf20Sopenharmony_ci	},
6058c2ecf20Sopenharmony_ci};
6068c2ecf20Sopenharmony_ci
6078c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup3_spi_apps_clk_src = {
6088c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x04024,
6098c2ecf20Sopenharmony_ci	.mnd_width = 8,
6108c2ecf20Sopenharmony_ci	.hid_width = 5,
6118c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
6128c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk,
6138c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6148c2ecf20Sopenharmony_ci		.name = "blsp1_qup3_spi_apps_clk_src",
6158c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
6168c2ecf20Sopenharmony_ci		.num_parents = 2,
6178c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6188c2ecf20Sopenharmony_ci	},
6198c2ecf20Sopenharmony_ci};
6208c2ecf20Sopenharmony_ci
6218c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup4_i2c_apps_clk_src = {
6228c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x05000,
6238c2ecf20Sopenharmony_ci	.hid_width = 5,
6248c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
6258c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk,
6268c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6278c2ecf20Sopenharmony_ci		.name = "blsp1_qup4_i2c_apps_clk_src",
6288c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
6298c2ecf20Sopenharmony_ci		.num_parents = 2,
6308c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6318c2ecf20Sopenharmony_ci	},
6328c2ecf20Sopenharmony_ci};
6338c2ecf20Sopenharmony_ci
6348c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup4_spi_apps_clk_src = {
6358c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x05024,
6368c2ecf20Sopenharmony_ci	.mnd_width = 8,
6378c2ecf20Sopenharmony_ci	.hid_width = 5,
6388c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
6398c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk,
6408c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6418c2ecf20Sopenharmony_ci		.name = "blsp1_qup4_spi_apps_clk_src",
6428c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
6438c2ecf20Sopenharmony_ci		.num_parents = 2,
6448c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6458c2ecf20Sopenharmony_ci	},
6468c2ecf20Sopenharmony_ci};
6478c2ecf20Sopenharmony_ci
6488c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup5_i2c_apps_clk_src = {
6498c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x06000,
6508c2ecf20Sopenharmony_ci	.hid_width = 5,
6518c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
6528c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk,
6538c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6548c2ecf20Sopenharmony_ci		.name = "blsp1_qup5_i2c_apps_clk_src",
6558c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
6568c2ecf20Sopenharmony_ci		.num_parents = 2,
6578c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6588c2ecf20Sopenharmony_ci	},
6598c2ecf20Sopenharmony_ci};
6608c2ecf20Sopenharmony_ci
6618c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup5_spi_apps_clk_src = {
6628c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x06024,
6638c2ecf20Sopenharmony_ci	.mnd_width = 8,
6648c2ecf20Sopenharmony_ci	.hid_width = 5,
6658c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
6668c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk,
6678c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6688c2ecf20Sopenharmony_ci		.name = "blsp1_qup5_spi_apps_clk_src",
6698c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
6708c2ecf20Sopenharmony_ci		.num_parents = 2,
6718c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6728c2ecf20Sopenharmony_ci	},
6738c2ecf20Sopenharmony_ci};
6748c2ecf20Sopenharmony_ci
6758c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup6_i2c_apps_clk_src = {
6768c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x07000,
6778c2ecf20Sopenharmony_ci	.hid_width = 5,
6788c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
6798c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_i2c_apps_clk,
6808c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6818c2ecf20Sopenharmony_ci		.name = "blsp1_qup6_i2c_apps_clk_src",
6828c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
6838c2ecf20Sopenharmony_ci		.num_parents = 2,
6848c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6858c2ecf20Sopenharmony_ci	},
6868c2ecf20Sopenharmony_ci};
6878c2ecf20Sopenharmony_ci
6888c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_qup6_spi_apps_clk_src = {
6898c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x07024,
6908c2ecf20Sopenharmony_ci	.mnd_width = 8,
6918c2ecf20Sopenharmony_ci	.hid_width = 5,
6928c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
6938c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_qup1_6_spi_apps_clk,
6948c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
6958c2ecf20Sopenharmony_ci		.name = "blsp1_qup6_spi_apps_clk_src",
6968c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
6978c2ecf20Sopenharmony_ci		.num_parents = 2,
6988c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
6998c2ecf20Sopenharmony_ci	},
7008c2ecf20Sopenharmony_ci};
7018c2ecf20Sopenharmony_ci
7028c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_blsp1_uart1_6_apps_clk[] = {
7038c2ecf20Sopenharmony_ci	F(3686400, P_GPLL0, 1, 72, 15625),
7048c2ecf20Sopenharmony_ci	F(7372800, P_GPLL0, 1, 144, 15625),
7058c2ecf20Sopenharmony_ci	F(14745600, P_GPLL0, 1, 288, 15625),
7068c2ecf20Sopenharmony_ci	F(16000000, P_GPLL0, 10, 1, 5),
7078c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
7088c2ecf20Sopenharmony_ci	F(24000000, P_GPLL0, 1, 3, 100),
7098c2ecf20Sopenharmony_ci	F(25000000, P_GPLL0, 16, 1, 2),
7108c2ecf20Sopenharmony_ci	F(32000000, P_GPLL0, 1, 1, 25),
7118c2ecf20Sopenharmony_ci	F(40000000, P_GPLL0, 1, 1, 20),
7128c2ecf20Sopenharmony_ci	F(46400000, P_GPLL0, 1, 29, 500),
7138c2ecf20Sopenharmony_ci	F(48000000, P_GPLL0, 1, 3, 50),
7148c2ecf20Sopenharmony_ci	F(51200000, P_GPLL0, 1, 8, 125),
7158c2ecf20Sopenharmony_ci	F(56000000, P_GPLL0, 1, 7, 100),
7168c2ecf20Sopenharmony_ci	F(58982400, P_GPLL0, 1, 1152, 15625),
7178c2ecf20Sopenharmony_ci	F(60000000, P_GPLL0, 1, 3, 40),
7188c2ecf20Sopenharmony_ci	{ }
7198c2ecf20Sopenharmony_ci};
7208c2ecf20Sopenharmony_ci
7218c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_uart1_apps_clk_src = {
7228c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x02044,
7238c2ecf20Sopenharmony_ci	.mnd_width = 16,
7248c2ecf20Sopenharmony_ci	.hid_width = 5,
7258c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
7268c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_uart1_6_apps_clk,
7278c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
7288c2ecf20Sopenharmony_ci		.name = "blsp1_uart1_apps_clk_src",
7298c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
7308c2ecf20Sopenharmony_ci		.num_parents = 2,
7318c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
7328c2ecf20Sopenharmony_ci	},
7338c2ecf20Sopenharmony_ci};
7348c2ecf20Sopenharmony_ci
7358c2ecf20Sopenharmony_cistatic struct clk_rcg2 blsp1_uart2_apps_clk_src = {
7368c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x03034,
7378c2ecf20Sopenharmony_ci	.mnd_width = 16,
7388c2ecf20Sopenharmony_ci	.hid_width = 5,
7398c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
7408c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_blsp1_uart1_6_apps_clk,
7418c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
7428c2ecf20Sopenharmony_ci		.name = "blsp1_uart2_apps_clk_src",
7438c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
7448c2ecf20Sopenharmony_ci		.num_parents = 2,
7458c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
7468c2ecf20Sopenharmony_ci	},
7478c2ecf20Sopenharmony_ci};
7488c2ecf20Sopenharmony_ci
7498c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_cci_clk[] = {
7508c2ecf20Sopenharmony_ci	F(19200000,	P_XO, 1, 0,	0),
7518c2ecf20Sopenharmony_ci	{ }
7528c2ecf20Sopenharmony_ci};
7538c2ecf20Sopenharmony_ci
7548c2ecf20Sopenharmony_cistatic struct clk_rcg2 cci_clk_src = {
7558c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x51000,
7568c2ecf20Sopenharmony_ci	.mnd_width = 8,
7578c2ecf20Sopenharmony_ci	.hid_width = 5,
7588c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0a_map,
7598c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_cci_clk,
7608c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
7618c2ecf20Sopenharmony_ci		.name = "cci_clk_src",
7628c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0a,
7638c2ecf20Sopenharmony_ci		.num_parents = 2,
7648c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
7658c2ecf20Sopenharmony_ci	},
7668c2ecf20Sopenharmony_ci};
7678c2ecf20Sopenharmony_ci
7688c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_gp0_1_clk[] = {
7698c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
7708c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
7718c2ecf20Sopenharmony_ci	{ }
7728c2ecf20Sopenharmony_ci};
7738c2ecf20Sopenharmony_ci
7748c2ecf20Sopenharmony_cistatic struct clk_rcg2 camss_gp0_clk_src = {
7758c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x54000,
7768c2ecf20Sopenharmony_ci	.mnd_width = 8,
7778c2ecf20Sopenharmony_ci	.hid_width = 5,
7788c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_sleep_map,
7798c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_gp0_1_clk,
7808c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
7818c2ecf20Sopenharmony_ci		.name = "camss_gp0_clk_src",
7828c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a_sleep,
7838c2ecf20Sopenharmony_ci		.num_parents = 4,
7848c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
7858c2ecf20Sopenharmony_ci	},
7868c2ecf20Sopenharmony_ci};
7878c2ecf20Sopenharmony_ci
7888c2ecf20Sopenharmony_cistatic struct clk_rcg2 camss_gp1_clk_src = {
7898c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x55000,
7908c2ecf20Sopenharmony_ci	.mnd_width = 8,
7918c2ecf20Sopenharmony_ci	.hid_width = 5,
7928c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_sleep_map,
7938c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_gp0_1_clk,
7948c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
7958c2ecf20Sopenharmony_ci		.name = "camss_gp1_clk_src",
7968c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a_sleep,
7978c2ecf20Sopenharmony_ci		.num_parents = 4,
7988c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
7998c2ecf20Sopenharmony_ci	},
8008c2ecf20Sopenharmony_ci};
8018c2ecf20Sopenharmony_ci
8028c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_jpeg0_clk[] = {
8038c2ecf20Sopenharmony_ci	F(133330000, P_GPLL0, 6, 0,	0),
8048c2ecf20Sopenharmony_ci	F(266670000, P_GPLL0, 3, 0,	0),
8058c2ecf20Sopenharmony_ci	F(320000000, P_GPLL0, 2.5, 0, 0),
8068c2ecf20Sopenharmony_ci	{ }
8078c2ecf20Sopenharmony_ci};
8088c2ecf20Sopenharmony_ci
8098c2ecf20Sopenharmony_cistatic struct clk_rcg2 jpeg0_clk_src = {
8108c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x57000,
8118c2ecf20Sopenharmony_ci	.hid_width = 5,
8128c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
8138c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_jpeg0_clk,
8148c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8158c2ecf20Sopenharmony_ci		.name = "jpeg0_clk_src",
8168c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
8178c2ecf20Sopenharmony_ci		.num_parents = 2,
8188c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8198c2ecf20Sopenharmony_ci	},
8208c2ecf20Sopenharmony_ci};
8218c2ecf20Sopenharmony_ci
8228c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_mclk0_1_clk[] = {
8238c2ecf20Sopenharmony_ci	F(9600000, P_XO, 2, 0, 0),
8248c2ecf20Sopenharmony_ci	F(23880000, P_GPLL0, 1, 2, 67),
8258c2ecf20Sopenharmony_ci	F(66670000, P_GPLL0, 12, 0, 0),
8268c2ecf20Sopenharmony_ci	{ }
8278c2ecf20Sopenharmony_ci};
8288c2ecf20Sopenharmony_ci
8298c2ecf20Sopenharmony_cistatic struct clk_rcg2 mclk0_clk_src = {
8308c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x52000,
8318c2ecf20Sopenharmony_ci	.mnd_width = 8,
8328c2ecf20Sopenharmony_ci	.hid_width = 5,
8338c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_sleep_map,
8348c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_mclk0_1_clk,
8358c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8368c2ecf20Sopenharmony_ci		.name = "mclk0_clk_src",
8378c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a_sleep,
8388c2ecf20Sopenharmony_ci		.num_parents = 4,
8398c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8408c2ecf20Sopenharmony_ci	},
8418c2ecf20Sopenharmony_ci};
8428c2ecf20Sopenharmony_ci
8438c2ecf20Sopenharmony_cistatic struct clk_rcg2 mclk1_clk_src = {
8448c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x53000,
8458c2ecf20Sopenharmony_ci	.mnd_width = 8,
8468c2ecf20Sopenharmony_ci	.hid_width = 5,
8478c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_sleep_map,
8488c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_mclk0_1_clk,
8498c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8508c2ecf20Sopenharmony_ci		.name = "mclk1_clk_src",
8518c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a_sleep,
8528c2ecf20Sopenharmony_ci		.num_parents = 4,
8538c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8548c2ecf20Sopenharmony_ci	},
8558c2ecf20Sopenharmony_ci};
8568c2ecf20Sopenharmony_ci
8578c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_csi0_1phytimer_clk[] = {
8588c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0,	0),
8598c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0,	0),
8608c2ecf20Sopenharmony_ci	{ }
8618c2ecf20Sopenharmony_ci};
8628c2ecf20Sopenharmony_ci
8638c2ecf20Sopenharmony_cistatic struct clk_rcg2 csi0phytimer_clk_src = {
8648c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4e000,
8658c2ecf20Sopenharmony_ci	.hid_width = 5,
8668c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_map,
8678c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_csi0_1phytimer_clk,
8688c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8698c2ecf20Sopenharmony_ci		.name = "csi0phytimer_clk_src",
8708c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a,
8718c2ecf20Sopenharmony_ci		.num_parents = 3,
8728c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8738c2ecf20Sopenharmony_ci	},
8748c2ecf20Sopenharmony_ci};
8758c2ecf20Sopenharmony_ci
8768c2ecf20Sopenharmony_cistatic struct clk_rcg2 csi1phytimer_clk_src = {
8778c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4f000,
8788c2ecf20Sopenharmony_ci	.hid_width = 5,
8798c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_map,
8808c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_csi0_1phytimer_clk,
8818c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
8828c2ecf20Sopenharmony_ci		.name = "csi1phytimer_clk_src",
8838c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a,
8848c2ecf20Sopenharmony_ci		.num_parents = 3,
8858c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
8868c2ecf20Sopenharmony_ci	},
8878c2ecf20Sopenharmony_ci};
8888c2ecf20Sopenharmony_ci
8898c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_camss_cpp_clk[] = {
8908c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
8918c2ecf20Sopenharmony_ci	F(320000000, P_GPLL0, 2.5, 0, 0),
8928c2ecf20Sopenharmony_ci	F(465000000, P_GPLL2, 2, 0, 0),
8938c2ecf20Sopenharmony_ci	{ }
8948c2ecf20Sopenharmony_ci};
8958c2ecf20Sopenharmony_ci
8968c2ecf20Sopenharmony_cistatic struct clk_rcg2 cpp_clk_src = {
8978c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x58018,
8988c2ecf20Sopenharmony_ci	.hid_width = 5,
8998c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll2_map,
9008c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_camss_cpp_clk,
9018c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
9028c2ecf20Sopenharmony_ci		.name = "cpp_clk_src",
9038c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll2,
9048c2ecf20Sopenharmony_ci		.num_parents = 3,
9058c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
9068c2ecf20Sopenharmony_ci	},
9078c2ecf20Sopenharmony_ci};
9088c2ecf20Sopenharmony_ci
9098c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_crypto_clk[] = {
9108c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
9118c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0, 10, 0, 0),
9128c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
9138c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
9148c2ecf20Sopenharmony_ci	{ }
9158c2ecf20Sopenharmony_ci};
9168c2ecf20Sopenharmony_ci
9178c2ecf20Sopenharmony_cistatic struct clk_rcg2 crypto_clk_src = {
9188c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x16004,
9198c2ecf20Sopenharmony_ci	.hid_width = 5,
9208c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
9218c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_crypto_clk,
9228c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
9238c2ecf20Sopenharmony_ci		.name = "crypto_clk_src",
9248c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
9258c2ecf20Sopenharmony_ci		.num_parents = 2,
9268c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
9278c2ecf20Sopenharmony_ci	},
9288c2ecf20Sopenharmony_ci};
9298c2ecf20Sopenharmony_ci
9308c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_gp1_3_clk[] = {
9318c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0,	0),
9328c2ecf20Sopenharmony_ci	{ }
9338c2ecf20Sopenharmony_ci};
9348c2ecf20Sopenharmony_ci
9358c2ecf20Sopenharmony_cistatic struct clk_rcg2 gp1_clk_src = {
9368c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x08004,
9378c2ecf20Sopenharmony_ci	.mnd_width = 8,
9388c2ecf20Sopenharmony_ci	.hid_width = 5,
9398c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_sleep_map,
9408c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_gp1_3_clk,
9418c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
9428c2ecf20Sopenharmony_ci		.name = "gp1_clk_src",
9438c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a_sleep,
9448c2ecf20Sopenharmony_ci		.num_parents = 3,
9458c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
9468c2ecf20Sopenharmony_ci	},
9478c2ecf20Sopenharmony_ci};
9488c2ecf20Sopenharmony_ci
9498c2ecf20Sopenharmony_cistatic struct clk_rcg2 gp2_clk_src = {
9508c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x09004,
9518c2ecf20Sopenharmony_ci	.mnd_width = 8,
9528c2ecf20Sopenharmony_ci	.hid_width = 5,
9538c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_sleep_map,
9548c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_gp1_3_clk,
9558c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
9568c2ecf20Sopenharmony_ci		.name = "gp2_clk_src",
9578c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a_sleep,
9588c2ecf20Sopenharmony_ci		.num_parents = 3,
9598c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
9608c2ecf20Sopenharmony_ci	},
9618c2ecf20Sopenharmony_ci};
9628c2ecf20Sopenharmony_ci
9638c2ecf20Sopenharmony_cistatic struct clk_rcg2 gp3_clk_src = {
9648c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x0a004,
9658c2ecf20Sopenharmony_ci	.mnd_width = 8,
9668c2ecf20Sopenharmony_ci	.hid_width = 5,
9678c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1a_sleep_map,
9688c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_gp1_3_clk,
9698c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
9708c2ecf20Sopenharmony_ci		.name = "gp3_clk_src",
9718c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1a_sleep,
9728c2ecf20Sopenharmony_ci		.num_parents = 3,
9738c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
9748c2ecf20Sopenharmony_ci	},
9758c2ecf20Sopenharmony_ci};
9768c2ecf20Sopenharmony_ci
9778c2ecf20Sopenharmony_cistatic struct clk_rcg2 byte0_clk_src = {
9788c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4d044,
9798c2ecf20Sopenharmony_ci	.hid_width = 5,
9808c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0a_dsibyte_map,
9818c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
9828c2ecf20Sopenharmony_ci		.name = "byte0_clk_src",
9838c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0a_dsibyte,
9848c2ecf20Sopenharmony_ci		.num_parents = 3,
9858c2ecf20Sopenharmony_ci		.ops = &clk_byte2_ops,
9868c2ecf20Sopenharmony_ci		.flags = CLK_SET_RATE_PARENT,
9878c2ecf20Sopenharmony_ci	},
9888c2ecf20Sopenharmony_ci};
9898c2ecf20Sopenharmony_ci
9908c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_mdss_esc0_clk[] = {
9918c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
9928c2ecf20Sopenharmony_ci	{ }
9938c2ecf20Sopenharmony_ci};
9948c2ecf20Sopenharmony_ci
9958c2ecf20Sopenharmony_cistatic struct clk_rcg2 esc0_clk_src = {
9968c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4d05c,
9978c2ecf20Sopenharmony_ci	.hid_width = 5,
9988c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_dsibyte_map,
9998c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_mdss_esc0_clk,
10008c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
10018c2ecf20Sopenharmony_ci		.name = "esc0_clk_src",
10028c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_dsibyte,
10038c2ecf20Sopenharmony_ci		.num_parents = 2,
10048c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
10058c2ecf20Sopenharmony_ci	},
10068c2ecf20Sopenharmony_ci};
10078c2ecf20Sopenharmony_ci
10088c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_mdss_mdp_clk[] = {
10098c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
10108c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0, 10, 0, 0),
10118c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
10128c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
10138c2ecf20Sopenharmony_ci	F(177780000, P_GPLL0, 4.5, 0, 0),
10148c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
10158c2ecf20Sopenharmony_ci	F(266670000, P_GPLL0, 3, 0, 0),
10168c2ecf20Sopenharmony_ci	F(320000000, P_GPLL0, 2.5, 0, 0),
10178c2ecf20Sopenharmony_ci	{ }
10188c2ecf20Sopenharmony_ci};
10198c2ecf20Sopenharmony_ci
10208c2ecf20Sopenharmony_cistatic struct clk_rcg2 mdp_clk_src = {
10218c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4d014,
10228c2ecf20Sopenharmony_ci	.hid_width = 5,
10238c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_dsiphy_map,
10248c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_mdss_mdp_clk,
10258c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
10268c2ecf20Sopenharmony_ci		.name = "mdp_clk_src",
10278c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_dsiphy,
10288c2ecf20Sopenharmony_ci		.num_parents = 3,
10298c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
10308c2ecf20Sopenharmony_ci	},
10318c2ecf20Sopenharmony_ci};
10328c2ecf20Sopenharmony_ci
10338c2ecf20Sopenharmony_cistatic struct clk_rcg2 pclk0_clk_src = {
10348c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4d000,
10358c2ecf20Sopenharmony_ci	.mnd_width = 8,
10368c2ecf20Sopenharmony_ci	.hid_width = 5,
10378c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0a_dsiphy_map,
10388c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
10398c2ecf20Sopenharmony_ci		.name = "pclk0_clk_src",
10408c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0a_dsiphy,
10418c2ecf20Sopenharmony_ci		.num_parents = 3,
10428c2ecf20Sopenharmony_ci		.ops = &clk_pixel_ops,
10438c2ecf20Sopenharmony_ci		.flags = CLK_SET_RATE_PARENT,
10448c2ecf20Sopenharmony_ci	},
10458c2ecf20Sopenharmony_ci};
10468c2ecf20Sopenharmony_ci
10478c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_mdss_vsync_clk[] = {
10488c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0,	0),
10498c2ecf20Sopenharmony_ci	{ }
10508c2ecf20Sopenharmony_ci};
10518c2ecf20Sopenharmony_ci
10528c2ecf20Sopenharmony_cistatic struct clk_rcg2 vsync_clk_src = {
10538c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4d02c,
10548c2ecf20Sopenharmony_ci	.hid_width = 5,
10558c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0a_map,
10568c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_mdss_vsync_clk,
10578c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
10588c2ecf20Sopenharmony_ci		.name = "vsync_clk_src",
10598c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0a,
10608c2ecf20Sopenharmony_ci		.num_parents = 2,
10618c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
10628c2ecf20Sopenharmony_ci	},
10638c2ecf20Sopenharmony_ci};
10648c2ecf20Sopenharmony_ci
10658c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_pdm2_clk[] = {
10668c2ecf20Sopenharmony_ci	F(64000000, P_GPLL0, 12.5, 0, 0),
10678c2ecf20Sopenharmony_ci	{ }
10688c2ecf20Sopenharmony_ci};
10698c2ecf20Sopenharmony_ci
10708c2ecf20Sopenharmony_cistatic struct clk_rcg2 pdm2_clk_src = {
10718c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x44010,
10728c2ecf20Sopenharmony_ci	.hid_width = 5,
10738c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
10748c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_pdm2_clk,
10758c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
10768c2ecf20Sopenharmony_ci		.name = "pdm2_clk_src",
10778c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
10788c2ecf20Sopenharmony_ci		.num_parents = 2,
10798c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
10808c2ecf20Sopenharmony_ci	},
10818c2ecf20Sopenharmony_ci};
10828c2ecf20Sopenharmony_ci
10838c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_sdcc1_apps_clk[] = {
10848c2ecf20Sopenharmony_ci	F(144000, P_XO, 16, 3, 25),
10858c2ecf20Sopenharmony_ci	F(400000, P_XO, 12, 1, 4),
10868c2ecf20Sopenharmony_ci	F(20000000, P_GPLL0, 10, 1, 4),
10878c2ecf20Sopenharmony_ci	F(25000000, P_GPLL0, 16, 1, 2),
10888c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
10898c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
10908c2ecf20Sopenharmony_ci	F(177770000, P_GPLL0, 4.5, 0, 0),
10918c2ecf20Sopenharmony_ci	{ }
10928c2ecf20Sopenharmony_ci};
10938c2ecf20Sopenharmony_ci
10948c2ecf20Sopenharmony_cistatic struct clk_rcg2 sdcc1_apps_clk_src = {
10958c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x42004,
10968c2ecf20Sopenharmony_ci	.mnd_width = 8,
10978c2ecf20Sopenharmony_ci	.hid_width = 5,
10988c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
10998c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_sdcc1_apps_clk,
11008c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11018c2ecf20Sopenharmony_ci		.name = "sdcc1_apps_clk_src",
11028c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
11038c2ecf20Sopenharmony_ci		.num_parents = 2,
11048c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_floor_ops,
11058c2ecf20Sopenharmony_ci	},
11068c2ecf20Sopenharmony_ci};
11078c2ecf20Sopenharmony_ci
11088c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_sdcc2_apps_clk[] = {
11098c2ecf20Sopenharmony_ci	F(144000, P_XO, 16, 3, 25),
11108c2ecf20Sopenharmony_ci	F(400000, P_XO, 12, 1, 4),
11118c2ecf20Sopenharmony_ci	F(20000000, P_GPLL0, 10, 1, 4),
11128c2ecf20Sopenharmony_ci	F(25000000, P_GPLL0, 16, 1, 2),
11138c2ecf20Sopenharmony_ci	F(50000000, P_GPLL0, 16, 0, 0),
11148c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
11158c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
11168c2ecf20Sopenharmony_ci	{ }
11178c2ecf20Sopenharmony_ci};
11188c2ecf20Sopenharmony_ci
11198c2ecf20Sopenharmony_cistatic struct clk_rcg2 sdcc2_apps_clk_src = {
11208c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x43004,
11218c2ecf20Sopenharmony_ci	.mnd_width = 8,
11228c2ecf20Sopenharmony_ci	.hid_width = 5,
11238c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
11248c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_sdcc2_apps_clk,
11258c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11268c2ecf20Sopenharmony_ci		.name = "sdcc2_apps_clk_src",
11278c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
11288c2ecf20Sopenharmony_ci		.num_parents = 2,
11298c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_floor_ops,
11308c2ecf20Sopenharmony_ci	},
11318c2ecf20Sopenharmony_ci};
11328c2ecf20Sopenharmony_ci
11338c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_apss_tcu_clk[] = {
11348c2ecf20Sopenharmony_ci	F(155000000, P_GPLL2, 6, 0, 0),
11358c2ecf20Sopenharmony_ci	F(310000000, P_GPLL2, 3, 0, 0),
11368c2ecf20Sopenharmony_ci	F(400000000, P_GPLL0, 2, 0, 0),
11378c2ecf20Sopenharmony_ci	{ }
11388c2ecf20Sopenharmony_ci};
11398c2ecf20Sopenharmony_ci
11408c2ecf20Sopenharmony_cistatic struct clk_rcg2 apss_tcu_clk_src = {
11418c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1207c,
11428c2ecf20Sopenharmony_ci	.hid_width = 5,
11438c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0a_gpll1_gpll2_map,
11448c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_apss_tcu_clk,
11458c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11468c2ecf20Sopenharmony_ci		.name = "apss_tcu_clk_src",
11478c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0a_gpll1_gpll2,
11488c2ecf20Sopenharmony_ci		.num_parents = 4,
11498c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
11508c2ecf20Sopenharmony_ci	},
11518c2ecf20Sopenharmony_ci};
11528c2ecf20Sopenharmony_ci
11538c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_bimc_gpu_clk[] = {
11548c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
11558c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
11568c2ecf20Sopenharmony_ci	F(200000000, P_GPLL0, 4, 0, 0),
11578c2ecf20Sopenharmony_ci	F(266500000, P_BIMC, 4, 0, 0),
11588c2ecf20Sopenharmony_ci	F(400000000, P_GPLL0, 2, 0, 0),
11598c2ecf20Sopenharmony_ci	F(533000000, P_BIMC, 2, 0, 0),
11608c2ecf20Sopenharmony_ci	{ }
11618c2ecf20Sopenharmony_ci};
11628c2ecf20Sopenharmony_ci
11638c2ecf20Sopenharmony_cistatic struct clk_rcg2 bimc_gpu_clk_src = {
11648c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x31028,
11658c2ecf20Sopenharmony_ci	.hid_width = 5,
11668c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_bimc_map,
11678c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_bimc_gpu_clk,
11688c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11698c2ecf20Sopenharmony_ci		.name = "bimc_gpu_clk_src",
11708c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_bimc,
11718c2ecf20Sopenharmony_ci		.num_parents = 3,
11728c2ecf20Sopenharmony_ci		.flags = CLK_GET_RATE_NOCACHE,
11738c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
11748c2ecf20Sopenharmony_ci	},
11758c2ecf20Sopenharmony_ci};
11768c2ecf20Sopenharmony_ci
11778c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_usb_hs_system_clk[] = {
11788c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0, 10, 0, 0),
11798c2ecf20Sopenharmony_ci	{ }
11808c2ecf20Sopenharmony_ci};
11818c2ecf20Sopenharmony_ci
11828c2ecf20Sopenharmony_cistatic struct clk_rcg2 usb_hs_system_clk_src = {
11838c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x41010,
11848c2ecf20Sopenharmony_ci	.hid_width = 5,
11858c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
11868c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_usb_hs_system_clk,
11878c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
11888c2ecf20Sopenharmony_ci		.name = "usb_hs_system_clk_src",
11898c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
11908c2ecf20Sopenharmony_ci		.num_parents = 2,
11918c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
11928c2ecf20Sopenharmony_ci	},
11938c2ecf20Sopenharmony_ci};
11948c2ecf20Sopenharmony_ci
11958c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_ultaudio_ahb_clk[] = {
11968c2ecf20Sopenharmony_ci	F(3200000, P_XO, 6, 0, 0),
11978c2ecf20Sopenharmony_ci	F(6400000, P_XO, 3, 0, 0),
11988c2ecf20Sopenharmony_ci	F(9600000, P_XO, 2, 0, 0),
11998c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
12008c2ecf20Sopenharmony_ci	F(40000000, P_GPLL0, 10, 1, 2),
12018c2ecf20Sopenharmony_ci	F(66670000, P_GPLL0, 12, 0, 0),
12028c2ecf20Sopenharmony_ci	F(80000000, P_GPLL0, 10, 0, 0),
12038c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
12048c2ecf20Sopenharmony_ci	{ }
12058c2ecf20Sopenharmony_ci};
12068c2ecf20Sopenharmony_ci
12078c2ecf20Sopenharmony_cistatic struct clk_rcg2 ultaudio_ahbfabric_clk_src = {
12088c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1c010,
12098c2ecf20Sopenharmony_ci	.hid_width = 5,
12108c2ecf20Sopenharmony_ci	.mnd_width = 8,
12118c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_gpll1_sleep_map,
12128c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_ultaudio_ahb_clk,
12138c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12148c2ecf20Sopenharmony_ci		.name = "ultaudio_ahbfabric_clk_src",
12158c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_gpll1_sleep,
12168c2ecf20Sopenharmony_ci		.num_parents = 4,
12178c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12188c2ecf20Sopenharmony_ci	},
12198c2ecf20Sopenharmony_ci};
12208c2ecf20Sopenharmony_ci
12218c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_ahbfabric_ixfabric_clk = {
12228c2ecf20Sopenharmony_ci	.halt_reg = 0x1c028,
12238c2ecf20Sopenharmony_ci	.clkr = {
12248c2ecf20Sopenharmony_ci		.enable_reg = 0x1c028,
12258c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
12268c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
12278c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_ahbfabric_ixfabric_clk",
12288c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
12298c2ecf20Sopenharmony_ci				"ultaudio_ahbfabric_clk_src",
12308c2ecf20Sopenharmony_ci			},
12318c2ecf20Sopenharmony_ci			.num_parents = 1,
12328c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
12338c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
12348c2ecf20Sopenharmony_ci		},
12358c2ecf20Sopenharmony_ci	},
12368c2ecf20Sopenharmony_ci};
12378c2ecf20Sopenharmony_ci
12388c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_ahbfabric_ixfabric_lpm_clk = {
12398c2ecf20Sopenharmony_ci	.halt_reg = 0x1c024,
12408c2ecf20Sopenharmony_ci	.clkr = {
12418c2ecf20Sopenharmony_ci		.enable_reg = 0x1c024,
12428c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
12438c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
12448c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_ahbfabric_ixfabric_lpm_clk",
12458c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
12468c2ecf20Sopenharmony_ci				"ultaudio_ahbfabric_clk_src",
12478c2ecf20Sopenharmony_ci			},
12488c2ecf20Sopenharmony_ci			.num_parents = 1,
12498c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
12508c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
12518c2ecf20Sopenharmony_ci		},
12528c2ecf20Sopenharmony_ci	},
12538c2ecf20Sopenharmony_ci};
12548c2ecf20Sopenharmony_ci
12558c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_ultaudio_lpaif_i2s_clk[] = {
12568c2ecf20Sopenharmony_ci	F(128000, P_XO, 10, 1, 15),
12578c2ecf20Sopenharmony_ci	F(256000, P_XO, 5, 1, 15),
12588c2ecf20Sopenharmony_ci	F(384000, P_XO, 5, 1, 10),
12598c2ecf20Sopenharmony_ci	F(512000, P_XO, 5, 2, 15),
12608c2ecf20Sopenharmony_ci	F(576000, P_XO, 5, 3, 20),
12618c2ecf20Sopenharmony_ci	F(705600, P_GPLL1, 16, 1, 80),
12628c2ecf20Sopenharmony_ci	F(768000, P_XO, 5, 1, 5),
12638c2ecf20Sopenharmony_ci	F(800000, P_XO, 5, 5, 24),
12648c2ecf20Sopenharmony_ci	F(1024000, P_XO, 5, 4, 15),
12658c2ecf20Sopenharmony_ci	F(1152000, P_XO, 1, 3, 50),
12668c2ecf20Sopenharmony_ci	F(1411200, P_GPLL1, 16, 1, 40),
12678c2ecf20Sopenharmony_ci	F(1536000, P_XO, 1, 2, 25),
12688c2ecf20Sopenharmony_ci	F(1600000, P_XO, 12, 0, 0),
12698c2ecf20Sopenharmony_ci	F(1728000, P_XO, 5, 9, 20),
12708c2ecf20Sopenharmony_ci	F(2048000, P_XO, 5, 8, 15),
12718c2ecf20Sopenharmony_ci	F(2304000, P_XO, 5, 3, 5),
12728c2ecf20Sopenharmony_ci	F(2400000, P_XO, 8, 0, 0),
12738c2ecf20Sopenharmony_ci	F(2822400, P_GPLL1, 16, 1, 20),
12748c2ecf20Sopenharmony_ci	F(3072000, P_XO, 5, 4, 5),
12758c2ecf20Sopenharmony_ci	F(4096000, P_GPLL1, 9, 2, 49),
12768c2ecf20Sopenharmony_ci	F(4800000, P_XO, 4, 0, 0),
12778c2ecf20Sopenharmony_ci	F(5644800, P_GPLL1, 16, 1, 10),
12788c2ecf20Sopenharmony_ci	F(6144000, P_GPLL1, 7, 1, 21),
12798c2ecf20Sopenharmony_ci	F(8192000, P_GPLL1, 9, 4, 49),
12808c2ecf20Sopenharmony_ci	F(9600000, P_XO, 2, 0, 0),
12818c2ecf20Sopenharmony_ci	F(11289600, P_GPLL1, 16, 1, 5),
12828c2ecf20Sopenharmony_ci	F(12288000, P_GPLL1, 7, 2, 21),
12838c2ecf20Sopenharmony_ci	{ }
12848c2ecf20Sopenharmony_ci};
12858c2ecf20Sopenharmony_ci
12868c2ecf20Sopenharmony_cistatic struct clk_rcg2 ultaudio_lpaif_pri_i2s_clk_src = {
12878c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1c054,
12888c2ecf20Sopenharmony_ci	.hid_width = 5,
12898c2ecf20Sopenharmony_ci	.mnd_width = 8,
12908c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll1_epi2s_emclk_sleep_map,
12918c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_ultaudio_lpaif_i2s_clk,
12928c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
12938c2ecf20Sopenharmony_ci		.name = "ultaudio_lpaif_pri_i2s_clk_src",
12948c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll1_epi2s_emclk_sleep,
12958c2ecf20Sopenharmony_ci		.num_parents = 5,
12968c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
12978c2ecf20Sopenharmony_ci	},
12988c2ecf20Sopenharmony_ci};
12998c2ecf20Sopenharmony_ci
13008c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_lpaif_pri_i2s_clk = {
13018c2ecf20Sopenharmony_ci	.halt_reg = 0x1c068,
13028c2ecf20Sopenharmony_ci	.clkr = {
13038c2ecf20Sopenharmony_ci		.enable_reg = 0x1c068,
13048c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
13058c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
13068c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_lpaif_pri_i2s_clk",
13078c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
13088c2ecf20Sopenharmony_ci				"ultaudio_lpaif_pri_i2s_clk_src",
13098c2ecf20Sopenharmony_ci			},
13108c2ecf20Sopenharmony_ci			.num_parents = 1,
13118c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
13128c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
13138c2ecf20Sopenharmony_ci		},
13148c2ecf20Sopenharmony_ci	},
13158c2ecf20Sopenharmony_ci};
13168c2ecf20Sopenharmony_ci
13178c2ecf20Sopenharmony_cistatic struct clk_rcg2 ultaudio_lpaif_sec_i2s_clk_src = {
13188c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1c06c,
13198c2ecf20Sopenharmony_ci	.hid_width = 5,
13208c2ecf20Sopenharmony_ci	.mnd_width = 8,
13218c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll1_esi2s_emclk_sleep_map,
13228c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_ultaudio_lpaif_i2s_clk,
13238c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13248c2ecf20Sopenharmony_ci		.name = "ultaudio_lpaif_sec_i2s_clk_src",
13258c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll1_esi2s_emclk_sleep,
13268c2ecf20Sopenharmony_ci		.num_parents = 5,
13278c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13288c2ecf20Sopenharmony_ci	},
13298c2ecf20Sopenharmony_ci};
13308c2ecf20Sopenharmony_ci
13318c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_lpaif_sec_i2s_clk = {
13328c2ecf20Sopenharmony_ci	.halt_reg = 0x1c080,
13338c2ecf20Sopenharmony_ci	.clkr = {
13348c2ecf20Sopenharmony_ci		.enable_reg = 0x1c080,
13358c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
13368c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
13378c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_lpaif_sec_i2s_clk",
13388c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
13398c2ecf20Sopenharmony_ci				"ultaudio_lpaif_sec_i2s_clk_src",
13408c2ecf20Sopenharmony_ci			},
13418c2ecf20Sopenharmony_ci			.num_parents = 1,
13428c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
13438c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
13448c2ecf20Sopenharmony_ci		},
13458c2ecf20Sopenharmony_ci	},
13468c2ecf20Sopenharmony_ci};
13478c2ecf20Sopenharmony_ci
13488c2ecf20Sopenharmony_cistatic struct clk_rcg2 ultaudio_lpaif_aux_i2s_clk_src = {
13498c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1c084,
13508c2ecf20Sopenharmony_ci	.hid_width = 5,
13518c2ecf20Sopenharmony_ci	.mnd_width = 8,
13528c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll1_emclk_sleep_map,
13538c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_ultaudio_lpaif_i2s_clk,
13548c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13558c2ecf20Sopenharmony_ci		.name = "ultaudio_lpaif_aux_i2s_clk_src",
13568c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll1_esi2s_emclk_sleep,
13578c2ecf20Sopenharmony_ci		.num_parents = 5,
13588c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13598c2ecf20Sopenharmony_ci	},
13608c2ecf20Sopenharmony_ci};
13618c2ecf20Sopenharmony_ci
13628c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_lpaif_aux_i2s_clk = {
13638c2ecf20Sopenharmony_ci	.halt_reg = 0x1c098,
13648c2ecf20Sopenharmony_ci	.clkr = {
13658c2ecf20Sopenharmony_ci		.enable_reg = 0x1c098,
13668c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
13678c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
13688c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_lpaif_aux_i2s_clk",
13698c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
13708c2ecf20Sopenharmony_ci				"ultaudio_lpaif_aux_i2s_clk_src",
13718c2ecf20Sopenharmony_ci			},
13728c2ecf20Sopenharmony_ci			.num_parents = 1,
13738c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
13748c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
13758c2ecf20Sopenharmony_ci		},
13768c2ecf20Sopenharmony_ci	},
13778c2ecf20Sopenharmony_ci};
13788c2ecf20Sopenharmony_ci
13798c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_ultaudio_xo_clk[] = {
13808c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
13818c2ecf20Sopenharmony_ci	{ }
13828c2ecf20Sopenharmony_ci};
13838c2ecf20Sopenharmony_ci
13848c2ecf20Sopenharmony_cistatic struct clk_rcg2 ultaudio_xo_clk_src = {
13858c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1c034,
13868c2ecf20Sopenharmony_ci	.hid_width = 5,
13878c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_sleep_map,
13888c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_ultaudio_xo_clk,
13898c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
13908c2ecf20Sopenharmony_ci		.name = "ultaudio_xo_clk_src",
13918c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_sleep,
13928c2ecf20Sopenharmony_ci		.num_parents = 2,
13938c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
13948c2ecf20Sopenharmony_ci	},
13958c2ecf20Sopenharmony_ci};
13968c2ecf20Sopenharmony_ci
13978c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_avsync_xo_clk = {
13988c2ecf20Sopenharmony_ci	.halt_reg = 0x1c04c,
13998c2ecf20Sopenharmony_ci	.clkr = {
14008c2ecf20Sopenharmony_ci		.enable_reg = 0x1c04c,
14018c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
14028c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
14038c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_avsync_xo_clk",
14048c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
14058c2ecf20Sopenharmony_ci				"ultaudio_xo_clk_src",
14068c2ecf20Sopenharmony_ci			},
14078c2ecf20Sopenharmony_ci			.num_parents = 1,
14088c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
14098c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
14108c2ecf20Sopenharmony_ci		},
14118c2ecf20Sopenharmony_ci	},
14128c2ecf20Sopenharmony_ci};
14138c2ecf20Sopenharmony_ci
14148c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_stc_xo_clk = {
14158c2ecf20Sopenharmony_ci	.halt_reg = 0x1c050,
14168c2ecf20Sopenharmony_ci	.clkr = {
14178c2ecf20Sopenharmony_ci		.enable_reg = 0x1c050,
14188c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
14198c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
14208c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_stc_xo_clk",
14218c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
14228c2ecf20Sopenharmony_ci				"ultaudio_xo_clk_src",
14238c2ecf20Sopenharmony_ci			},
14248c2ecf20Sopenharmony_ci			.num_parents = 1,
14258c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
14268c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
14278c2ecf20Sopenharmony_ci		},
14288c2ecf20Sopenharmony_ci	},
14298c2ecf20Sopenharmony_ci};
14308c2ecf20Sopenharmony_ci
14318c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_codec_clk[] = {
14328c2ecf20Sopenharmony_ci	F(9600000, P_XO, 2, 0, 0),
14338c2ecf20Sopenharmony_ci	F(12288000, P_XO, 1, 16, 25),
14348c2ecf20Sopenharmony_ci	F(19200000, P_XO, 1, 0, 0),
14358c2ecf20Sopenharmony_ci	F(11289600, P_EXT_MCLK, 1, 0, 0),
14368c2ecf20Sopenharmony_ci	{ }
14378c2ecf20Sopenharmony_ci};
14388c2ecf20Sopenharmony_ci
14398c2ecf20Sopenharmony_cistatic struct clk_rcg2 codec_digcodec_clk_src = {
14408c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x1c09c,
14418c2ecf20Sopenharmony_ci	.mnd_width = 8,
14428c2ecf20Sopenharmony_ci	.hid_width = 5,
14438c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll1_emclk_sleep_map,
14448c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_codec_clk,
14458c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
14468c2ecf20Sopenharmony_ci		.name = "codec_digcodec_clk_src",
14478c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll1_emclk_sleep,
14488c2ecf20Sopenharmony_ci		.num_parents = 4,
14498c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
14508c2ecf20Sopenharmony_ci	},
14518c2ecf20Sopenharmony_ci};
14528c2ecf20Sopenharmony_ci
14538c2ecf20Sopenharmony_cistatic struct clk_branch gcc_codec_digcodec_clk = {
14548c2ecf20Sopenharmony_ci	.halt_reg = 0x1c0b0,
14558c2ecf20Sopenharmony_ci	.clkr = {
14568c2ecf20Sopenharmony_ci		.enable_reg = 0x1c0b0,
14578c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
14588c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
14598c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_codec_digcodec_clk",
14608c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
14618c2ecf20Sopenharmony_ci				"codec_digcodec_clk_src",
14628c2ecf20Sopenharmony_ci			},
14638c2ecf20Sopenharmony_ci			.num_parents = 1,
14648c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
14658c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
14668c2ecf20Sopenharmony_ci		},
14678c2ecf20Sopenharmony_ci	},
14688c2ecf20Sopenharmony_ci};
14698c2ecf20Sopenharmony_ci
14708c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_pcnoc_mport_clk = {
14718c2ecf20Sopenharmony_ci	.halt_reg = 0x1c000,
14728c2ecf20Sopenharmony_ci	.clkr = {
14738c2ecf20Sopenharmony_ci		.enable_reg = 0x1c000,
14748c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
14758c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
14768c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_pcnoc_mport_clk",
14778c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
14788c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
14798c2ecf20Sopenharmony_ci			},
14808c2ecf20Sopenharmony_ci			.num_parents = 1,
14818c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
14828c2ecf20Sopenharmony_ci		},
14838c2ecf20Sopenharmony_ci	},
14848c2ecf20Sopenharmony_ci};
14858c2ecf20Sopenharmony_ci
14868c2ecf20Sopenharmony_cistatic struct clk_branch gcc_ultaudio_pcnoc_sway_clk = {
14878c2ecf20Sopenharmony_ci	.halt_reg = 0x1c004,
14888c2ecf20Sopenharmony_ci	.clkr = {
14898c2ecf20Sopenharmony_ci		.enable_reg = 0x1c004,
14908c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
14918c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
14928c2ecf20Sopenharmony_ci			.name = "gcc_ultaudio_pcnoc_sway_clk",
14938c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
14948c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
14958c2ecf20Sopenharmony_ci			},
14968c2ecf20Sopenharmony_ci			.num_parents = 1,
14978c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
14988c2ecf20Sopenharmony_ci		},
14998c2ecf20Sopenharmony_ci	},
15008c2ecf20Sopenharmony_ci};
15018c2ecf20Sopenharmony_ci
15028c2ecf20Sopenharmony_cistatic const struct freq_tbl ftbl_gcc_venus0_vcodec0_clk[] = {
15038c2ecf20Sopenharmony_ci	F(100000000, P_GPLL0, 8, 0, 0),
15048c2ecf20Sopenharmony_ci	F(160000000, P_GPLL0, 5, 0, 0),
15058c2ecf20Sopenharmony_ci	F(228570000, P_GPLL0, 3.5, 0, 0),
15068c2ecf20Sopenharmony_ci	{ }
15078c2ecf20Sopenharmony_ci};
15088c2ecf20Sopenharmony_ci
15098c2ecf20Sopenharmony_cistatic struct clk_rcg2 vcodec0_clk_src = {
15108c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x4C000,
15118c2ecf20Sopenharmony_ci	.mnd_width = 8,
15128c2ecf20Sopenharmony_ci	.hid_width = 5,
15138c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_map,
15148c2ecf20Sopenharmony_ci	.freq_tbl = ftbl_gcc_venus0_vcodec0_clk,
15158c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
15168c2ecf20Sopenharmony_ci		.name = "vcodec0_clk_src",
15178c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0,
15188c2ecf20Sopenharmony_ci		.num_parents = 2,
15198c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
15208c2ecf20Sopenharmony_ci	},
15218c2ecf20Sopenharmony_ci};
15228c2ecf20Sopenharmony_ci
15238c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_ahb_clk = {
15248c2ecf20Sopenharmony_ci	.halt_reg = 0x01008,
15258c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
15268c2ecf20Sopenharmony_ci	.clkr = {
15278c2ecf20Sopenharmony_ci		.enable_reg = 0x45004,
15288c2ecf20Sopenharmony_ci		.enable_mask = BIT(10),
15298c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
15308c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_ahb_clk",
15318c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
15328c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
15338c2ecf20Sopenharmony_ci			},
15348c2ecf20Sopenharmony_ci			.num_parents = 1,
15358c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
15368c2ecf20Sopenharmony_ci		},
15378c2ecf20Sopenharmony_ci	},
15388c2ecf20Sopenharmony_ci};
15398c2ecf20Sopenharmony_ci
15408c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_sleep_clk = {
15418c2ecf20Sopenharmony_ci	.halt_reg = 0x01004,
15428c2ecf20Sopenharmony_ci	.clkr = {
15438c2ecf20Sopenharmony_ci		.enable_reg = 0x01004,
15448c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
15458c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
15468c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_sleep_clk",
15478c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
15488c2ecf20Sopenharmony_ci				"sleep_clk_src",
15498c2ecf20Sopenharmony_ci			},
15508c2ecf20Sopenharmony_ci			.num_parents = 1,
15518c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
15528c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
15538c2ecf20Sopenharmony_ci		},
15548c2ecf20Sopenharmony_ci	},
15558c2ecf20Sopenharmony_ci};
15568c2ecf20Sopenharmony_ci
15578c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup1_i2c_apps_clk = {
15588c2ecf20Sopenharmony_ci	.halt_reg = 0x02008,
15598c2ecf20Sopenharmony_ci	.clkr = {
15608c2ecf20Sopenharmony_ci		.enable_reg = 0x02008,
15618c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
15628c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
15638c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup1_i2c_apps_clk",
15648c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
15658c2ecf20Sopenharmony_ci				"blsp1_qup1_i2c_apps_clk_src",
15668c2ecf20Sopenharmony_ci			},
15678c2ecf20Sopenharmony_ci			.num_parents = 1,
15688c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
15698c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
15708c2ecf20Sopenharmony_ci		},
15718c2ecf20Sopenharmony_ci	},
15728c2ecf20Sopenharmony_ci};
15738c2ecf20Sopenharmony_ci
15748c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup1_spi_apps_clk = {
15758c2ecf20Sopenharmony_ci	.halt_reg = 0x02004,
15768c2ecf20Sopenharmony_ci	.clkr = {
15778c2ecf20Sopenharmony_ci		.enable_reg = 0x02004,
15788c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
15798c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
15808c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup1_spi_apps_clk",
15818c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
15828c2ecf20Sopenharmony_ci				"blsp1_qup1_spi_apps_clk_src",
15838c2ecf20Sopenharmony_ci			},
15848c2ecf20Sopenharmony_ci			.num_parents = 1,
15858c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
15868c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
15878c2ecf20Sopenharmony_ci		},
15888c2ecf20Sopenharmony_ci	},
15898c2ecf20Sopenharmony_ci};
15908c2ecf20Sopenharmony_ci
15918c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup2_i2c_apps_clk = {
15928c2ecf20Sopenharmony_ci	.halt_reg = 0x03010,
15938c2ecf20Sopenharmony_ci	.clkr = {
15948c2ecf20Sopenharmony_ci		.enable_reg = 0x03010,
15958c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
15968c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
15978c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup2_i2c_apps_clk",
15988c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
15998c2ecf20Sopenharmony_ci				"blsp1_qup2_i2c_apps_clk_src",
16008c2ecf20Sopenharmony_ci			},
16018c2ecf20Sopenharmony_ci			.num_parents = 1,
16028c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
16038c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
16048c2ecf20Sopenharmony_ci		},
16058c2ecf20Sopenharmony_ci	},
16068c2ecf20Sopenharmony_ci};
16078c2ecf20Sopenharmony_ci
16088c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup2_spi_apps_clk = {
16098c2ecf20Sopenharmony_ci	.halt_reg = 0x0300c,
16108c2ecf20Sopenharmony_ci	.clkr = {
16118c2ecf20Sopenharmony_ci		.enable_reg = 0x0300c,
16128c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
16138c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
16148c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup2_spi_apps_clk",
16158c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
16168c2ecf20Sopenharmony_ci				"blsp1_qup2_spi_apps_clk_src",
16178c2ecf20Sopenharmony_ci			},
16188c2ecf20Sopenharmony_ci			.num_parents = 1,
16198c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
16208c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
16218c2ecf20Sopenharmony_ci		},
16228c2ecf20Sopenharmony_ci	},
16238c2ecf20Sopenharmony_ci};
16248c2ecf20Sopenharmony_ci
16258c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup3_i2c_apps_clk = {
16268c2ecf20Sopenharmony_ci	.halt_reg = 0x04020,
16278c2ecf20Sopenharmony_ci	.clkr = {
16288c2ecf20Sopenharmony_ci		.enable_reg = 0x04020,
16298c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
16308c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
16318c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup3_i2c_apps_clk",
16328c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
16338c2ecf20Sopenharmony_ci				"blsp1_qup3_i2c_apps_clk_src",
16348c2ecf20Sopenharmony_ci			},
16358c2ecf20Sopenharmony_ci			.num_parents = 1,
16368c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
16378c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
16388c2ecf20Sopenharmony_ci		},
16398c2ecf20Sopenharmony_ci	},
16408c2ecf20Sopenharmony_ci};
16418c2ecf20Sopenharmony_ci
16428c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup3_spi_apps_clk = {
16438c2ecf20Sopenharmony_ci	.halt_reg = 0x0401c,
16448c2ecf20Sopenharmony_ci	.clkr = {
16458c2ecf20Sopenharmony_ci		.enable_reg = 0x0401c,
16468c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
16478c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
16488c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup3_spi_apps_clk",
16498c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
16508c2ecf20Sopenharmony_ci				"blsp1_qup3_spi_apps_clk_src",
16518c2ecf20Sopenharmony_ci			},
16528c2ecf20Sopenharmony_ci			.num_parents = 1,
16538c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
16548c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
16558c2ecf20Sopenharmony_ci		},
16568c2ecf20Sopenharmony_ci	},
16578c2ecf20Sopenharmony_ci};
16588c2ecf20Sopenharmony_ci
16598c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup4_i2c_apps_clk = {
16608c2ecf20Sopenharmony_ci	.halt_reg = 0x05020,
16618c2ecf20Sopenharmony_ci	.clkr = {
16628c2ecf20Sopenharmony_ci		.enable_reg = 0x05020,
16638c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
16648c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
16658c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup4_i2c_apps_clk",
16668c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
16678c2ecf20Sopenharmony_ci				"blsp1_qup4_i2c_apps_clk_src",
16688c2ecf20Sopenharmony_ci			},
16698c2ecf20Sopenharmony_ci			.num_parents = 1,
16708c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
16718c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
16728c2ecf20Sopenharmony_ci		},
16738c2ecf20Sopenharmony_ci	},
16748c2ecf20Sopenharmony_ci};
16758c2ecf20Sopenharmony_ci
16768c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup4_spi_apps_clk = {
16778c2ecf20Sopenharmony_ci	.halt_reg = 0x0501c,
16788c2ecf20Sopenharmony_ci	.clkr = {
16798c2ecf20Sopenharmony_ci		.enable_reg = 0x0501c,
16808c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
16818c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
16828c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup4_spi_apps_clk",
16838c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
16848c2ecf20Sopenharmony_ci				"blsp1_qup4_spi_apps_clk_src",
16858c2ecf20Sopenharmony_ci			},
16868c2ecf20Sopenharmony_ci			.num_parents = 1,
16878c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
16888c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
16898c2ecf20Sopenharmony_ci		},
16908c2ecf20Sopenharmony_ci	},
16918c2ecf20Sopenharmony_ci};
16928c2ecf20Sopenharmony_ci
16938c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup5_i2c_apps_clk = {
16948c2ecf20Sopenharmony_ci	.halt_reg = 0x06020,
16958c2ecf20Sopenharmony_ci	.clkr = {
16968c2ecf20Sopenharmony_ci		.enable_reg = 0x06020,
16978c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
16988c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
16998c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup5_i2c_apps_clk",
17008c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
17018c2ecf20Sopenharmony_ci				"blsp1_qup5_i2c_apps_clk_src",
17028c2ecf20Sopenharmony_ci			},
17038c2ecf20Sopenharmony_ci			.num_parents = 1,
17048c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
17058c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
17068c2ecf20Sopenharmony_ci		},
17078c2ecf20Sopenharmony_ci	},
17088c2ecf20Sopenharmony_ci};
17098c2ecf20Sopenharmony_ci
17108c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup5_spi_apps_clk = {
17118c2ecf20Sopenharmony_ci	.halt_reg = 0x0601c,
17128c2ecf20Sopenharmony_ci	.clkr = {
17138c2ecf20Sopenharmony_ci		.enable_reg = 0x0601c,
17148c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
17158c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
17168c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup5_spi_apps_clk",
17178c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
17188c2ecf20Sopenharmony_ci				"blsp1_qup5_spi_apps_clk_src",
17198c2ecf20Sopenharmony_ci			},
17208c2ecf20Sopenharmony_ci			.num_parents = 1,
17218c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
17228c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
17238c2ecf20Sopenharmony_ci		},
17248c2ecf20Sopenharmony_ci	},
17258c2ecf20Sopenharmony_ci};
17268c2ecf20Sopenharmony_ci
17278c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup6_i2c_apps_clk = {
17288c2ecf20Sopenharmony_ci	.halt_reg = 0x07020,
17298c2ecf20Sopenharmony_ci	.clkr = {
17308c2ecf20Sopenharmony_ci		.enable_reg = 0x07020,
17318c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
17328c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
17338c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup6_i2c_apps_clk",
17348c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
17358c2ecf20Sopenharmony_ci				"blsp1_qup6_i2c_apps_clk_src",
17368c2ecf20Sopenharmony_ci			},
17378c2ecf20Sopenharmony_ci			.num_parents = 1,
17388c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
17398c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
17408c2ecf20Sopenharmony_ci		},
17418c2ecf20Sopenharmony_ci	},
17428c2ecf20Sopenharmony_ci};
17438c2ecf20Sopenharmony_ci
17448c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_qup6_spi_apps_clk = {
17458c2ecf20Sopenharmony_ci	.halt_reg = 0x0701c,
17468c2ecf20Sopenharmony_ci	.clkr = {
17478c2ecf20Sopenharmony_ci		.enable_reg = 0x0701c,
17488c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
17498c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
17508c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_qup6_spi_apps_clk",
17518c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
17528c2ecf20Sopenharmony_ci				"blsp1_qup6_spi_apps_clk_src",
17538c2ecf20Sopenharmony_ci			},
17548c2ecf20Sopenharmony_ci			.num_parents = 1,
17558c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
17568c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
17578c2ecf20Sopenharmony_ci		},
17588c2ecf20Sopenharmony_ci	},
17598c2ecf20Sopenharmony_ci};
17608c2ecf20Sopenharmony_ci
17618c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_uart1_apps_clk = {
17628c2ecf20Sopenharmony_ci	.halt_reg = 0x0203c,
17638c2ecf20Sopenharmony_ci	.clkr = {
17648c2ecf20Sopenharmony_ci		.enable_reg = 0x0203c,
17658c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
17668c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
17678c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_uart1_apps_clk",
17688c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
17698c2ecf20Sopenharmony_ci				"blsp1_uart1_apps_clk_src",
17708c2ecf20Sopenharmony_ci			},
17718c2ecf20Sopenharmony_ci			.num_parents = 1,
17728c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
17738c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
17748c2ecf20Sopenharmony_ci		},
17758c2ecf20Sopenharmony_ci	},
17768c2ecf20Sopenharmony_ci};
17778c2ecf20Sopenharmony_ci
17788c2ecf20Sopenharmony_cistatic struct clk_branch gcc_blsp1_uart2_apps_clk = {
17798c2ecf20Sopenharmony_ci	.halt_reg = 0x0302c,
17808c2ecf20Sopenharmony_ci	.clkr = {
17818c2ecf20Sopenharmony_ci		.enable_reg = 0x0302c,
17828c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
17838c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
17848c2ecf20Sopenharmony_ci			.name = "gcc_blsp1_uart2_apps_clk",
17858c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
17868c2ecf20Sopenharmony_ci				"blsp1_uart2_apps_clk_src",
17878c2ecf20Sopenharmony_ci			},
17888c2ecf20Sopenharmony_ci			.num_parents = 1,
17898c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
17908c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
17918c2ecf20Sopenharmony_ci		},
17928c2ecf20Sopenharmony_ci	},
17938c2ecf20Sopenharmony_ci};
17948c2ecf20Sopenharmony_ci
17958c2ecf20Sopenharmony_cistatic struct clk_branch gcc_boot_rom_ahb_clk = {
17968c2ecf20Sopenharmony_ci	.halt_reg = 0x1300c,
17978c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
17988c2ecf20Sopenharmony_ci	.clkr = {
17998c2ecf20Sopenharmony_ci		.enable_reg = 0x45004,
18008c2ecf20Sopenharmony_ci		.enable_mask = BIT(7),
18018c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
18028c2ecf20Sopenharmony_ci			.name = "gcc_boot_rom_ahb_clk",
18038c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
18048c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
18058c2ecf20Sopenharmony_ci			},
18068c2ecf20Sopenharmony_ci			.num_parents = 1,
18078c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
18088c2ecf20Sopenharmony_ci		},
18098c2ecf20Sopenharmony_ci	},
18108c2ecf20Sopenharmony_ci};
18118c2ecf20Sopenharmony_ci
18128c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_cci_ahb_clk = {
18138c2ecf20Sopenharmony_ci	.halt_reg = 0x5101c,
18148c2ecf20Sopenharmony_ci	.clkr = {
18158c2ecf20Sopenharmony_ci		.enable_reg = 0x5101c,
18168c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
18178c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
18188c2ecf20Sopenharmony_ci			.name = "gcc_camss_cci_ahb_clk",
18198c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
18208c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
18218c2ecf20Sopenharmony_ci			},
18228c2ecf20Sopenharmony_ci			.num_parents = 1,
18238c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
18248c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
18258c2ecf20Sopenharmony_ci		},
18268c2ecf20Sopenharmony_ci	},
18278c2ecf20Sopenharmony_ci};
18288c2ecf20Sopenharmony_ci
18298c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_cci_clk = {
18308c2ecf20Sopenharmony_ci	.halt_reg = 0x51018,
18318c2ecf20Sopenharmony_ci	.clkr = {
18328c2ecf20Sopenharmony_ci		.enable_reg = 0x51018,
18338c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
18348c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
18358c2ecf20Sopenharmony_ci			.name = "gcc_camss_cci_clk",
18368c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
18378c2ecf20Sopenharmony_ci				"cci_clk_src",
18388c2ecf20Sopenharmony_ci			},
18398c2ecf20Sopenharmony_ci			.num_parents = 1,
18408c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
18418c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
18428c2ecf20Sopenharmony_ci		},
18438c2ecf20Sopenharmony_ci	},
18448c2ecf20Sopenharmony_ci};
18458c2ecf20Sopenharmony_ci
18468c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi0_ahb_clk = {
18478c2ecf20Sopenharmony_ci	.halt_reg = 0x4e040,
18488c2ecf20Sopenharmony_ci	.clkr = {
18498c2ecf20Sopenharmony_ci		.enable_reg = 0x4e040,
18508c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
18518c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
18528c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi0_ahb_clk",
18538c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
18548c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
18558c2ecf20Sopenharmony_ci			},
18568c2ecf20Sopenharmony_ci			.num_parents = 1,
18578c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
18588c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
18598c2ecf20Sopenharmony_ci		},
18608c2ecf20Sopenharmony_ci	},
18618c2ecf20Sopenharmony_ci};
18628c2ecf20Sopenharmony_ci
18638c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi0_clk = {
18648c2ecf20Sopenharmony_ci	.halt_reg = 0x4e03c,
18658c2ecf20Sopenharmony_ci	.clkr = {
18668c2ecf20Sopenharmony_ci		.enable_reg = 0x4e03c,
18678c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
18688c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
18698c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi0_clk",
18708c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
18718c2ecf20Sopenharmony_ci				"csi0_clk_src",
18728c2ecf20Sopenharmony_ci			},
18738c2ecf20Sopenharmony_ci			.num_parents = 1,
18748c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
18758c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
18768c2ecf20Sopenharmony_ci		},
18778c2ecf20Sopenharmony_ci	},
18788c2ecf20Sopenharmony_ci};
18798c2ecf20Sopenharmony_ci
18808c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi0phy_clk = {
18818c2ecf20Sopenharmony_ci	.halt_reg = 0x4e048,
18828c2ecf20Sopenharmony_ci	.clkr = {
18838c2ecf20Sopenharmony_ci		.enable_reg = 0x4e048,
18848c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
18858c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
18868c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi0phy_clk",
18878c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
18888c2ecf20Sopenharmony_ci				"csi0_clk_src",
18898c2ecf20Sopenharmony_ci			},
18908c2ecf20Sopenharmony_ci			.num_parents = 1,
18918c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
18928c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
18938c2ecf20Sopenharmony_ci		},
18948c2ecf20Sopenharmony_ci	},
18958c2ecf20Sopenharmony_ci};
18968c2ecf20Sopenharmony_ci
18978c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi0pix_clk = {
18988c2ecf20Sopenharmony_ci	.halt_reg = 0x4e058,
18998c2ecf20Sopenharmony_ci	.clkr = {
19008c2ecf20Sopenharmony_ci		.enable_reg = 0x4e058,
19018c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
19028c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19038c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi0pix_clk",
19048c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
19058c2ecf20Sopenharmony_ci				"csi0_clk_src",
19068c2ecf20Sopenharmony_ci			},
19078c2ecf20Sopenharmony_ci			.num_parents = 1,
19088c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19098c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19108c2ecf20Sopenharmony_ci		},
19118c2ecf20Sopenharmony_ci	},
19128c2ecf20Sopenharmony_ci};
19138c2ecf20Sopenharmony_ci
19148c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi0rdi_clk = {
19158c2ecf20Sopenharmony_ci	.halt_reg = 0x4e050,
19168c2ecf20Sopenharmony_ci	.clkr = {
19178c2ecf20Sopenharmony_ci		.enable_reg = 0x4e050,
19188c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
19198c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19208c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi0rdi_clk",
19218c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
19228c2ecf20Sopenharmony_ci				"csi0_clk_src",
19238c2ecf20Sopenharmony_ci			},
19248c2ecf20Sopenharmony_ci			.num_parents = 1,
19258c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19268c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19278c2ecf20Sopenharmony_ci		},
19288c2ecf20Sopenharmony_ci	},
19298c2ecf20Sopenharmony_ci};
19308c2ecf20Sopenharmony_ci
19318c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi1_ahb_clk = {
19328c2ecf20Sopenharmony_ci	.halt_reg = 0x4f040,
19338c2ecf20Sopenharmony_ci	.clkr = {
19348c2ecf20Sopenharmony_ci		.enable_reg = 0x4f040,
19358c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
19368c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19378c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi1_ahb_clk",
19388c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
19398c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
19408c2ecf20Sopenharmony_ci			},
19418c2ecf20Sopenharmony_ci			.num_parents = 1,
19428c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19438c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19448c2ecf20Sopenharmony_ci		},
19458c2ecf20Sopenharmony_ci	},
19468c2ecf20Sopenharmony_ci};
19478c2ecf20Sopenharmony_ci
19488c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi1_clk = {
19498c2ecf20Sopenharmony_ci	.halt_reg = 0x4f03c,
19508c2ecf20Sopenharmony_ci	.clkr = {
19518c2ecf20Sopenharmony_ci		.enable_reg = 0x4f03c,
19528c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
19538c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19548c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi1_clk",
19558c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
19568c2ecf20Sopenharmony_ci				"csi1_clk_src",
19578c2ecf20Sopenharmony_ci			},
19588c2ecf20Sopenharmony_ci			.num_parents = 1,
19598c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19608c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19618c2ecf20Sopenharmony_ci		},
19628c2ecf20Sopenharmony_ci	},
19638c2ecf20Sopenharmony_ci};
19648c2ecf20Sopenharmony_ci
19658c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi1phy_clk = {
19668c2ecf20Sopenharmony_ci	.halt_reg = 0x4f048,
19678c2ecf20Sopenharmony_ci	.clkr = {
19688c2ecf20Sopenharmony_ci		.enable_reg = 0x4f048,
19698c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
19708c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19718c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi1phy_clk",
19728c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
19738c2ecf20Sopenharmony_ci				"csi1_clk_src",
19748c2ecf20Sopenharmony_ci			},
19758c2ecf20Sopenharmony_ci			.num_parents = 1,
19768c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19778c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19788c2ecf20Sopenharmony_ci		},
19798c2ecf20Sopenharmony_ci	},
19808c2ecf20Sopenharmony_ci};
19818c2ecf20Sopenharmony_ci
19828c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi1pix_clk = {
19838c2ecf20Sopenharmony_ci	.halt_reg = 0x4f058,
19848c2ecf20Sopenharmony_ci	.clkr = {
19858c2ecf20Sopenharmony_ci		.enable_reg = 0x4f058,
19868c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
19878c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
19888c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi1pix_clk",
19898c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
19908c2ecf20Sopenharmony_ci				"csi1_clk_src",
19918c2ecf20Sopenharmony_ci			},
19928c2ecf20Sopenharmony_ci			.num_parents = 1,
19938c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
19948c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
19958c2ecf20Sopenharmony_ci		},
19968c2ecf20Sopenharmony_ci	},
19978c2ecf20Sopenharmony_ci};
19988c2ecf20Sopenharmony_ci
19998c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi1rdi_clk = {
20008c2ecf20Sopenharmony_ci	.halt_reg = 0x4f050,
20018c2ecf20Sopenharmony_ci	.clkr = {
20028c2ecf20Sopenharmony_ci		.enable_reg = 0x4f050,
20038c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20048c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20058c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi1rdi_clk",
20068c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
20078c2ecf20Sopenharmony_ci				"csi1_clk_src",
20088c2ecf20Sopenharmony_ci			},
20098c2ecf20Sopenharmony_ci			.num_parents = 1,
20108c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20118c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20128c2ecf20Sopenharmony_ci		},
20138c2ecf20Sopenharmony_ci	},
20148c2ecf20Sopenharmony_ci};
20158c2ecf20Sopenharmony_ci
20168c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi_vfe0_clk = {
20178c2ecf20Sopenharmony_ci	.halt_reg = 0x58050,
20188c2ecf20Sopenharmony_ci	.clkr = {
20198c2ecf20Sopenharmony_ci		.enable_reg = 0x58050,
20208c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20218c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20228c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi_vfe0_clk",
20238c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
20248c2ecf20Sopenharmony_ci				"vfe0_clk_src",
20258c2ecf20Sopenharmony_ci			},
20268c2ecf20Sopenharmony_ci			.num_parents = 1,
20278c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20288c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20298c2ecf20Sopenharmony_ci		},
20308c2ecf20Sopenharmony_ci	},
20318c2ecf20Sopenharmony_ci};
20328c2ecf20Sopenharmony_ci
20338c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_gp0_clk = {
20348c2ecf20Sopenharmony_ci	.halt_reg = 0x54018,
20358c2ecf20Sopenharmony_ci	.clkr = {
20368c2ecf20Sopenharmony_ci		.enable_reg = 0x54018,
20378c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20388c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20398c2ecf20Sopenharmony_ci			.name = "gcc_camss_gp0_clk",
20408c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
20418c2ecf20Sopenharmony_ci				"camss_gp0_clk_src",
20428c2ecf20Sopenharmony_ci			},
20438c2ecf20Sopenharmony_ci			.num_parents = 1,
20448c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20458c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20468c2ecf20Sopenharmony_ci		},
20478c2ecf20Sopenharmony_ci	},
20488c2ecf20Sopenharmony_ci};
20498c2ecf20Sopenharmony_ci
20508c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_gp1_clk = {
20518c2ecf20Sopenharmony_ci	.halt_reg = 0x55018,
20528c2ecf20Sopenharmony_ci	.clkr = {
20538c2ecf20Sopenharmony_ci		.enable_reg = 0x55018,
20548c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20558c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20568c2ecf20Sopenharmony_ci			.name = "gcc_camss_gp1_clk",
20578c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
20588c2ecf20Sopenharmony_ci				"camss_gp1_clk_src",
20598c2ecf20Sopenharmony_ci			},
20608c2ecf20Sopenharmony_ci			.num_parents = 1,
20618c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20628c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20638c2ecf20Sopenharmony_ci		},
20648c2ecf20Sopenharmony_ci	},
20658c2ecf20Sopenharmony_ci};
20668c2ecf20Sopenharmony_ci
20678c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_ispif_ahb_clk = {
20688c2ecf20Sopenharmony_ci	.halt_reg = 0x50004,
20698c2ecf20Sopenharmony_ci	.clkr = {
20708c2ecf20Sopenharmony_ci		.enable_reg = 0x50004,
20718c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20728c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20738c2ecf20Sopenharmony_ci			.name = "gcc_camss_ispif_ahb_clk",
20748c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
20758c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
20768c2ecf20Sopenharmony_ci			},
20778c2ecf20Sopenharmony_ci			.num_parents = 1,
20788c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20798c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20808c2ecf20Sopenharmony_ci		},
20818c2ecf20Sopenharmony_ci	},
20828c2ecf20Sopenharmony_ci};
20838c2ecf20Sopenharmony_ci
20848c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_jpeg0_clk = {
20858c2ecf20Sopenharmony_ci	.halt_reg = 0x57020,
20868c2ecf20Sopenharmony_ci	.clkr = {
20878c2ecf20Sopenharmony_ci		.enable_reg = 0x57020,
20888c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
20898c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
20908c2ecf20Sopenharmony_ci			.name = "gcc_camss_jpeg0_clk",
20918c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
20928c2ecf20Sopenharmony_ci				"jpeg0_clk_src",
20938c2ecf20Sopenharmony_ci			},
20948c2ecf20Sopenharmony_ci			.num_parents = 1,
20958c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
20968c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
20978c2ecf20Sopenharmony_ci		},
20988c2ecf20Sopenharmony_ci	},
20998c2ecf20Sopenharmony_ci};
21008c2ecf20Sopenharmony_ci
21018c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_jpeg_ahb_clk = {
21028c2ecf20Sopenharmony_ci	.halt_reg = 0x57024,
21038c2ecf20Sopenharmony_ci	.clkr = {
21048c2ecf20Sopenharmony_ci		.enable_reg = 0x57024,
21058c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21068c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21078c2ecf20Sopenharmony_ci			.name = "gcc_camss_jpeg_ahb_clk",
21088c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
21098c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
21108c2ecf20Sopenharmony_ci			},
21118c2ecf20Sopenharmony_ci			.num_parents = 1,
21128c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21138c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21148c2ecf20Sopenharmony_ci		},
21158c2ecf20Sopenharmony_ci	},
21168c2ecf20Sopenharmony_ci};
21178c2ecf20Sopenharmony_ci
21188c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_jpeg_axi_clk = {
21198c2ecf20Sopenharmony_ci	.halt_reg = 0x57028,
21208c2ecf20Sopenharmony_ci	.clkr = {
21218c2ecf20Sopenharmony_ci		.enable_reg = 0x57028,
21228c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21238c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21248c2ecf20Sopenharmony_ci			.name = "gcc_camss_jpeg_axi_clk",
21258c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
21268c2ecf20Sopenharmony_ci				"system_noc_bfdcd_clk_src",
21278c2ecf20Sopenharmony_ci			},
21288c2ecf20Sopenharmony_ci			.num_parents = 1,
21298c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21308c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21318c2ecf20Sopenharmony_ci		},
21328c2ecf20Sopenharmony_ci	},
21338c2ecf20Sopenharmony_ci};
21348c2ecf20Sopenharmony_ci
21358c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_mclk0_clk = {
21368c2ecf20Sopenharmony_ci	.halt_reg = 0x52018,
21378c2ecf20Sopenharmony_ci	.clkr = {
21388c2ecf20Sopenharmony_ci		.enable_reg = 0x52018,
21398c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21408c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21418c2ecf20Sopenharmony_ci			.name = "gcc_camss_mclk0_clk",
21428c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
21438c2ecf20Sopenharmony_ci				"mclk0_clk_src",
21448c2ecf20Sopenharmony_ci			},
21458c2ecf20Sopenharmony_ci			.num_parents = 1,
21468c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21478c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21488c2ecf20Sopenharmony_ci		},
21498c2ecf20Sopenharmony_ci	},
21508c2ecf20Sopenharmony_ci};
21518c2ecf20Sopenharmony_ci
21528c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_mclk1_clk = {
21538c2ecf20Sopenharmony_ci	.halt_reg = 0x53018,
21548c2ecf20Sopenharmony_ci	.clkr = {
21558c2ecf20Sopenharmony_ci		.enable_reg = 0x53018,
21568c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21578c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21588c2ecf20Sopenharmony_ci			.name = "gcc_camss_mclk1_clk",
21598c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
21608c2ecf20Sopenharmony_ci				"mclk1_clk_src",
21618c2ecf20Sopenharmony_ci			},
21628c2ecf20Sopenharmony_ci			.num_parents = 1,
21638c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21648c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21658c2ecf20Sopenharmony_ci		},
21668c2ecf20Sopenharmony_ci	},
21678c2ecf20Sopenharmony_ci};
21688c2ecf20Sopenharmony_ci
21698c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_micro_ahb_clk = {
21708c2ecf20Sopenharmony_ci	.halt_reg = 0x5600c,
21718c2ecf20Sopenharmony_ci	.clkr = {
21728c2ecf20Sopenharmony_ci		.enable_reg = 0x5600c,
21738c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21748c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21758c2ecf20Sopenharmony_ci			.name = "gcc_camss_micro_ahb_clk",
21768c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
21778c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
21788c2ecf20Sopenharmony_ci			},
21798c2ecf20Sopenharmony_ci			.num_parents = 1,
21808c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21818c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21828c2ecf20Sopenharmony_ci		},
21838c2ecf20Sopenharmony_ci	},
21848c2ecf20Sopenharmony_ci};
21858c2ecf20Sopenharmony_ci
21868c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi0phytimer_clk = {
21878c2ecf20Sopenharmony_ci	.halt_reg = 0x4e01c,
21888c2ecf20Sopenharmony_ci	.clkr = {
21898c2ecf20Sopenharmony_ci		.enable_reg = 0x4e01c,
21908c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
21918c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
21928c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi0phytimer_clk",
21938c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
21948c2ecf20Sopenharmony_ci				"csi0phytimer_clk_src",
21958c2ecf20Sopenharmony_ci			},
21968c2ecf20Sopenharmony_ci			.num_parents = 1,
21978c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
21988c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
21998c2ecf20Sopenharmony_ci		},
22008c2ecf20Sopenharmony_ci	},
22018c2ecf20Sopenharmony_ci};
22028c2ecf20Sopenharmony_ci
22038c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_csi1phytimer_clk = {
22048c2ecf20Sopenharmony_ci	.halt_reg = 0x4f01c,
22058c2ecf20Sopenharmony_ci	.clkr = {
22068c2ecf20Sopenharmony_ci		.enable_reg = 0x4f01c,
22078c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22088c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22098c2ecf20Sopenharmony_ci			.name = "gcc_camss_csi1phytimer_clk",
22108c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
22118c2ecf20Sopenharmony_ci				"csi1phytimer_clk_src",
22128c2ecf20Sopenharmony_ci			},
22138c2ecf20Sopenharmony_ci			.num_parents = 1,
22148c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22158c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22168c2ecf20Sopenharmony_ci		},
22178c2ecf20Sopenharmony_ci	},
22188c2ecf20Sopenharmony_ci};
22198c2ecf20Sopenharmony_ci
22208c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_ahb_clk = {
22218c2ecf20Sopenharmony_ci	.halt_reg = 0x5a014,
22228c2ecf20Sopenharmony_ci	.clkr = {
22238c2ecf20Sopenharmony_ci		.enable_reg = 0x5a014,
22248c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22258c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22268c2ecf20Sopenharmony_ci			.name = "gcc_camss_ahb_clk",
22278c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
22288c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
22298c2ecf20Sopenharmony_ci			},
22308c2ecf20Sopenharmony_ci			.num_parents = 1,
22318c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22328c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22338c2ecf20Sopenharmony_ci		},
22348c2ecf20Sopenharmony_ci	},
22358c2ecf20Sopenharmony_ci};
22368c2ecf20Sopenharmony_ci
22378c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_top_ahb_clk = {
22388c2ecf20Sopenharmony_ci	.halt_reg = 0x56004,
22398c2ecf20Sopenharmony_ci	.clkr = {
22408c2ecf20Sopenharmony_ci		.enable_reg = 0x56004,
22418c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22428c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22438c2ecf20Sopenharmony_ci			.name = "gcc_camss_top_ahb_clk",
22448c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
22458c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
22468c2ecf20Sopenharmony_ci			},
22478c2ecf20Sopenharmony_ci			.num_parents = 1,
22488c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22498c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22508c2ecf20Sopenharmony_ci		},
22518c2ecf20Sopenharmony_ci	},
22528c2ecf20Sopenharmony_ci};
22538c2ecf20Sopenharmony_ci
22548c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_cpp_ahb_clk = {
22558c2ecf20Sopenharmony_ci	.halt_reg = 0x58040,
22568c2ecf20Sopenharmony_ci	.clkr = {
22578c2ecf20Sopenharmony_ci		.enable_reg = 0x58040,
22588c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22598c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22608c2ecf20Sopenharmony_ci			.name = "gcc_camss_cpp_ahb_clk",
22618c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
22628c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
22638c2ecf20Sopenharmony_ci			},
22648c2ecf20Sopenharmony_ci			.num_parents = 1,
22658c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22668c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22678c2ecf20Sopenharmony_ci		},
22688c2ecf20Sopenharmony_ci	},
22698c2ecf20Sopenharmony_ci};
22708c2ecf20Sopenharmony_ci
22718c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_cpp_clk = {
22728c2ecf20Sopenharmony_ci	.halt_reg = 0x5803c,
22738c2ecf20Sopenharmony_ci	.clkr = {
22748c2ecf20Sopenharmony_ci		.enable_reg = 0x5803c,
22758c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22768c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22778c2ecf20Sopenharmony_ci			.name = "gcc_camss_cpp_clk",
22788c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
22798c2ecf20Sopenharmony_ci				"cpp_clk_src",
22808c2ecf20Sopenharmony_ci			},
22818c2ecf20Sopenharmony_ci			.num_parents = 1,
22828c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
22838c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
22848c2ecf20Sopenharmony_ci		},
22858c2ecf20Sopenharmony_ci	},
22868c2ecf20Sopenharmony_ci};
22878c2ecf20Sopenharmony_ci
22888c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_vfe0_clk = {
22898c2ecf20Sopenharmony_ci	.halt_reg = 0x58038,
22908c2ecf20Sopenharmony_ci	.clkr = {
22918c2ecf20Sopenharmony_ci		.enable_reg = 0x58038,
22928c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
22938c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
22948c2ecf20Sopenharmony_ci			.name = "gcc_camss_vfe0_clk",
22958c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
22968c2ecf20Sopenharmony_ci				"vfe0_clk_src",
22978c2ecf20Sopenharmony_ci			},
22988c2ecf20Sopenharmony_ci			.num_parents = 1,
22998c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23008c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23018c2ecf20Sopenharmony_ci		},
23028c2ecf20Sopenharmony_ci	},
23038c2ecf20Sopenharmony_ci};
23048c2ecf20Sopenharmony_ci
23058c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_vfe_ahb_clk = {
23068c2ecf20Sopenharmony_ci	.halt_reg = 0x58044,
23078c2ecf20Sopenharmony_ci	.clkr = {
23088c2ecf20Sopenharmony_ci		.enable_reg = 0x58044,
23098c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23108c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23118c2ecf20Sopenharmony_ci			.name = "gcc_camss_vfe_ahb_clk",
23128c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
23138c2ecf20Sopenharmony_ci				"camss_ahb_clk_src",
23148c2ecf20Sopenharmony_ci			},
23158c2ecf20Sopenharmony_ci			.num_parents = 1,
23168c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23178c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23188c2ecf20Sopenharmony_ci		},
23198c2ecf20Sopenharmony_ci	},
23208c2ecf20Sopenharmony_ci};
23218c2ecf20Sopenharmony_ci
23228c2ecf20Sopenharmony_cistatic struct clk_branch gcc_camss_vfe_axi_clk = {
23238c2ecf20Sopenharmony_ci	.halt_reg = 0x58048,
23248c2ecf20Sopenharmony_ci	.clkr = {
23258c2ecf20Sopenharmony_ci		.enable_reg = 0x58048,
23268c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23278c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23288c2ecf20Sopenharmony_ci			.name = "gcc_camss_vfe_axi_clk",
23298c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
23308c2ecf20Sopenharmony_ci				"system_noc_bfdcd_clk_src",
23318c2ecf20Sopenharmony_ci			},
23328c2ecf20Sopenharmony_ci			.num_parents = 1,
23338c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23348c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23358c2ecf20Sopenharmony_ci		},
23368c2ecf20Sopenharmony_ci	},
23378c2ecf20Sopenharmony_ci};
23388c2ecf20Sopenharmony_ci
23398c2ecf20Sopenharmony_cistatic struct clk_branch gcc_crypto_ahb_clk = {
23408c2ecf20Sopenharmony_ci	.halt_reg = 0x16024,
23418c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
23428c2ecf20Sopenharmony_ci	.clkr = {
23438c2ecf20Sopenharmony_ci		.enable_reg = 0x45004,
23448c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23458c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23468c2ecf20Sopenharmony_ci			.name = "gcc_crypto_ahb_clk",
23478c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
23488c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
23498c2ecf20Sopenharmony_ci			},
23508c2ecf20Sopenharmony_ci			.num_parents = 1,
23518c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23528c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23538c2ecf20Sopenharmony_ci		},
23548c2ecf20Sopenharmony_ci	},
23558c2ecf20Sopenharmony_ci};
23568c2ecf20Sopenharmony_ci
23578c2ecf20Sopenharmony_cistatic struct clk_branch gcc_crypto_axi_clk = {
23588c2ecf20Sopenharmony_ci	.halt_reg = 0x16020,
23598c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
23608c2ecf20Sopenharmony_ci	.clkr = {
23618c2ecf20Sopenharmony_ci		.enable_reg = 0x45004,
23628c2ecf20Sopenharmony_ci		.enable_mask = BIT(1),
23638c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23648c2ecf20Sopenharmony_ci			.name = "gcc_crypto_axi_clk",
23658c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
23668c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
23678c2ecf20Sopenharmony_ci			},
23688c2ecf20Sopenharmony_ci			.num_parents = 1,
23698c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23708c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23718c2ecf20Sopenharmony_ci		},
23728c2ecf20Sopenharmony_ci	},
23738c2ecf20Sopenharmony_ci};
23748c2ecf20Sopenharmony_ci
23758c2ecf20Sopenharmony_cistatic struct clk_branch gcc_crypto_clk = {
23768c2ecf20Sopenharmony_ci	.halt_reg = 0x1601c,
23778c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
23788c2ecf20Sopenharmony_ci	.clkr = {
23798c2ecf20Sopenharmony_ci		.enable_reg = 0x45004,
23808c2ecf20Sopenharmony_ci		.enable_mask = BIT(2),
23818c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23828c2ecf20Sopenharmony_ci			.name = "gcc_crypto_clk",
23838c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
23848c2ecf20Sopenharmony_ci				"crypto_clk_src",
23858c2ecf20Sopenharmony_ci			},
23868c2ecf20Sopenharmony_ci			.num_parents = 1,
23878c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
23888c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
23898c2ecf20Sopenharmony_ci		},
23908c2ecf20Sopenharmony_ci	},
23918c2ecf20Sopenharmony_ci};
23928c2ecf20Sopenharmony_ci
23938c2ecf20Sopenharmony_cistatic struct clk_branch gcc_oxili_gmem_clk = {
23948c2ecf20Sopenharmony_ci	.halt_reg = 0x59024,
23958c2ecf20Sopenharmony_ci	.clkr = {
23968c2ecf20Sopenharmony_ci		.enable_reg = 0x59024,
23978c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
23988c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
23998c2ecf20Sopenharmony_ci			.name = "gcc_oxili_gmem_clk",
24008c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
24018c2ecf20Sopenharmony_ci				"gfx3d_clk_src",
24028c2ecf20Sopenharmony_ci			},
24038c2ecf20Sopenharmony_ci			.num_parents = 1,
24048c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24058c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24068c2ecf20Sopenharmony_ci		},
24078c2ecf20Sopenharmony_ci	},
24088c2ecf20Sopenharmony_ci};
24098c2ecf20Sopenharmony_ci
24108c2ecf20Sopenharmony_cistatic struct clk_branch gcc_gp1_clk = {
24118c2ecf20Sopenharmony_ci	.halt_reg = 0x08000,
24128c2ecf20Sopenharmony_ci	.clkr = {
24138c2ecf20Sopenharmony_ci		.enable_reg = 0x08000,
24148c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24158c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24168c2ecf20Sopenharmony_ci			.name = "gcc_gp1_clk",
24178c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
24188c2ecf20Sopenharmony_ci				"gp1_clk_src",
24198c2ecf20Sopenharmony_ci			},
24208c2ecf20Sopenharmony_ci			.num_parents = 1,
24218c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24228c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24238c2ecf20Sopenharmony_ci		},
24248c2ecf20Sopenharmony_ci	},
24258c2ecf20Sopenharmony_ci};
24268c2ecf20Sopenharmony_ci
24278c2ecf20Sopenharmony_cistatic struct clk_branch gcc_gp2_clk = {
24288c2ecf20Sopenharmony_ci	.halt_reg = 0x09000,
24298c2ecf20Sopenharmony_ci	.clkr = {
24308c2ecf20Sopenharmony_ci		.enable_reg = 0x09000,
24318c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24328c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24338c2ecf20Sopenharmony_ci			.name = "gcc_gp2_clk",
24348c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
24358c2ecf20Sopenharmony_ci				"gp2_clk_src",
24368c2ecf20Sopenharmony_ci			},
24378c2ecf20Sopenharmony_ci			.num_parents = 1,
24388c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24398c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24408c2ecf20Sopenharmony_ci		},
24418c2ecf20Sopenharmony_ci	},
24428c2ecf20Sopenharmony_ci};
24438c2ecf20Sopenharmony_ci
24448c2ecf20Sopenharmony_cistatic struct clk_branch gcc_gp3_clk = {
24458c2ecf20Sopenharmony_ci	.halt_reg = 0x0a000,
24468c2ecf20Sopenharmony_ci	.clkr = {
24478c2ecf20Sopenharmony_ci		.enable_reg = 0x0a000,
24488c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24498c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24508c2ecf20Sopenharmony_ci			.name = "gcc_gp3_clk",
24518c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
24528c2ecf20Sopenharmony_ci				"gp3_clk_src",
24538c2ecf20Sopenharmony_ci			},
24548c2ecf20Sopenharmony_ci			.num_parents = 1,
24558c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24568c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24578c2ecf20Sopenharmony_ci		},
24588c2ecf20Sopenharmony_ci	},
24598c2ecf20Sopenharmony_ci};
24608c2ecf20Sopenharmony_ci
24618c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdss_ahb_clk = {
24628c2ecf20Sopenharmony_ci	.halt_reg = 0x4d07c,
24638c2ecf20Sopenharmony_ci	.clkr = {
24648c2ecf20Sopenharmony_ci		.enable_reg = 0x4d07c,
24658c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24668c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24678c2ecf20Sopenharmony_ci			.name = "gcc_mdss_ahb_clk",
24688c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
24698c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
24708c2ecf20Sopenharmony_ci			},
24718c2ecf20Sopenharmony_ci			.num_parents = 1,
24728c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24738c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24748c2ecf20Sopenharmony_ci		},
24758c2ecf20Sopenharmony_ci	},
24768c2ecf20Sopenharmony_ci};
24778c2ecf20Sopenharmony_ci
24788c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdss_axi_clk = {
24798c2ecf20Sopenharmony_ci	.halt_reg = 0x4d080,
24808c2ecf20Sopenharmony_ci	.clkr = {
24818c2ecf20Sopenharmony_ci		.enable_reg = 0x4d080,
24828c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
24838c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
24848c2ecf20Sopenharmony_ci			.name = "gcc_mdss_axi_clk",
24858c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
24868c2ecf20Sopenharmony_ci				"system_noc_bfdcd_clk_src",
24878c2ecf20Sopenharmony_ci			},
24888c2ecf20Sopenharmony_ci			.num_parents = 1,
24898c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
24908c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
24918c2ecf20Sopenharmony_ci		},
24928c2ecf20Sopenharmony_ci	},
24938c2ecf20Sopenharmony_ci};
24948c2ecf20Sopenharmony_ci
24958c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdss_byte0_clk = {
24968c2ecf20Sopenharmony_ci	.halt_reg = 0x4d094,
24978c2ecf20Sopenharmony_ci	.clkr = {
24988c2ecf20Sopenharmony_ci		.enable_reg = 0x4d094,
24998c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25008c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25018c2ecf20Sopenharmony_ci			.name = "gcc_mdss_byte0_clk",
25028c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
25038c2ecf20Sopenharmony_ci				"byte0_clk_src",
25048c2ecf20Sopenharmony_ci			},
25058c2ecf20Sopenharmony_ci			.num_parents = 1,
25068c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25078c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25088c2ecf20Sopenharmony_ci		},
25098c2ecf20Sopenharmony_ci	},
25108c2ecf20Sopenharmony_ci};
25118c2ecf20Sopenharmony_ci
25128c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdss_esc0_clk = {
25138c2ecf20Sopenharmony_ci	.halt_reg = 0x4d098,
25148c2ecf20Sopenharmony_ci	.clkr = {
25158c2ecf20Sopenharmony_ci		.enable_reg = 0x4d098,
25168c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25178c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25188c2ecf20Sopenharmony_ci			.name = "gcc_mdss_esc0_clk",
25198c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
25208c2ecf20Sopenharmony_ci				"esc0_clk_src",
25218c2ecf20Sopenharmony_ci			},
25228c2ecf20Sopenharmony_ci			.num_parents = 1,
25238c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25248c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25258c2ecf20Sopenharmony_ci		},
25268c2ecf20Sopenharmony_ci	},
25278c2ecf20Sopenharmony_ci};
25288c2ecf20Sopenharmony_ci
25298c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdss_mdp_clk = {
25308c2ecf20Sopenharmony_ci	.halt_reg = 0x4D088,
25318c2ecf20Sopenharmony_ci	.clkr = {
25328c2ecf20Sopenharmony_ci		.enable_reg = 0x4D088,
25338c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25348c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25358c2ecf20Sopenharmony_ci			.name = "gcc_mdss_mdp_clk",
25368c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
25378c2ecf20Sopenharmony_ci				"mdp_clk_src",
25388c2ecf20Sopenharmony_ci			},
25398c2ecf20Sopenharmony_ci			.num_parents = 1,
25408c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25418c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25428c2ecf20Sopenharmony_ci		},
25438c2ecf20Sopenharmony_ci	},
25448c2ecf20Sopenharmony_ci};
25458c2ecf20Sopenharmony_ci
25468c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdss_pclk0_clk = {
25478c2ecf20Sopenharmony_ci	.halt_reg = 0x4d084,
25488c2ecf20Sopenharmony_ci	.clkr = {
25498c2ecf20Sopenharmony_ci		.enable_reg = 0x4d084,
25508c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25518c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25528c2ecf20Sopenharmony_ci			.name = "gcc_mdss_pclk0_clk",
25538c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
25548c2ecf20Sopenharmony_ci				"pclk0_clk_src",
25558c2ecf20Sopenharmony_ci			},
25568c2ecf20Sopenharmony_ci			.num_parents = 1,
25578c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25588c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25598c2ecf20Sopenharmony_ci		},
25608c2ecf20Sopenharmony_ci	},
25618c2ecf20Sopenharmony_ci};
25628c2ecf20Sopenharmony_ci
25638c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdss_vsync_clk = {
25648c2ecf20Sopenharmony_ci	.halt_reg = 0x4d090,
25658c2ecf20Sopenharmony_ci	.clkr = {
25668c2ecf20Sopenharmony_ci		.enable_reg = 0x4d090,
25678c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25688c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25698c2ecf20Sopenharmony_ci			.name = "gcc_mdss_vsync_clk",
25708c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
25718c2ecf20Sopenharmony_ci				"vsync_clk_src",
25728c2ecf20Sopenharmony_ci			},
25738c2ecf20Sopenharmony_ci			.num_parents = 1,
25748c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25758c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25768c2ecf20Sopenharmony_ci		},
25778c2ecf20Sopenharmony_ci	},
25788c2ecf20Sopenharmony_ci};
25798c2ecf20Sopenharmony_ci
25808c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mss_cfg_ahb_clk = {
25818c2ecf20Sopenharmony_ci	.halt_reg = 0x49000,
25828c2ecf20Sopenharmony_ci	.clkr = {
25838c2ecf20Sopenharmony_ci		.enable_reg = 0x49000,
25848c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
25858c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
25868c2ecf20Sopenharmony_ci			.name = "gcc_mss_cfg_ahb_clk",
25878c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
25888c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
25898c2ecf20Sopenharmony_ci			},
25908c2ecf20Sopenharmony_ci			.num_parents = 1,
25918c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
25928c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
25938c2ecf20Sopenharmony_ci		},
25948c2ecf20Sopenharmony_ci	},
25958c2ecf20Sopenharmony_ci};
25968c2ecf20Sopenharmony_ci
25978c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mss_q6_bimc_axi_clk = {
25988c2ecf20Sopenharmony_ci	.halt_reg = 0x49004,
25998c2ecf20Sopenharmony_ci	.clkr = {
26008c2ecf20Sopenharmony_ci		.enable_reg = 0x49004,
26018c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
26028c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
26038c2ecf20Sopenharmony_ci			.name = "gcc_mss_q6_bimc_axi_clk",
26048c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
26058c2ecf20Sopenharmony_ci				"bimc_ddr_clk_src",
26068c2ecf20Sopenharmony_ci			},
26078c2ecf20Sopenharmony_ci			.num_parents = 1,
26088c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
26098c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
26108c2ecf20Sopenharmony_ci		},
26118c2ecf20Sopenharmony_ci	},
26128c2ecf20Sopenharmony_ci};
26138c2ecf20Sopenharmony_ci
26148c2ecf20Sopenharmony_cistatic struct clk_branch gcc_oxili_ahb_clk = {
26158c2ecf20Sopenharmony_ci	.halt_reg = 0x59028,
26168c2ecf20Sopenharmony_ci	.clkr = {
26178c2ecf20Sopenharmony_ci		.enable_reg = 0x59028,
26188c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
26198c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
26208c2ecf20Sopenharmony_ci			.name = "gcc_oxili_ahb_clk",
26218c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
26228c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
26238c2ecf20Sopenharmony_ci			},
26248c2ecf20Sopenharmony_ci			.num_parents = 1,
26258c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
26268c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
26278c2ecf20Sopenharmony_ci		},
26288c2ecf20Sopenharmony_ci	},
26298c2ecf20Sopenharmony_ci};
26308c2ecf20Sopenharmony_ci
26318c2ecf20Sopenharmony_cistatic struct clk_branch gcc_oxili_gfx3d_clk = {
26328c2ecf20Sopenharmony_ci	.halt_reg = 0x59020,
26338c2ecf20Sopenharmony_ci	.clkr = {
26348c2ecf20Sopenharmony_ci		.enable_reg = 0x59020,
26358c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
26368c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
26378c2ecf20Sopenharmony_ci			.name = "gcc_oxili_gfx3d_clk",
26388c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
26398c2ecf20Sopenharmony_ci				"gfx3d_clk_src",
26408c2ecf20Sopenharmony_ci			},
26418c2ecf20Sopenharmony_ci			.num_parents = 1,
26428c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
26438c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
26448c2ecf20Sopenharmony_ci		},
26458c2ecf20Sopenharmony_ci	},
26468c2ecf20Sopenharmony_ci};
26478c2ecf20Sopenharmony_ci
26488c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pdm2_clk = {
26498c2ecf20Sopenharmony_ci	.halt_reg = 0x4400c,
26508c2ecf20Sopenharmony_ci	.clkr = {
26518c2ecf20Sopenharmony_ci		.enable_reg = 0x4400c,
26528c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
26538c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
26548c2ecf20Sopenharmony_ci			.name = "gcc_pdm2_clk",
26558c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
26568c2ecf20Sopenharmony_ci				"pdm2_clk_src",
26578c2ecf20Sopenharmony_ci			},
26588c2ecf20Sopenharmony_ci			.num_parents = 1,
26598c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
26608c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
26618c2ecf20Sopenharmony_ci		},
26628c2ecf20Sopenharmony_ci	},
26638c2ecf20Sopenharmony_ci};
26648c2ecf20Sopenharmony_ci
26658c2ecf20Sopenharmony_cistatic struct clk_branch gcc_pdm_ahb_clk = {
26668c2ecf20Sopenharmony_ci	.halt_reg = 0x44004,
26678c2ecf20Sopenharmony_ci	.clkr = {
26688c2ecf20Sopenharmony_ci		.enable_reg = 0x44004,
26698c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
26708c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
26718c2ecf20Sopenharmony_ci			.name = "gcc_pdm_ahb_clk",
26728c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
26738c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
26748c2ecf20Sopenharmony_ci			},
26758c2ecf20Sopenharmony_ci			.num_parents = 1,
26768c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
26778c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
26788c2ecf20Sopenharmony_ci		},
26798c2ecf20Sopenharmony_ci	},
26808c2ecf20Sopenharmony_ci};
26818c2ecf20Sopenharmony_ci
26828c2ecf20Sopenharmony_cistatic struct clk_branch gcc_prng_ahb_clk = {
26838c2ecf20Sopenharmony_ci	.halt_reg = 0x13004,
26848c2ecf20Sopenharmony_ci	.halt_check = BRANCH_HALT_VOTED,
26858c2ecf20Sopenharmony_ci	.clkr = {
26868c2ecf20Sopenharmony_ci		.enable_reg = 0x45004,
26878c2ecf20Sopenharmony_ci		.enable_mask = BIT(8),
26888c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
26898c2ecf20Sopenharmony_ci			.name = "gcc_prng_ahb_clk",
26908c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
26918c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
26928c2ecf20Sopenharmony_ci			},
26938c2ecf20Sopenharmony_ci			.num_parents = 1,
26948c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
26958c2ecf20Sopenharmony_ci		},
26968c2ecf20Sopenharmony_ci	},
26978c2ecf20Sopenharmony_ci};
26988c2ecf20Sopenharmony_ci
26998c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sdcc1_ahb_clk = {
27008c2ecf20Sopenharmony_ci	.halt_reg = 0x4201c,
27018c2ecf20Sopenharmony_ci	.clkr = {
27028c2ecf20Sopenharmony_ci		.enable_reg = 0x4201c,
27038c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27048c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27058c2ecf20Sopenharmony_ci			.name = "gcc_sdcc1_ahb_clk",
27068c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
27078c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
27088c2ecf20Sopenharmony_ci			},
27098c2ecf20Sopenharmony_ci			.num_parents = 1,
27108c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27118c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27128c2ecf20Sopenharmony_ci		},
27138c2ecf20Sopenharmony_ci	},
27148c2ecf20Sopenharmony_ci};
27158c2ecf20Sopenharmony_ci
27168c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sdcc1_apps_clk = {
27178c2ecf20Sopenharmony_ci	.halt_reg = 0x42018,
27188c2ecf20Sopenharmony_ci	.clkr = {
27198c2ecf20Sopenharmony_ci		.enable_reg = 0x42018,
27208c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27218c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27228c2ecf20Sopenharmony_ci			.name = "gcc_sdcc1_apps_clk",
27238c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
27248c2ecf20Sopenharmony_ci				"sdcc1_apps_clk_src",
27258c2ecf20Sopenharmony_ci			},
27268c2ecf20Sopenharmony_ci			.num_parents = 1,
27278c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27288c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27298c2ecf20Sopenharmony_ci		},
27308c2ecf20Sopenharmony_ci	},
27318c2ecf20Sopenharmony_ci};
27328c2ecf20Sopenharmony_ci
27338c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sdcc2_ahb_clk = {
27348c2ecf20Sopenharmony_ci	.halt_reg = 0x4301c,
27358c2ecf20Sopenharmony_ci	.clkr = {
27368c2ecf20Sopenharmony_ci		.enable_reg = 0x4301c,
27378c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27388c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27398c2ecf20Sopenharmony_ci			.name = "gcc_sdcc2_ahb_clk",
27408c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
27418c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
27428c2ecf20Sopenharmony_ci			},
27438c2ecf20Sopenharmony_ci			.num_parents = 1,
27448c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27458c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27468c2ecf20Sopenharmony_ci		},
27478c2ecf20Sopenharmony_ci	},
27488c2ecf20Sopenharmony_ci};
27498c2ecf20Sopenharmony_ci
27508c2ecf20Sopenharmony_cistatic struct clk_branch gcc_sdcc2_apps_clk = {
27518c2ecf20Sopenharmony_ci	.halt_reg = 0x43018,
27528c2ecf20Sopenharmony_ci	.clkr = {
27538c2ecf20Sopenharmony_ci		.enable_reg = 0x43018,
27548c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
27558c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27568c2ecf20Sopenharmony_ci			.name = "gcc_sdcc2_apps_clk",
27578c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
27588c2ecf20Sopenharmony_ci				"sdcc2_apps_clk_src",
27598c2ecf20Sopenharmony_ci			},
27608c2ecf20Sopenharmony_ci			.num_parents = 1,
27618c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
27628c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27638c2ecf20Sopenharmony_ci		},
27648c2ecf20Sopenharmony_ci	},
27658c2ecf20Sopenharmony_ci};
27668c2ecf20Sopenharmony_ci
27678c2ecf20Sopenharmony_cistatic struct clk_rcg2 bimc_ddr_clk_src = {
27688c2ecf20Sopenharmony_ci	.cmd_rcgr = 0x32004,
27698c2ecf20Sopenharmony_ci	.hid_width = 5,
27708c2ecf20Sopenharmony_ci	.parent_map = gcc_xo_gpll0_bimc_map,
27718c2ecf20Sopenharmony_ci	.clkr.hw.init = &(struct clk_init_data){
27728c2ecf20Sopenharmony_ci		.name = "bimc_ddr_clk_src",
27738c2ecf20Sopenharmony_ci		.parent_names = gcc_xo_gpll0_bimc,
27748c2ecf20Sopenharmony_ci		.num_parents = 3,
27758c2ecf20Sopenharmony_ci		.ops = &clk_rcg2_ops,
27768c2ecf20Sopenharmony_ci		.flags = CLK_GET_RATE_NOCACHE,
27778c2ecf20Sopenharmony_ci	},
27788c2ecf20Sopenharmony_ci};
27798c2ecf20Sopenharmony_ci
27808c2ecf20Sopenharmony_cistatic struct clk_branch gcc_apss_tcu_clk = {
27818c2ecf20Sopenharmony_ci	.halt_reg = 0x12018,
27828c2ecf20Sopenharmony_ci	.clkr = {
27838c2ecf20Sopenharmony_ci		.enable_reg = 0x4500c,
27848c2ecf20Sopenharmony_ci		.enable_mask = BIT(1),
27858c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
27868c2ecf20Sopenharmony_ci			.name = "gcc_apss_tcu_clk",
27878c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
27888c2ecf20Sopenharmony_ci				"bimc_ddr_clk_src",
27898c2ecf20Sopenharmony_ci			},
27908c2ecf20Sopenharmony_ci			.num_parents = 1,
27918c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
27928c2ecf20Sopenharmony_ci		},
27938c2ecf20Sopenharmony_ci	},
27948c2ecf20Sopenharmony_ci};
27958c2ecf20Sopenharmony_ci
27968c2ecf20Sopenharmony_cistatic struct clk_branch gcc_gfx_tcu_clk = {
27978c2ecf20Sopenharmony_ci	.halt_reg = 0x12020,
27988c2ecf20Sopenharmony_ci	.clkr = {
27998c2ecf20Sopenharmony_ci		.enable_reg = 0x4500c,
28008c2ecf20Sopenharmony_ci		.enable_mask = BIT(2),
28018c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28028c2ecf20Sopenharmony_ci			.name = "gcc_gfx_tcu_clk",
28038c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
28048c2ecf20Sopenharmony_ci				"bimc_ddr_clk_src",
28058c2ecf20Sopenharmony_ci			},
28068c2ecf20Sopenharmony_ci			.num_parents = 1,
28078c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28088c2ecf20Sopenharmony_ci		},
28098c2ecf20Sopenharmony_ci	},
28108c2ecf20Sopenharmony_ci};
28118c2ecf20Sopenharmony_ci
28128c2ecf20Sopenharmony_cistatic struct clk_branch gcc_gtcu_ahb_clk = {
28138c2ecf20Sopenharmony_ci	.halt_reg = 0x12044,
28148c2ecf20Sopenharmony_ci	.clkr = {
28158c2ecf20Sopenharmony_ci		.enable_reg = 0x4500c,
28168c2ecf20Sopenharmony_ci		.enable_mask = BIT(13),
28178c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28188c2ecf20Sopenharmony_ci			.name = "gcc_gtcu_ahb_clk",
28198c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
28208c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
28218c2ecf20Sopenharmony_ci			},
28228c2ecf20Sopenharmony_ci			.num_parents = 1,
28238c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28248c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28258c2ecf20Sopenharmony_ci		},
28268c2ecf20Sopenharmony_ci	},
28278c2ecf20Sopenharmony_ci};
28288c2ecf20Sopenharmony_ci
28298c2ecf20Sopenharmony_cistatic struct clk_branch gcc_bimc_gfx_clk = {
28308c2ecf20Sopenharmony_ci	.halt_reg = 0x31024,
28318c2ecf20Sopenharmony_ci	.clkr = {
28328c2ecf20Sopenharmony_ci		.enable_reg = 0x31024,
28338c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
28348c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28358c2ecf20Sopenharmony_ci			.name = "gcc_bimc_gfx_clk",
28368c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
28378c2ecf20Sopenharmony_ci				"bimc_gpu_clk_src",
28388c2ecf20Sopenharmony_ci			},
28398c2ecf20Sopenharmony_ci			.num_parents = 1,
28408c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28418c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28428c2ecf20Sopenharmony_ci		},
28438c2ecf20Sopenharmony_ci	},
28448c2ecf20Sopenharmony_ci};
28458c2ecf20Sopenharmony_ci
28468c2ecf20Sopenharmony_cistatic struct clk_branch gcc_bimc_gpu_clk = {
28478c2ecf20Sopenharmony_ci	.halt_reg = 0x31040,
28488c2ecf20Sopenharmony_ci	.clkr = {
28498c2ecf20Sopenharmony_ci		.enable_reg = 0x31040,
28508c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
28518c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28528c2ecf20Sopenharmony_ci			.name = "gcc_bimc_gpu_clk",
28538c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
28548c2ecf20Sopenharmony_ci				"bimc_gpu_clk_src",
28558c2ecf20Sopenharmony_ci			},
28568c2ecf20Sopenharmony_ci			.num_parents = 1,
28578c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28588c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28598c2ecf20Sopenharmony_ci		},
28608c2ecf20Sopenharmony_ci	},
28618c2ecf20Sopenharmony_ci};
28628c2ecf20Sopenharmony_ci
28638c2ecf20Sopenharmony_cistatic struct clk_branch gcc_jpeg_tbu_clk = {
28648c2ecf20Sopenharmony_ci	.halt_reg = 0x12034,
28658c2ecf20Sopenharmony_ci	.clkr = {
28668c2ecf20Sopenharmony_ci		.enable_reg = 0x4500c,
28678c2ecf20Sopenharmony_ci		.enable_mask = BIT(10),
28688c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28698c2ecf20Sopenharmony_ci			.name = "gcc_jpeg_tbu_clk",
28708c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
28718c2ecf20Sopenharmony_ci				"system_noc_bfdcd_clk_src",
28728c2ecf20Sopenharmony_ci			},
28738c2ecf20Sopenharmony_ci			.num_parents = 1,
28748c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28758c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28768c2ecf20Sopenharmony_ci		},
28778c2ecf20Sopenharmony_ci	},
28788c2ecf20Sopenharmony_ci};
28798c2ecf20Sopenharmony_ci
28808c2ecf20Sopenharmony_cistatic struct clk_branch gcc_mdp_tbu_clk = {
28818c2ecf20Sopenharmony_ci	.halt_reg = 0x1201c,
28828c2ecf20Sopenharmony_ci	.clkr = {
28838c2ecf20Sopenharmony_ci		.enable_reg = 0x4500c,
28848c2ecf20Sopenharmony_ci		.enable_mask = BIT(4),
28858c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
28868c2ecf20Sopenharmony_ci			.name = "gcc_mdp_tbu_clk",
28878c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
28888c2ecf20Sopenharmony_ci				"system_noc_bfdcd_clk_src",
28898c2ecf20Sopenharmony_ci			},
28908c2ecf20Sopenharmony_ci			.num_parents = 1,
28918c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
28928c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
28938c2ecf20Sopenharmony_ci		},
28948c2ecf20Sopenharmony_ci	},
28958c2ecf20Sopenharmony_ci};
28968c2ecf20Sopenharmony_ci
28978c2ecf20Sopenharmony_cistatic struct clk_branch gcc_smmu_cfg_clk = {
28988c2ecf20Sopenharmony_ci	.halt_reg = 0x12038,
28998c2ecf20Sopenharmony_ci	.clkr = {
29008c2ecf20Sopenharmony_ci		.enable_reg = 0x4500c,
29018c2ecf20Sopenharmony_ci		.enable_mask = BIT(12),
29028c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29038c2ecf20Sopenharmony_ci			.name = "gcc_smmu_cfg_clk",
29048c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
29058c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
29068c2ecf20Sopenharmony_ci			},
29078c2ecf20Sopenharmony_ci			.num_parents = 1,
29088c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29098c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29108c2ecf20Sopenharmony_ci		},
29118c2ecf20Sopenharmony_ci	},
29128c2ecf20Sopenharmony_ci};
29138c2ecf20Sopenharmony_ci
29148c2ecf20Sopenharmony_cistatic struct clk_branch gcc_venus_tbu_clk = {
29158c2ecf20Sopenharmony_ci	.halt_reg = 0x12014,
29168c2ecf20Sopenharmony_ci	.clkr = {
29178c2ecf20Sopenharmony_ci		.enable_reg = 0x4500c,
29188c2ecf20Sopenharmony_ci		.enable_mask = BIT(5),
29198c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29208c2ecf20Sopenharmony_ci			.name = "gcc_venus_tbu_clk",
29218c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
29228c2ecf20Sopenharmony_ci				"system_noc_bfdcd_clk_src",
29238c2ecf20Sopenharmony_ci			},
29248c2ecf20Sopenharmony_ci			.num_parents = 1,
29258c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29268c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29278c2ecf20Sopenharmony_ci		},
29288c2ecf20Sopenharmony_ci	},
29298c2ecf20Sopenharmony_ci};
29308c2ecf20Sopenharmony_ci
29318c2ecf20Sopenharmony_cistatic struct clk_branch gcc_vfe_tbu_clk = {
29328c2ecf20Sopenharmony_ci	.halt_reg = 0x1203c,
29338c2ecf20Sopenharmony_ci	.clkr = {
29348c2ecf20Sopenharmony_ci		.enable_reg = 0x4500c,
29358c2ecf20Sopenharmony_ci		.enable_mask = BIT(9),
29368c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29378c2ecf20Sopenharmony_ci			.name = "gcc_vfe_tbu_clk",
29388c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
29398c2ecf20Sopenharmony_ci				"system_noc_bfdcd_clk_src",
29408c2ecf20Sopenharmony_ci			},
29418c2ecf20Sopenharmony_ci			.num_parents = 1,
29428c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29438c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29448c2ecf20Sopenharmony_ci		},
29458c2ecf20Sopenharmony_ci	},
29468c2ecf20Sopenharmony_ci};
29478c2ecf20Sopenharmony_ci
29488c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb2a_phy_sleep_clk = {
29498c2ecf20Sopenharmony_ci	.halt_reg = 0x4102c,
29508c2ecf20Sopenharmony_ci	.clkr = {
29518c2ecf20Sopenharmony_ci		.enable_reg = 0x4102c,
29528c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29538c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29548c2ecf20Sopenharmony_ci			.name = "gcc_usb2a_phy_sleep_clk",
29558c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
29568c2ecf20Sopenharmony_ci				"sleep_clk_src",
29578c2ecf20Sopenharmony_ci			},
29588c2ecf20Sopenharmony_ci			.num_parents = 1,
29598c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29608c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29618c2ecf20Sopenharmony_ci		},
29628c2ecf20Sopenharmony_ci	},
29638c2ecf20Sopenharmony_ci};
29648c2ecf20Sopenharmony_ci
29658c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb_hs_ahb_clk = {
29668c2ecf20Sopenharmony_ci	.halt_reg = 0x41008,
29678c2ecf20Sopenharmony_ci	.clkr = {
29688c2ecf20Sopenharmony_ci		.enable_reg = 0x41008,
29698c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29708c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29718c2ecf20Sopenharmony_ci			.name = "gcc_usb_hs_ahb_clk",
29728c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
29738c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
29748c2ecf20Sopenharmony_ci			},
29758c2ecf20Sopenharmony_ci			.num_parents = 1,
29768c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29778c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29788c2ecf20Sopenharmony_ci		},
29798c2ecf20Sopenharmony_ci	},
29808c2ecf20Sopenharmony_ci};
29818c2ecf20Sopenharmony_ci
29828c2ecf20Sopenharmony_cistatic struct clk_branch gcc_usb_hs_system_clk = {
29838c2ecf20Sopenharmony_ci	.halt_reg = 0x41004,
29848c2ecf20Sopenharmony_ci	.clkr = {
29858c2ecf20Sopenharmony_ci		.enable_reg = 0x41004,
29868c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
29878c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
29888c2ecf20Sopenharmony_ci			.name = "gcc_usb_hs_system_clk",
29898c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
29908c2ecf20Sopenharmony_ci				"usb_hs_system_clk_src",
29918c2ecf20Sopenharmony_ci			},
29928c2ecf20Sopenharmony_ci			.num_parents = 1,
29938c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
29948c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
29958c2ecf20Sopenharmony_ci		},
29968c2ecf20Sopenharmony_ci	},
29978c2ecf20Sopenharmony_ci};
29988c2ecf20Sopenharmony_ci
29998c2ecf20Sopenharmony_cistatic struct clk_branch gcc_venus0_ahb_clk = {
30008c2ecf20Sopenharmony_ci	.halt_reg = 0x4c020,
30018c2ecf20Sopenharmony_ci	.clkr = {
30028c2ecf20Sopenharmony_ci		.enable_reg = 0x4c020,
30038c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30048c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30058c2ecf20Sopenharmony_ci			.name = "gcc_venus0_ahb_clk",
30068c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
30078c2ecf20Sopenharmony_ci				"pcnoc_bfdcd_clk_src",
30088c2ecf20Sopenharmony_ci			},
30098c2ecf20Sopenharmony_ci			.num_parents = 1,
30108c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30118c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30128c2ecf20Sopenharmony_ci		},
30138c2ecf20Sopenharmony_ci	},
30148c2ecf20Sopenharmony_ci};
30158c2ecf20Sopenharmony_ci
30168c2ecf20Sopenharmony_cistatic struct clk_branch gcc_venus0_axi_clk = {
30178c2ecf20Sopenharmony_ci	.halt_reg = 0x4c024,
30188c2ecf20Sopenharmony_ci	.clkr = {
30198c2ecf20Sopenharmony_ci		.enable_reg = 0x4c024,
30208c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30218c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30228c2ecf20Sopenharmony_ci			.name = "gcc_venus0_axi_clk",
30238c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
30248c2ecf20Sopenharmony_ci				"system_noc_bfdcd_clk_src",
30258c2ecf20Sopenharmony_ci			},
30268c2ecf20Sopenharmony_ci			.num_parents = 1,
30278c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30288c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30298c2ecf20Sopenharmony_ci		},
30308c2ecf20Sopenharmony_ci	},
30318c2ecf20Sopenharmony_ci};
30328c2ecf20Sopenharmony_ci
30338c2ecf20Sopenharmony_cistatic struct clk_branch gcc_venus0_vcodec0_clk = {
30348c2ecf20Sopenharmony_ci	.halt_reg = 0x4c01c,
30358c2ecf20Sopenharmony_ci	.clkr = {
30368c2ecf20Sopenharmony_ci		.enable_reg = 0x4c01c,
30378c2ecf20Sopenharmony_ci		.enable_mask = BIT(0),
30388c2ecf20Sopenharmony_ci		.hw.init = &(struct clk_init_data){
30398c2ecf20Sopenharmony_ci			.name = "gcc_venus0_vcodec0_clk",
30408c2ecf20Sopenharmony_ci			.parent_names = (const char *[]){
30418c2ecf20Sopenharmony_ci				"vcodec0_clk_src",
30428c2ecf20Sopenharmony_ci			},
30438c2ecf20Sopenharmony_ci			.num_parents = 1,
30448c2ecf20Sopenharmony_ci			.flags = CLK_SET_RATE_PARENT,
30458c2ecf20Sopenharmony_ci			.ops = &clk_branch2_ops,
30468c2ecf20Sopenharmony_ci		},
30478c2ecf20Sopenharmony_ci	},
30488c2ecf20Sopenharmony_ci};
30498c2ecf20Sopenharmony_ci
30508c2ecf20Sopenharmony_cistatic struct gdsc venus_gdsc = {
30518c2ecf20Sopenharmony_ci	.gdscr = 0x4c018,
30528c2ecf20Sopenharmony_ci	.pd = {
30538c2ecf20Sopenharmony_ci		.name = "venus",
30548c2ecf20Sopenharmony_ci	},
30558c2ecf20Sopenharmony_ci	.pwrsts = PWRSTS_OFF_ON,
30568c2ecf20Sopenharmony_ci};
30578c2ecf20Sopenharmony_ci
30588c2ecf20Sopenharmony_cistatic struct gdsc mdss_gdsc = {
30598c2ecf20Sopenharmony_ci	.gdscr = 0x4d078,
30608c2ecf20Sopenharmony_ci	.pd = {
30618c2ecf20Sopenharmony_ci		.name = "mdss",
30628c2ecf20Sopenharmony_ci	},
30638c2ecf20Sopenharmony_ci	.pwrsts = PWRSTS_OFF_ON,
30648c2ecf20Sopenharmony_ci};
30658c2ecf20Sopenharmony_ci
30668c2ecf20Sopenharmony_cistatic struct gdsc jpeg_gdsc = {
30678c2ecf20Sopenharmony_ci	.gdscr = 0x5701c,
30688c2ecf20Sopenharmony_ci	.pd = {
30698c2ecf20Sopenharmony_ci		.name = "jpeg",
30708c2ecf20Sopenharmony_ci	},
30718c2ecf20Sopenharmony_ci	.pwrsts = PWRSTS_OFF_ON,
30728c2ecf20Sopenharmony_ci};
30738c2ecf20Sopenharmony_ci
30748c2ecf20Sopenharmony_cistatic struct gdsc vfe_gdsc = {
30758c2ecf20Sopenharmony_ci	.gdscr = 0x58034,
30768c2ecf20Sopenharmony_ci	.pd = {
30778c2ecf20Sopenharmony_ci		.name = "vfe",
30788c2ecf20Sopenharmony_ci	},
30798c2ecf20Sopenharmony_ci	.pwrsts = PWRSTS_OFF_ON,
30808c2ecf20Sopenharmony_ci};
30818c2ecf20Sopenharmony_ci
30828c2ecf20Sopenharmony_cistatic struct gdsc oxili_gdsc = {
30838c2ecf20Sopenharmony_ci	.gdscr = 0x5901c,
30848c2ecf20Sopenharmony_ci	.pd = {
30858c2ecf20Sopenharmony_ci		.name = "oxili",
30868c2ecf20Sopenharmony_ci	},
30878c2ecf20Sopenharmony_ci	.pwrsts = PWRSTS_OFF_ON,
30888c2ecf20Sopenharmony_ci};
30898c2ecf20Sopenharmony_ci
30908c2ecf20Sopenharmony_cistatic struct clk_regmap *gcc_msm8916_clocks[] = {
30918c2ecf20Sopenharmony_ci	[GPLL0] = &gpll0.clkr,
30928c2ecf20Sopenharmony_ci	[GPLL0_VOTE] = &gpll0_vote,
30938c2ecf20Sopenharmony_ci	[BIMC_PLL] = &bimc_pll.clkr,
30948c2ecf20Sopenharmony_ci	[BIMC_PLL_VOTE] = &bimc_pll_vote,
30958c2ecf20Sopenharmony_ci	[GPLL1] = &gpll1.clkr,
30968c2ecf20Sopenharmony_ci	[GPLL1_VOTE] = &gpll1_vote,
30978c2ecf20Sopenharmony_ci	[GPLL2] = &gpll2.clkr,
30988c2ecf20Sopenharmony_ci	[GPLL2_VOTE] = &gpll2_vote,
30998c2ecf20Sopenharmony_ci	[PCNOC_BFDCD_CLK_SRC] = &pcnoc_bfdcd_clk_src.clkr,
31008c2ecf20Sopenharmony_ci	[SYSTEM_NOC_BFDCD_CLK_SRC] = &system_noc_bfdcd_clk_src.clkr,
31018c2ecf20Sopenharmony_ci	[CAMSS_AHB_CLK_SRC] = &camss_ahb_clk_src.clkr,
31028c2ecf20Sopenharmony_ci	[APSS_AHB_CLK_SRC] = &apss_ahb_clk_src.clkr,
31038c2ecf20Sopenharmony_ci	[CSI0_CLK_SRC] = &csi0_clk_src.clkr,
31048c2ecf20Sopenharmony_ci	[CSI1_CLK_SRC] = &csi1_clk_src.clkr,
31058c2ecf20Sopenharmony_ci	[GFX3D_CLK_SRC] = &gfx3d_clk_src.clkr,
31068c2ecf20Sopenharmony_ci	[VFE0_CLK_SRC] = &vfe0_clk_src.clkr,
31078c2ecf20Sopenharmony_ci	[BLSP1_QUP1_I2C_APPS_CLK_SRC] = &blsp1_qup1_i2c_apps_clk_src.clkr,
31088c2ecf20Sopenharmony_ci	[BLSP1_QUP1_SPI_APPS_CLK_SRC] = &blsp1_qup1_spi_apps_clk_src.clkr,
31098c2ecf20Sopenharmony_ci	[BLSP1_QUP2_I2C_APPS_CLK_SRC] = &blsp1_qup2_i2c_apps_clk_src.clkr,
31108c2ecf20Sopenharmony_ci	[BLSP1_QUP2_SPI_APPS_CLK_SRC] = &blsp1_qup2_spi_apps_clk_src.clkr,
31118c2ecf20Sopenharmony_ci	[BLSP1_QUP3_I2C_APPS_CLK_SRC] = &blsp1_qup3_i2c_apps_clk_src.clkr,
31128c2ecf20Sopenharmony_ci	[BLSP1_QUP3_SPI_APPS_CLK_SRC] = &blsp1_qup3_spi_apps_clk_src.clkr,
31138c2ecf20Sopenharmony_ci	[BLSP1_QUP4_I2C_APPS_CLK_SRC] = &blsp1_qup4_i2c_apps_clk_src.clkr,
31148c2ecf20Sopenharmony_ci	[BLSP1_QUP4_SPI_APPS_CLK_SRC] = &blsp1_qup4_spi_apps_clk_src.clkr,
31158c2ecf20Sopenharmony_ci	[BLSP1_QUP5_I2C_APPS_CLK_SRC] = &blsp1_qup5_i2c_apps_clk_src.clkr,
31168c2ecf20Sopenharmony_ci	[BLSP1_QUP5_SPI_APPS_CLK_SRC] = &blsp1_qup5_spi_apps_clk_src.clkr,
31178c2ecf20Sopenharmony_ci	[BLSP1_QUP6_I2C_APPS_CLK_SRC] = &blsp1_qup6_i2c_apps_clk_src.clkr,
31188c2ecf20Sopenharmony_ci	[BLSP1_QUP6_SPI_APPS_CLK_SRC] = &blsp1_qup6_spi_apps_clk_src.clkr,
31198c2ecf20Sopenharmony_ci	[BLSP1_UART1_APPS_CLK_SRC] = &blsp1_uart1_apps_clk_src.clkr,
31208c2ecf20Sopenharmony_ci	[BLSP1_UART2_APPS_CLK_SRC] = &blsp1_uart2_apps_clk_src.clkr,
31218c2ecf20Sopenharmony_ci	[CCI_CLK_SRC] = &cci_clk_src.clkr,
31228c2ecf20Sopenharmony_ci	[CAMSS_GP0_CLK_SRC] = &camss_gp0_clk_src.clkr,
31238c2ecf20Sopenharmony_ci	[CAMSS_GP1_CLK_SRC] = &camss_gp1_clk_src.clkr,
31248c2ecf20Sopenharmony_ci	[JPEG0_CLK_SRC] = &jpeg0_clk_src.clkr,
31258c2ecf20Sopenharmony_ci	[MCLK0_CLK_SRC] = &mclk0_clk_src.clkr,
31268c2ecf20Sopenharmony_ci	[MCLK1_CLK_SRC] = &mclk1_clk_src.clkr,
31278c2ecf20Sopenharmony_ci	[CSI0PHYTIMER_CLK_SRC] = &csi0phytimer_clk_src.clkr,
31288c2ecf20Sopenharmony_ci	[CSI1PHYTIMER_CLK_SRC] = &csi1phytimer_clk_src.clkr,
31298c2ecf20Sopenharmony_ci	[CPP_CLK_SRC] = &cpp_clk_src.clkr,
31308c2ecf20Sopenharmony_ci	[CRYPTO_CLK_SRC] = &crypto_clk_src.clkr,
31318c2ecf20Sopenharmony_ci	[GP1_CLK_SRC] = &gp1_clk_src.clkr,
31328c2ecf20Sopenharmony_ci	[GP2_CLK_SRC] = &gp2_clk_src.clkr,
31338c2ecf20Sopenharmony_ci	[GP3_CLK_SRC] = &gp3_clk_src.clkr,
31348c2ecf20Sopenharmony_ci	[BYTE0_CLK_SRC] = &byte0_clk_src.clkr,
31358c2ecf20Sopenharmony_ci	[ESC0_CLK_SRC] = &esc0_clk_src.clkr,
31368c2ecf20Sopenharmony_ci	[MDP_CLK_SRC] = &mdp_clk_src.clkr,
31378c2ecf20Sopenharmony_ci	[PCLK0_CLK_SRC] = &pclk0_clk_src.clkr,
31388c2ecf20Sopenharmony_ci	[VSYNC_CLK_SRC] = &vsync_clk_src.clkr,
31398c2ecf20Sopenharmony_ci	[PDM2_CLK_SRC] = &pdm2_clk_src.clkr,
31408c2ecf20Sopenharmony_ci	[SDCC1_APPS_CLK_SRC] = &sdcc1_apps_clk_src.clkr,
31418c2ecf20Sopenharmony_ci	[SDCC2_APPS_CLK_SRC] = &sdcc2_apps_clk_src.clkr,
31428c2ecf20Sopenharmony_ci	[APSS_TCU_CLK_SRC] = &apss_tcu_clk_src.clkr,
31438c2ecf20Sopenharmony_ci	[USB_HS_SYSTEM_CLK_SRC] = &usb_hs_system_clk_src.clkr,
31448c2ecf20Sopenharmony_ci	[VCODEC0_CLK_SRC] = &vcodec0_clk_src.clkr,
31458c2ecf20Sopenharmony_ci	[GCC_BLSP1_AHB_CLK] = &gcc_blsp1_ahb_clk.clkr,
31468c2ecf20Sopenharmony_ci	[GCC_BLSP1_SLEEP_CLK] = &gcc_blsp1_sleep_clk.clkr,
31478c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP1_I2C_APPS_CLK] = &gcc_blsp1_qup1_i2c_apps_clk.clkr,
31488c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP1_SPI_APPS_CLK] = &gcc_blsp1_qup1_spi_apps_clk.clkr,
31498c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP2_I2C_APPS_CLK] = &gcc_blsp1_qup2_i2c_apps_clk.clkr,
31508c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP2_SPI_APPS_CLK] = &gcc_blsp1_qup2_spi_apps_clk.clkr,
31518c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP3_I2C_APPS_CLK] = &gcc_blsp1_qup3_i2c_apps_clk.clkr,
31528c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP3_SPI_APPS_CLK] = &gcc_blsp1_qup3_spi_apps_clk.clkr,
31538c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP4_I2C_APPS_CLK] = &gcc_blsp1_qup4_i2c_apps_clk.clkr,
31548c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP4_SPI_APPS_CLK] = &gcc_blsp1_qup4_spi_apps_clk.clkr,
31558c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP5_I2C_APPS_CLK] = &gcc_blsp1_qup5_i2c_apps_clk.clkr,
31568c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP5_SPI_APPS_CLK] = &gcc_blsp1_qup5_spi_apps_clk.clkr,
31578c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP6_I2C_APPS_CLK] = &gcc_blsp1_qup6_i2c_apps_clk.clkr,
31588c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP6_SPI_APPS_CLK] = &gcc_blsp1_qup6_spi_apps_clk.clkr,
31598c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART1_APPS_CLK] = &gcc_blsp1_uart1_apps_clk.clkr,
31608c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART2_APPS_CLK] = &gcc_blsp1_uart2_apps_clk.clkr,
31618c2ecf20Sopenharmony_ci	[GCC_BOOT_ROM_AHB_CLK] = &gcc_boot_rom_ahb_clk.clkr,
31628c2ecf20Sopenharmony_ci	[GCC_CAMSS_CCI_AHB_CLK] = &gcc_camss_cci_ahb_clk.clkr,
31638c2ecf20Sopenharmony_ci	[GCC_CAMSS_CCI_CLK] = &gcc_camss_cci_clk.clkr,
31648c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0_AHB_CLK] = &gcc_camss_csi0_ahb_clk.clkr,
31658c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0_CLK] = &gcc_camss_csi0_clk.clkr,
31668c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0PHY_CLK] = &gcc_camss_csi0phy_clk.clkr,
31678c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0PIX_CLK] = &gcc_camss_csi0pix_clk.clkr,
31688c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0RDI_CLK] = &gcc_camss_csi0rdi_clk.clkr,
31698c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1_AHB_CLK] = &gcc_camss_csi1_ahb_clk.clkr,
31708c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1_CLK] = &gcc_camss_csi1_clk.clkr,
31718c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1PHY_CLK] = &gcc_camss_csi1phy_clk.clkr,
31728c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1PIX_CLK] = &gcc_camss_csi1pix_clk.clkr,
31738c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1RDI_CLK] = &gcc_camss_csi1rdi_clk.clkr,
31748c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI_VFE0_CLK] = &gcc_camss_csi_vfe0_clk.clkr,
31758c2ecf20Sopenharmony_ci	[GCC_CAMSS_GP0_CLK] = &gcc_camss_gp0_clk.clkr,
31768c2ecf20Sopenharmony_ci	[GCC_CAMSS_GP1_CLK] = &gcc_camss_gp1_clk.clkr,
31778c2ecf20Sopenharmony_ci	[GCC_CAMSS_ISPIF_AHB_CLK] = &gcc_camss_ispif_ahb_clk.clkr,
31788c2ecf20Sopenharmony_ci	[GCC_CAMSS_JPEG0_CLK] = &gcc_camss_jpeg0_clk.clkr,
31798c2ecf20Sopenharmony_ci	[GCC_CAMSS_JPEG_AHB_CLK] = &gcc_camss_jpeg_ahb_clk.clkr,
31808c2ecf20Sopenharmony_ci	[GCC_CAMSS_JPEG_AXI_CLK] = &gcc_camss_jpeg_axi_clk.clkr,
31818c2ecf20Sopenharmony_ci	[GCC_CAMSS_MCLK0_CLK] = &gcc_camss_mclk0_clk.clkr,
31828c2ecf20Sopenharmony_ci	[GCC_CAMSS_MCLK1_CLK] = &gcc_camss_mclk1_clk.clkr,
31838c2ecf20Sopenharmony_ci	[GCC_CAMSS_MICRO_AHB_CLK] = &gcc_camss_micro_ahb_clk.clkr,
31848c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0PHYTIMER_CLK] = &gcc_camss_csi0phytimer_clk.clkr,
31858c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1PHYTIMER_CLK] = &gcc_camss_csi1phytimer_clk.clkr,
31868c2ecf20Sopenharmony_ci	[GCC_CAMSS_AHB_CLK] = &gcc_camss_ahb_clk.clkr,
31878c2ecf20Sopenharmony_ci	[GCC_CAMSS_TOP_AHB_CLK] = &gcc_camss_top_ahb_clk.clkr,
31888c2ecf20Sopenharmony_ci	[GCC_CAMSS_CPP_AHB_CLK] = &gcc_camss_cpp_ahb_clk.clkr,
31898c2ecf20Sopenharmony_ci	[GCC_CAMSS_CPP_CLK] = &gcc_camss_cpp_clk.clkr,
31908c2ecf20Sopenharmony_ci	[GCC_CAMSS_VFE0_CLK] = &gcc_camss_vfe0_clk.clkr,
31918c2ecf20Sopenharmony_ci	[GCC_CAMSS_VFE_AHB_CLK] = &gcc_camss_vfe_ahb_clk.clkr,
31928c2ecf20Sopenharmony_ci	[GCC_CAMSS_VFE_AXI_CLK] = &gcc_camss_vfe_axi_clk.clkr,
31938c2ecf20Sopenharmony_ci	[GCC_CRYPTO_AHB_CLK] = &gcc_crypto_ahb_clk.clkr,
31948c2ecf20Sopenharmony_ci	[GCC_CRYPTO_AXI_CLK] = &gcc_crypto_axi_clk.clkr,
31958c2ecf20Sopenharmony_ci	[GCC_CRYPTO_CLK] = &gcc_crypto_clk.clkr,
31968c2ecf20Sopenharmony_ci	[GCC_OXILI_GMEM_CLK] = &gcc_oxili_gmem_clk.clkr,
31978c2ecf20Sopenharmony_ci	[GCC_GP1_CLK] = &gcc_gp1_clk.clkr,
31988c2ecf20Sopenharmony_ci	[GCC_GP2_CLK] = &gcc_gp2_clk.clkr,
31998c2ecf20Sopenharmony_ci	[GCC_GP3_CLK] = &gcc_gp3_clk.clkr,
32008c2ecf20Sopenharmony_ci	[GCC_MDSS_AHB_CLK] = &gcc_mdss_ahb_clk.clkr,
32018c2ecf20Sopenharmony_ci	[GCC_MDSS_AXI_CLK] = &gcc_mdss_axi_clk.clkr,
32028c2ecf20Sopenharmony_ci	[GCC_MDSS_BYTE0_CLK] = &gcc_mdss_byte0_clk.clkr,
32038c2ecf20Sopenharmony_ci	[GCC_MDSS_ESC0_CLK] = &gcc_mdss_esc0_clk.clkr,
32048c2ecf20Sopenharmony_ci	[GCC_MDSS_MDP_CLK] = &gcc_mdss_mdp_clk.clkr,
32058c2ecf20Sopenharmony_ci	[GCC_MDSS_PCLK0_CLK] = &gcc_mdss_pclk0_clk.clkr,
32068c2ecf20Sopenharmony_ci	[GCC_MDSS_VSYNC_CLK] = &gcc_mdss_vsync_clk.clkr,
32078c2ecf20Sopenharmony_ci	[GCC_MSS_CFG_AHB_CLK] = &gcc_mss_cfg_ahb_clk.clkr,
32088c2ecf20Sopenharmony_ci	[GCC_OXILI_AHB_CLK] = &gcc_oxili_ahb_clk.clkr,
32098c2ecf20Sopenharmony_ci	[GCC_OXILI_GFX3D_CLK] = &gcc_oxili_gfx3d_clk.clkr,
32108c2ecf20Sopenharmony_ci	[GCC_PDM2_CLK] = &gcc_pdm2_clk.clkr,
32118c2ecf20Sopenharmony_ci	[GCC_PDM_AHB_CLK] = &gcc_pdm_ahb_clk.clkr,
32128c2ecf20Sopenharmony_ci	[GCC_PRNG_AHB_CLK] = &gcc_prng_ahb_clk.clkr,
32138c2ecf20Sopenharmony_ci	[GCC_SDCC1_AHB_CLK] = &gcc_sdcc1_ahb_clk.clkr,
32148c2ecf20Sopenharmony_ci	[GCC_SDCC1_APPS_CLK] = &gcc_sdcc1_apps_clk.clkr,
32158c2ecf20Sopenharmony_ci	[GCC_SDCC2_AHB_CLK] = &gcc_sdcc2_ahb_clk.clkr,
32168c2ecf20Sopenharmony_ci	[GCC_SDCC2_APPS_CLK] = &gcc_sdcc2_apps_clk.clkr,
32178c2ecf20Sopenharmony_ci	[GCC_GTCU_AHB_CLK] = &gcc_gtcu_ahb_clk.clkr,
32188c2ecf20Sopenharmony_ci	[GCC_JPEG_TBU_CLK] = &gcc_jpeg_tbu_clk.clkr,
32198c2ecf20Sopenharmony_ci	[GCC_MDP_TBU_CLK] = &gcc_mdp_tbu_clk.clkr,
32208c2ecf20Sopenharmony_ci	[GCC_SMMU_CFG_CLK] = &gcc_smmu_cfg_clk.clkr,
32218c2ecf20Sopenharmony_ci	[GCC_VENUS_TBU_CLK] = &gcc_venus_tbu_clk.clkr,
32228c2ecf20Sopenharmony_ci	[GCC_VFE_TBU_CLK] = &gcc_vfe_tbu_clk.clkr,
32238c2ecf20Sopenharmony_ci	[GCC_USB2A_PHY_SLEEP_CLK] = &gcc_usb2a_phy_sleep_clk.clkr,
32248c2ecf20Sopenharmony_ci	[GCC_USB_HS_AHB_CLK] = &gcc_usb_hs_ahb_clk.clkr,
32258c2ecf20Sopenharmony_ci	[GCC_USB_HS_SYSTEM_CLK] = &gcc_usb_hs_system_clk.clkr,
32268c2ecf20Sopenharmony_ci	[GCC_VENUS0_AHB_CLK] = &gcc_venus0_ahb_clk.clkr,
32278c2ecf20Sopenharmony_ci	[GCC_VENUS0_AXI_CLK] = &gcc_venus0_axi_clk.clkr,
32288c2ecf20Sopenharmony_ci	[GCC_VENUS0_VCODEC0_CLK] = &gcc_venus0_vcodec0_clk.clkr,
32298c2ecf20Sopenharmony_ci	[BIMC_DDR_CLK_SRC] = &bimc_ddr_clk_src.clkr,
32308c2ecf20Sopenharmony_ci	[GCC_APSS_TCU_CLK] = &gcc_apss_tcu_clk.clkr,
32318c2ecf20Sopenharmony_ci	[GCC_GFX_TCU_CLK] = &gcc_gfx_tcu_clk.clkr,
32328c2ecf20Sopenharmony_ci	[BIMC_GPU_CLK_SRC] = &bimc_gpu_clk_src.clkr,
32338c2ecf20Sopenharmony_ci	[GCC_BIMC_GFX_CLK] = &gcc_bimc_gfx_clk.clkr,
32348c2ecf20Sopenharmony_ci	[GCC_BIMC_GPU_CLK] = &gcc_bimc_gpu_clk.clkr,
32358c2ecf20Sopenharmony_ci	[ULTAUDIO_AHBFABRIC_CLK_SRC] = &ultaudio_ahbfabric_clk_src.clkr,
32368c2ecf20Sopenharmony_ci	[ULTAUDIO_LPAIF_PRI_I2S_CLK_SRC] = &ultaudio_lpaif_pri_i2s_clk_src.clkr,
32378c2ecf20Sopenharmony_ci	[ULTAUDIO_LPAIF_SEC_I2S_CLK_SRC] = &ultaudio_lpaif_sec_i2s_clk_src.clkr,
32388c2ecf20Sopenharmony_ci	[ULTAUDIO_LPAIF_AUX_I2S_CLK_SRC] = &ultaudio_lpaif_aux_i2s_clk_src.clkr,
32398c2ecf20Sopenharmony_ci	[ULTAUDIO_XO_CLK_SRC] = &ultaudio_xo_clk_src.clkr,
32408c2ecf20Sopenharmony_ci	[CODEC_DIGCODEC_CLK_SRC] = &codec_digcodec_clk_src.clkr,
32418c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_PCNOC_MPORT_CLK] = &gcc_ultaudio_pcnoc_mport_clk.clkr,
32428c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_PCNOC_SWAY_CLK] = &gcc_ultaudio_pcnoc_sway_clk.clkr,
32438c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_AVSYNC_XO_CLK] = &gcc_ultaudio_avsync_xo_clk.clkr,
32448c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_STC_XO_CLK] = &gcc_ultaudio_stc_xo_clk.clkr,
32458c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK] =	&gcc_ultaudio_ahbfabric_ixfabric_clk.clkr,
32468c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_LPM_CLK] = &gcc_ultaudio_ahbfabric_ixfabric_lpm_clk.clkr,
32478c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK] = &gcc_ultaudio_lpaif_pri_i2s_clk.clkr,
32488c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK] = &gcc_ultaudio_lpaif_sec_i2s_clk.clkr,
32498c2ecf20Sopenharmony_ci	[GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK] = &gcc_ultaudio_lpaif_aux_i2s_clk.clkr,
32508c2ecf20Sopenharmony_ci	[GCC_CODEC_DIGCODEC_CLK] = &gcc_codec_digcodec_clk.clkr,
32518c2ecf20Sopenharmony_ci	[GCC_MSS_Q6_BIMC_AXI_CLK] = &gcc_mss_q6_bimc_axi_clk.clkr,
32528c2ecf20Sopenharmony_ci};
32538c2ecf20Sopenharmony_ci
32548c2ecf20Sopenharmony_cistatic struct gdsc *gcc_msm8916_gdscs[] = {
32558c2ecf20Sopenharmony_ci	[VENUS_GDSC] = &venus_gdsc,
32568c2ecf20Sopenharmony_ci	[MDSS_GDSC] = &mdss_gdsc,
32578c2ecf20Sopenharmony_ci	[JPEG_GDSC] = &jpeg_gdsc,
32588c2ecf20Sopenharmony_ci	[VFE_GDSC] = &vfe_gdsc,
32598c2ecf20Sopenharmony_ci	[OXILI_GDSC] = &oxili_gdsc,
32608c2ecf20Sopenharmony_ci};
32618c2ecf20Sopenharmony_ci
32628c2ecf20Sopenharmony_cistatic const struct qcom_reset_map gcc_msm8916_resets[] = {
32638c2ecf20Sopenharmony_ci	[GCC_BLSP1_BCR] = { 0x01000 },
32648c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP1_BCR] = { 0x02000 },
32658c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART1_BCR] = { 0x02038 },
32668c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP2_BCR] = { 0x03008 },
32678c2ecf20Sopenharmony_ci	[GCC_BLSP1_UART2_BCR] = { 0x03028 },
32688c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP3_BCR] = { 0x04018 },
32698c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP4_BCR] = { 0x05018 },
32708c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP5_BCR] = { 0x06018 },
32718c2ecf20Sopenharmony_ci	[GCC_BLSP1_QUP6_BCR] = { 0x07018 },
32728c2ecf20Sopenharmony_ci	[GCC_IMEM_BCR] = { 0x0e000 },
32738c2ecf20Sopenharmony_ci	[GCC_SMMU_BCR] = { 0x12000 },
32748c2ecf20Sopenharmony_ci	[GCC_APSS_TCU_BCR] = { 0x12050 },
32758c2ecf20Sopenharmony_ci	[GCC_SMMU_XPU_BCR] = { 0x12054 },
32768c2ecf20Sopenharmony_ci	[GCC_PCNOC_TBU_BCR] = { 0x12058 },
32778c2ecf20Sopenharmony_ci	[GCC_PRNG_BCR] = { 0x13000 },
32788c2ecf20Sopenharmony_ci	[GCC_BOOT_ROM_BCR] = { 0x13008 },
32798c2ecf20Sopenharmony_ci	[GCC_CRYPTO_BCR] = { 0x16000 },
32808c2ecf20Sopenharmony_ci	[GCC_SEC_CTRL_BCR] = { 0x1a000 },
32818c2ecf20Sopenharmony_ci	[GCC_AUDIO_CORE_BCR] = { 0x1c008 },
32828c2ecf20Sopenharmony_ci	[GCC_ULT_AUDIO_BCR] = { 0x1c0b4 },
32838c2ecf20Sopenharmony_ci	[GCC_DEHR_BCR] = { 0x1f000 },
32848c2ecf20Sopenharmony_ci	[GCC_SYSTEM_NOC_BCR] = { 0x26000 },
32858c2ecf20Sopenharmony_ci	[GCC_PCNOC_BCR] = { 0x27018 },
32868c2ecf20Sopenharmony_ci	[GCC_TCSR_BCR] = { 0x28000 },
32878c2ecf20Sopenharmony_ci	[GCC_QDSS_BCR] = { 0x29000 },
32888c2ecf20Sopenharmony_ci	[GCC_DCD_BCR] = { 0x2a000 },
32898c2ecf20Sopenharmony_ci	[GCC_MSG_RAM_BCR] = { 0x2b000 },
32908c2ecf20Sopenharmony_ci	[GCC_MPM_BCR] = { 0x2c000 },
32918c2ecf20Sopenharmony_ci	[GCC_SPMI_BCR] = { 0x2e000 },
32928c2ecf20Sopenharmony_ci	[GCC_SPDM_BCR] = { 0x2f000 },
32938c2ecf20Sopenharmony_ci	[GCC_MM_SPDM_BCR] = { 0x2f024 },
32948c2ecf20Sopenharmony_ci	[GCC_BIMC_BCR] = { 0x31000 },
32958c2ecf20Sopenharmony_ci	[GCC_RBCPR_BCR] = { 0x33000 },
32968c2ecf20Sopenharmony_ci	[GCC_TLMM_BCR] = { 0x34000 },
32978c2ecf20Sopenharmony_ci	[GCC_USB_HS_BCR] = { 0x41000 },
32988c2ecf20Sopenharmony_ci	[GCC_USB2A_PHY_BCR] = { 0x41028 },
32998c2ecf20Sopenharmony_ci	[GCC_SDCC1_BCR] = { 0x42000 },
33008c2ecf20Sopenharmony_ci	[GCC_SDCC2_BCR] = { 0x43000 },
33018c2ecf20Sopenharmony_ci	[GCC_PDM_BCR] = { 0x44000 },
33028c2ecf20Sopenharmony_ci	[GCC_SNOC_BUS_TIMEOUT0_BCR] = { 0x47000 },
33038c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT0_BCR] = { 0x48000 },
33048c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT1_BCR] = { 0x48008 },
33058c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT2_BCR] = { 0x48010 },
33068c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT3_BCR] = { 0x48018 },
33078c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT4_BCR] = { 0x48020 },
33088c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT5_BCR] = { 0x48028 },
33098c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT6_BCR] = { 0x48030 },
33108c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT7_BCR] = { 0x48038 },
33118c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT8_BCR] = { 0x48040 },
33128c2ecf20Sopenharmony_ci	[GCC_PCNOC_BUS_TIMEOUT9_BCR] = { 0x48048 },
33138c2ecf20Sopenharmony_ci	[GCC_MMSS_BCR] = { 0x4b000 },
33148c2ecf20Sopenharmony_ci	[GCC_VENUS0_BCR] = { 0x4c014 },
33158c2ecf20Sopenharmony_ci	[GCC_MDSS_BCR] = { 0x4d074 },
33168c2ecf20Sopenharmony_ci	[GCC_CAMSS_PHY0_BCR] = { 0x4e018 },
33178c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0_BCR] = { 0x4e038 },
33188c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0PHY_BCR] = { 0x4e044 },
33198c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0RDI_BCR] = { 0x4e04c },
33208c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI0PIX_BCR] = { 0x4e054 },
33218c2ecf20Sopenharmony_ci	[GCC_CAMSS_PHY1_BCR] = { 0x4f018 },
33228c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1_BCR] = { 0x4f038 },
33238c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1PHY_BCR] = { 0x4f044 },
33248c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1RDI_BCR] = { 0x4f04c },
33258c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI1PIX_BCR] = { 0x4f054 },
33268c2ecf20Sopenharmony_ci	[GCC_CAMSS_ISPIF_BCR] = { 0x50000 },
33278c2ecf20Sopenharmony_ci	[GCC_CAMSS_CCI_BCR] = { 0x51014 },
33288c2ecf20Sopenharmony_ci	[GCC_CAMSS_MCLK0_BCR] = { 0x52014 },
33298c2ecf20Sopenharmony_ci	[GCC_CAMSS_MCLK1_BCR] = { 0x53014 },
33308c2ecf20Sopenharmony_ci	[GCC_CAMSS_GP0_BCR] = { 0x54014 },
33318c2ecf20Sopenharmony_ci	[GCC_CAMSS_GP1_BCR] = { 0x55014 },
33328c2ecf20Sopenharmony_ci	[GCC_CAMSS_TOP_BCR] = { 0x56000 },
33338c2ecf20Sopenharmony_ci	[GCC_CAMSS_MICRO_BCR] = { 0x56008 },
33348c2ecf20Sopenharmony_ci	[GCC_CAMSS_JPEG_BCR] = { 0x57018 },
33358c2ecf20Sopenharmony_ci	[GCC_CAMSS_VFE_BCR] = { 0x58030 },
33368c2ecf20Sopenharmony_ci	[GCC_CAMSS_CSI_VFE0_BCR] = { 0x5804c },
33378c2ecf20Sopenharmony_ci	[GCC_OXILI_BCR] = { 0x59018 },
33388c2ecf20Sopenharmony_ci	[GCC_GMEM_BCR] = { 0x5902c },
33398c2ecf20Sopenharmony_ci	[GCC_CAMSS_AHB_BCR] = { 0x5a018 },
33408c2ecf20Sopenharmony_ci	[GCC_MDP_TBU_BCR] = { 0x62000 },
33418c2ecf20Sopenharmony_ci	[GCC_GFX_TBU_BCR] = { 0x63000 },
33428c2ecf20Sopenharmony_ci	[GCC_GFX_TCU_BCR] = { 0x64000 },
33438c2ecf20Sopenharmony_ci	[GCC_MSS_TBU_AXI_BCR] = { 0x65000 },
33448c2ecf20Sopenharmony_ci	[GCC_MSS_TBU_GSS_AXI_BCR] = { 0x66000 },
33458c2ecf20Sopenharmony_ci	[GCC_MSS_TBU_Q6_AXI_BCR] = { 0x67000 },
33468c2ecf20Sopenharmony_ci	[GCC_GTCU_AHB_BCR] = { 0x68000 },
33478c2ecf20Sopenharmony_ci	[GCC_SMMU_CFG_BCR] = { 0x69000 },
33488c2ecf20Sopenharmony_ci	[GCC_VFE_TBU_BCR] = { 0x6a000 },
33498c2ecf20Sopenharmony_ci	[GCC_VENUS_TBU_BCR] = { 0x6b000 },
33508c2ecf20Sopenharmony_ci	[GCC_JPEG_TBU_BCR] = { 0x6c000 },
33518c2ecf20Sopenharmony_ci	[GCC_PRONTO_TBU_BCR] = { 0x6d000 },
33528c2ecf20Sopenharmony_ci	[GCC_SMMU_CATS_BCR] = { 0x7c000 },
33538c2ecf20Sopenharmony_ci};
33548c2ecf20Sopenharmony_ci
33558c2ecf20Sopenharmony_cistatic const struct regmap_config gcc_msm8916_regmap_config = {
33568c2ecf20Sopenharmony_ci	.reg_bits	= 32,
33578c2ecf20Sopenharmony_ci	.reg_stride	= 4,
33588c2ecf20Sopenharmony_ci	.val_bits	= 32,
33598c2ecf20Sopenharmony_ci	.max_register	= 0x80000,
33608c2ecf20Sopenharmony_ci	.fast_io	= true,
33618c2ecf20Sopenharmony_ci};
33628c2ecf20Sopenharmony_ci
33638c2ecf20Sopenharmony_cistatic const struct qcom_cc_desc gcc_msm8916_desc = {
33648c2ecf20Sopenharmony_ci	.config = &gcc_msm8916_regmap_config,
33658c2ecf20Sopenharmony_ci	.clks = gcc_msm8916_clocks,
33668c2ecf20Sopenharmony_ci	.num_clks = ARRAY_SIZE(gcc_msm8916_clocks),
33678c2ecf20Sopenharmony_ci	.resets = gcc_msm8916_resets,
33688c2ecf20Sopenharmony_ci	.num_resets = ARRAY_SIZE(gcc_msm8916_resets),
33698c2ecf20Sopenharmony_ci	.gdscs = gcc_msm8916_gdscs,
33708c2ecf20Sopenharmony_ci	.num_gdscs = ARRAY_SIZE(gcc_msm8916_gdscs),
33718c2ecf20Sopenharmony_ci};
33728c2ecf20Sopenharmony_ci
33738c2ecf20Sopenharmony_cistatic const struct of_device_id gcc_msm8916_match_table[] = {
33748c2ecf20Sopenharmony_ci	{ .compatible = "qcom,gcc-msm8916" },
33758c2ecf20Sopenharmony_ci	{ }
33768c2ecf20Sopenharmony_ci};
33778c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(of, gcc_msm8916_match_table);
33788c2ecf20Sopenharmony_ci
33798c2ecf20Sopenharmony_cistatic int gcc_msm8916_probe(struct platform_device *pdev)
33808c2ecf20Sopenharmony_ci{
33818c2ecf20Sopenharmony_ci	int ret;
33828c2ecf20Sopenharmony_ci	struct device *dev = &pdev->dev;
33838c2ecf20Sopenharmony_ci
33848c2ecf20Sopenharmony_ci	ret = qcom_cc_register_board_clk(dev, "xo_board", "xo", 19200000);
33858c2ecf20Sopenharmony_ci	if (ret)
33868c2ecf20Sopenharmony_ci		return ret;
33878c2ecf20Sopenharmony_ci
33888c2ecf20Sopenharmony_ci	ret = qcom_cc_register_sleep_clk(dev);
33898c2ecf20Sopenharmony_ci	if (ret)
33908c2ecf20Sopenharmony_ci		return ret;
33918c2ecf20Sopenharmony_ci
33928c2ecf20Sopenharmony_ci	return qcom_cc_probe(pdev, &gcc_msm8916_desc);
33938c2ecf20Sopenharmony_ci}
33948c2ecf20Sopenharmony_ci
33958c2ecf20Sopenharmony_cistatic struct platform_driver gcc_msm8916_driver = {
33968c2ecf20Sopenharmony_ci	.probe		= gcc_msm8916_probe,
33978c2ecf20Sopenharmony_ci	.driver		= {
33988c2ecf20Sopenharmony_ci		.name	= "gcc-msm8916",
33998c2ecf20Sopenharmony_ci		.of_match_table = gcc_msm8916_match_table,
34008c2ecf20Sopenharmony_ci	},
34018c2ecf20Sopenharmony_ci};
34028c2ecf20Sopenharmony_ci
34038c2ecf20Sopenharmony_cistatic int __init gcc_msm8916_init(void)
34048c2ecf20Sopenharmony_ci{
34058c2ecf20Sopenharmony_ci	return platform_driver_register(&gcc_msm8916_driver);
34068c2ecf20Sopenharmony_ci}
34078c2ecf20Sopenharmony_cicore_initcall(gcc_msm8916_init);
34088c2ecf20Sopenharmony_ci
34098c2ecf20Sopenharmony_cistatic void __exit gcc_msm8916_exit(void)
34108c2ecf20Sopenharmony_ci{
34118c2ecf20Sopenharmony_ci	platform_driver_unregister(&gcc_msm8916_driver);
34128c2ecf20Sopenharmony_ci}
34138c2ecf20Sopenharmony_cimodule_exit(gcc_msm8916_exit);
34148c2ecf20Sopenharmony_ci
34158c2ecf20Sopenharmony_ciMODULE_DESCRIPTION("Qualcomm GCC MSM8916 Driver");
34168c2ecf20Sopenharmony_ciMODULE_LICENSE("GPL v2");
34178c2ecf20Sopenharmony_ciMODULE_ALIAS("platform:gcc-msm8916");
3418