Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  mmcc-msm8998.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 */


#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/clk-provider.h>
#include <linux/regmap.h>

#include <dt-bindings/clock/qcom,mmcc-msm8998.h>

#include "common.h"
#include "clk-regmap.h"
#include "clk-regmap-divider.h"
#include "clk-alpha-pll.h"
#include "clk-rcg.h"
#include "clk-branch.h"
#include "reset.h"
#include "gdsc.h"

enum {
 P_XO,
 P_GPLL0,
 P_GPLL0_DIV,
 P_MMPLL0_OUT_EVEN,
 P_MMPLL1_OUT_EVEN,
 P_MMPLL3_OUT_EVEN,
 P_MMPLL4_OUT_EVEN,
 P_MMPLL5_OUT_EVEN,
 P_MMPLL6_OUT_EVEN,
 P_MMPLL7_OUT_EVEN,
 P_MMPLL10_OUT_EVEN,
 P_DSI0PLL,
 P_DSI1PLL,
 P_DSI0PLL_BYTE,
 P_DSI1PLL_BYTE,
 P_HDMIPLL,
 P_DPVCO,
 P_DPLINK,
};

static const struct clk_div_table post_div_table_fabia_even[] = {
 { 0x0, 1 },
 { 0x1, 2 },
 { 0x3, 4 },
 { 0x7, 8 },
 { }
};

static struct clk_alpha_pll mmpll0 = {
 .offset = 0xc000,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr = {
  .enable_reg = 0x1e0,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mmpll0",
   .parent_data = &(const struct clk_parent_data){
    .fw_name = "xo"
   },
   .num_parents = 1,
   .ops = &clk_alpha_pll_fixed_fabia_ops,
  },
 },
};

static struct clk_alpha_pll_postdiv mmpll0_out_even = {
 .offset = 0xc000,
 .post_div_shift = 8,
 .post_div_table = post_div_table_fabia_even,
 .num_post_div = ARRAY_SIZE(post_div_table_fabia_even),
 .width = 4,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll0_out_even",
  .parent_hws = (const struct clk_hw *[]){ &mmpll0.clkr.hw },
  .num_parents = 1,
  .ops = &clk_alpha_pll_postdiv_fabia_ops,
 },
};

static struct clk_alpha_pll mmpll1 = {
 .offset = 0xc050,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr = {
  .enable_reg = 0x1e0,
  .enable_mask = BIT(1),
  .hw.init = &(struct clk_init_data){
   .name = "mmpll1",
   .parent_data = &(const struct clk_parent_data){
    .fw_name = "xo"
   },
   .num_parents = 1,
   .ops = &clk_alpha_pll_fixed_fabia_ops,
  },
 },
};

static struct clk_alpha_pll_postdiv mmpll1_out_even = {
 .offset = 0xc050,
 .post_div_shift = 8,
 .post_div_table = post_div_table_fabia_even,
 .num_post_div = ARRAY_SIZE(post_div_table_fabia_even),
 .width = 4,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll1_out_even",
  .parent_hws = (const struct clk_hw *[]){ &mmpll1.clkr.hw },
  .num_parents = 1,
  .ops = &clk_alpha_pll_postdiv_fabia_ops,
 },
};

static struct clk_alpha_pll mmpll3 = {
 .offset = 0x0,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll3",
  .parent_data = &(const struct clk_parent_data){
   .fw_name = "xo"
  },
  .num_parents = 1,
  .ops = &clk_alpha_pll_fixed_fabia_ops,
 },
};

static struct clk_alpha_pll_postdiv mmpll3_out_even = {
 .offset = 0x0,
 .post_div_shift = 8,
 .post_div_table = post_div_table_fabia_even,
 .num_post_div = ARRAY_SIZE(post_div_table_fabia_even),
 .width = 4,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll3_out_even",
  .parent_hws = (const struct clk_hw *[]){ &mmpll3.clkr.hw },
  .num_parents = 1,
  .ops = &clk_alpha_pll_postdiv_fabia_ops,
 },
};

static struct clk_alpha_pll mmpll4 = {
 .offset = 0x50,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll4",
  .parent_data = &(const struct clk_parent_data){
   .fw_name = "xo"
  },
  .num_parents = 1,
  .ops = &clk_alpha_pll_fixed_fabia_ops,
 },
};

static struct clk_alpha_pll_postdiv mmpll4_out_even = {
 .offset = 0x50,
 .post_div_shift = 8,
 .post_div_table = post_div_table_fabia_even,
 .num_post_div = ARRAY_SIZE(post_div_table_fabia_even),
 .width = 4,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll4_out_even",
  .parent_hws = (const struct clk_hw *[]){ &mmpll4.clkr.hw },
  .num_parents = 1,
  .ops = &clk_alpha_pll_postdiv_fabia_ops,
 },
};

static struct clk_alpha_pll mmpll5 = {
 .offset = 0xa0,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll5",
  .parent_data = &(const struct clk_parent_data){
   .fw_name = "xo"
  },
  .num_parents = 1,
  .ops = &clk_alpha_pll_fixed_fabia_ops,
 },
};

static struct clk_alpha_pll_postdiv mmpll5_out_even = {
 .offset = 0xa0,
 .post_div_shift = 8,
 .post_div_table = post_div_table_fabia_even,
 .num_post_div = ARRAY_SIZE(post_div_table_fabia_even),
 .width = 4,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll5_out_even",
  .parent_hws = (const struct clk_hw *[]){ &mmpll5.clkr.hw },
  .num_parents = 1,
  .ops = &clk_alpha_pll_postdiv_fabia_ops,
 },
};

static struct clk_alpha_pll mmpll6 = {
 .offset = 0xf0,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll6",
  .parent_data = &(const struct clk_parent_data){
   .fw_name = "xo"
  },
  .num_parents = 1,
  .ops = &clk_alpha_pll_fixed_fabia_ops,
 },
};

static struct clk_alpha_pll_postdiv mmpll6_out_even = {
 .offset = 0xf0,
 .post_div_shift = 8,
 .post_div_table = post_div_table_fabia_even,
 .num_post_div = ARRAY_SIZE(post_div_table_fabia_even),
 .width = 4,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll6_out_even",
  .parent_hws = (const struct clk_hw *[]){ &mmpll6.clkr.hw },
  .num_parents = 1,
  .ops = &clk_alpha_pll_postdiv_fabia_ops,
 },
};

static struct clk_alpha_pll mmpll7 = {
 .offset = 0x140,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll7",
  .parent_data = &(const struct clk_parent_data){
   .fw_name = "xo"
  },
  .num_parents = 1,
  .ops = &clk_alpha_pll_fixed_fabia_ops,
 },
};

static struct clk_alpha_pll_postdiv mmpll7_out_even = {
 .offset = 0x140,
 .post_div_shift = 8,
 .post_div_table = post_div_table_fabia_even,
 .num_post_div = ARRAY_SIZE(post_div_table_fabia_even),
 .width = 4,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll7_out_even",
  .parent_hws = (const struct clk_hw *[]){ &mmpll7.clkr.hw },
  .num_parents = 1,
  .ops = &clk_alpha_pll_postdiv_fabia_ops,
 },
};

static struct clk_alpha_pll mmpll10 = {
 .offset = 0x190,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll10",
  .parent_data = &(const struct clk_parent_data){
   .fw_name = "xo"
  },
  .num_parents = 1,
  .ops = &clk_alpha_pll_fixed_fabia_ops,
 },
};

static struct clk_alpha_pll_postdiv mmpll10_out_even = {
 .offset = 0x190,
 .post_div_shift = 8,
 .post_div_table = post_div_table_fabia_even,
 .num_post_div = ARRAY_SIZE(post_div_table_fabia_even),
 .width = 4,
 .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mmpll10_out_even",
  .parent_hws = (const struct clk_hw *[]){ &mmpll10.clkr.hw },
  .num_parents = 1,
  .ops = &clk_alpha_pll_postdiv_fabia_ops,
 },
};

static const struct parent_map mmss_xo_hdmi_map[] = {
 { P_XO, 0 },
 { P_HDMIPLL, 1 },
};

static const struct clk_parent_data mmss_xo_hdmi[] = {
 { .fw_name = "xo" },
 { .fw_name = "hdmipll" },
};

static const struct parent_map mmss_xo_dsi0pll_dsi1pll_map[] = {
 { P_XO, 0 },
 { P_DSI0PLL, 1 },
 { P_DSI1PLL, 2 },
};

static const struct clk_parent_data mmss_xo_dsi0pll_dsi1pll[] = {
 { .fw_name = "xo" },
 { .fw_name = "dsi0dsi" },
 { .fw_name = "dsi1dsi" },
};

static const struct parent_map mmss_xo_dsibyte_map[] = {
 { P_XO, 0 },
 { P_DSI0PLL_BYTE, 1 },
 { P_DSI1PLL_BYTE, 2 },
};

static const struct clk_parent_data mmss_xo_dsibyte[] = {
 { .fw_name = "xo" },
 { .fw_name = "dsi0byte" },
 { .fw_name = "dsi1byte" },
};

static const struct parent_map mmss_xo_dp_map[] = {
 { P_XO, 0 },
 { P_DPLINK, 1 },
 { P_DPVCO, 2 },
};

static const struct clk_parent_data mmss_xo_dp[] = {
 { .fw_name = "xo" },
 { .fw_name = "dplink" },
 { .fw_name = "dpvco" },
};

static const struct parent_map mmss_xo_gpll0_gpll0_div_map[] = {
 { P_XO, 0 },
 { P_GPLL0, 5 },
 { P_GPLL0_DIV, 6 },
};

static const struct clk_parent_data mmss_xo_gpll0_gpll0_div[] = {
 { .fw_name = "xo" },
 { .fw_name = "gpll0" },
 { .fw_name = "gpll0_div", .name = "gcc_mmss_gpll0_div_clk" },
};

static const struct parent_map mmss_xo_mmpll0_gpll0_gpll0_div_map[] = {
 { P_XO, 0 },
 { P_MMPLL0_OUT_EVEN, 1 },
 { P_GPLL0, 5 },
 { P_GPLL0_DIV, 6 },
};

static const struct clk_parent_data mmss_xo_mmpll0_gpll0_gpll0_div[] = {
 { .fw_name = "xo" },
 { .hw = &mmpll0_out_even.clkr.hw },
 { .fw_name = "gpll0" },
 { .fw_name = "gpll0_div", .name = "gcc_mmss_gpll0_div_clk" },
};

static const struct parent_map mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div_map[] = {
 { P_XO, 0 },
 { P_MMPLL0_OUT_EVEN, 1 },
 { P_MMPLL1_OUT_EVEN, 2 },
 { P_GPLL0, 5 },
 { P_GPLL0_DIV, 6 },
};

static const struct clk_parent_data mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div[] = {
 { .fw_name = "xo" },
 { .hw = &mmpll0_out_even.clkr.hw },
 { .hw = &mmpll1_out_even.clkr.hw },
 { .fw_name = "gpll0" },
 { .fw_name = "gpll0_div", .name = "gcc_mmss_gpll0_div_clk" },
};

static const struct parent_map mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div_map[] = {
 { P_XO, 0 },
 { P_MMPLL0_OUT_EVEN, 1 },
 { P_MMPLL5_OUT_EVEN, 2 },
 { P_GPLL0, 5 },
 { P_GPLL0_DIV, 6 },
};

static const struct clk_parent_data mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div[] = {
 { .fw_name = "xo" },
 { .hw = &mmpll0_out_even.clkr.hw },
 { .hw = &mmpll5_out_even.clkr.hw },
 { .fw_name = "gpll0" },
 { .fw_name = "gpll0_div", .name = "gcc_mmss_gpll0_div_clk" },
};

static const struct parent_map mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div_map[] = {
 { P_XO, 0 },
 { P_MMPLL0_OUT_EVEN, 1 },
 { P_MMPLL3_OUT_EVEN, 3 },
 { P_MMPLL6_OUT_EVEN, 4 },
 { P_GPLL0, 5 },
 { P_GPLL0_DIV, 6 },
};

static const struct clk_parent_data mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div[] = {
 { .fw_name = "xo" },
 { .hw = &mmpll0_out_even.clkr.hw },
 { .hw = &mmpll3_out_even.clkr.hw },
 { .hw = &mmpll6_out_even.clkr.hw },
 { .fw_name = "gpll0" },
 { .fw_name = "gpll0_div", .name = "gcc_mmss_gpll0_div_clk" },
};

static const struct parent_map mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map[] = {
 { P_XO, 0 },
 { P_MMPLL4_OUT_EVEN, 1 },
 { P_MMPLL7_OUT_EVEN, 2 },
 { P_MMPLL10_OUT_EVEN, 3 },
 { P_GPLL0, 5 },
 { P_GPLL0_DIV, 6 },
};

static const struct clk_parent_data mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div[] = {
 { .fw_name = "xo" },
 { .hw = &mmpll4_out_even.clkr.hw },
 { .hw = &mmpll7_out_even.clkr.hw },
 { .hw = &mmpll10_out_even.clkr.hw },
 { .fw_name = "gpll0" },
 { .fw_name = "gpll0_div", .name = "gcc_mmss_gpll0_div_clk" },
};

static const struct parent_map mmss_xo_mmpll0_mmpll7_mmpll10_gpll0_gpll0_div_map[] = {
 { P_XO, 0 },
 { P_MMPLL0_OUT_EVEN, 1 },
 { P_MMPLL7_OUT_EVEN, 2 },
 { P_MMPLL10_OUT_EVEN, 3 },
 { P_GPLL0, 5 },
 { P_GPLL0_DIV, 6 },
};

static const struct clk_parent_data mmss_xo_mmpll0_mmpll7_mmpll10_gpll0_gpll0_div[] = {
 { .fw_name = "xo" },
 { .hw = &mmpll0_out_even.clkr.hw },
 { .hw = &mmpll7_out_even.clkr.hw },
 { .hw = &mmpll10_out_even.clkr.hw },
 { .fw_name = "gpll0" },
 { .fw_name = "gpll0_div", .name = "gcc_mmss_gpll0_div_clk" },
};

static const struct parent_map mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map[] = {
 { P_XO, 0 },
 { P_MMPLL0_OUT_EVEN, 1 },
 { P_MMPLL4_OUT_EVEN, 2 },
 { P_MMPLL7_OUT_EVEN, 3 },
 { P_MMPLL10_OUT_EVEN, 4 },
 { P_GPLL0, 5 },
 { P_GPLL0_DIV, 6 },
};

static const struct clk_parent_data mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div[] = {
 { .fw_name = "xo" },
 { .hw = &mmpll0_out_even.clkr.hw },
 { .hw = &mmpll4_out_even.clkr.hw },
 { .hw = &mmpll7_out_even.clkr.hw },
 { .hw = &mmpll10_out_even.clkr.hw },
 { .fw_name = "gpll0" },
 { .fw_name = "gpll0_div", .name = "gcc_mmss_gpll0_div_clk" },
};

static struct clk_rcg2 byte0_clk_src = {
 .cmd_rcgr = 0x2120,
 .hid_width = 5,
 .parent_map = mmss_xo_dsibyte_map,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "byte0_clk_src",
  .parent_data = mmss_xo_dsibyte,
  .num_parents = ARRAY_SIZE(mmss_xo_dsibyte),
  .ops = &clk_byte2_ops,
  .flags = CLK_SET_RATE_PARENT,
 },
};

static struct clk_rcg2 byte1_clk_src = {
 .cmd_rcgr = 0x2140,
 .hid_width = 5,
 .parent_map = mmss_xo_dsibyte_map,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "byte1_clk_src",
  .parent_data = mmss_xo_dsibyte,
  .num_parents = ARRAY_SIZE(mmss_xo_dsibyte),
  .ops = &clk_byte2_ops,
  .flags = CLK_SET_RATE_PARENT,
 },
};

static const struct freq_tbl ftbl_cci_clk_src[] = {
 F(37500000, P_GPLL0, 16, 0, 0),
 F(50000000, P_GPLL0, 12, 0, 0),
 F(100000000, P_GPLL0, 6, 0, 0),
 { }
};

static struct clk_rcg2 cci_clk_src = {
 .cmd_rcgr = 0x3300,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_cci_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "cci_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_cpp_clk_src[] = {
 F(100000000, P_GPLL0, 6, 0, 0),
 F(200000000, P_GPLL0, 3, 0, 0),
 F(384000000, P_MMPLL4_OUT_EVEN, 2, 0, 0),
 F(404000000, P_MMPLL0_OUT_EVEN, 2, 0, 0),
 F(480000000, P_MMPLL7_OUT_EVEN, 2, 0, 0),
 F(576000000, P_MMPLL10_OUT_EVEN, 1, 0, 0),
 F(600000000, P_GPLL0, 1, 0, 0),
 { }
};

static struct clk_rcg2 cpp_clk_src = {
 .cmd_rcgr = 0x3640,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_cpp_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "cpp_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_csi_clk_src[] = {
 F(164571429, P_MMPLL10_OUT_EVEN, 3.5, 0, 0),
 F(256000000, P_MMPLL4_OUT_EVEN, 3, 0, 0),
 F(274290000, P_MMPLL7_OUT_EVEN, 3.5, 0, 0),
 F(300000000, P_GPLL0, 2, 0, 0),
 F(384000000, P_MMPLL4_OUT_EVEN, 2, 0, 0),
 F(576000000, P_MMPLL10_OUT_EVEN, 1, 0, 0),
 { }
};

static struct clk_rcg2 csi0_clk_src = {
 .cmd_rcgr = 0x3090,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_csi_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "csi0_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 csi1_clk_src = {
 .cmd_rcgr = 0x3100,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_csi_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "csi1_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 csi2_clk_src = {
 .cmd_rcgr = 0x3160,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_csi_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "csi2_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 csi3_clk_src = {
 .cmd_rcgr = 0x31c0,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_csi_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "csi3_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_csiphy_clk_src[] = {
 F(164571429, P_MMPLL10_OUT_EVEN, 3.5, 0, 0),
 F(256000000, P_MMPLL4_OUT_EVEN, 3, 0, 0),
 F(274290000, P_MMPLL7_OUT_EVEN, 3.5, 0, 0),
 F(300000000, P_GPLL0, 2, 0, 0),
 F(384000000, P_MMPLL4_OUT_EVEN, 2, 0, 0),
 { }
};

static struct clk_rcg2 csiphy_clk_src = {
 .cmd_rcgr = 0x3800,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_csiphy_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "csiphy_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_csiphytimer_clk_src[] = {
 F(200000000, P_GPLL0, 3, 0, 0),
 F(269333333, P_MMPLL0_OUT_EVEN, 3, 0, 0),
 { }
};

static struct clk_rcg2 csi0phytimer_clk_src = {
 .cmd_rcgr = 0x3000,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_csiphytimer_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "csi0phytimer_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 csi1phytimer_clk_src = {
 .cmd_rcgr = 0x3030,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_csiphytimer_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "csi1phytimer_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 csi2phytimer_clk_src = {
 .cmd_rcgr = 0x3060,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_csiphytimer_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "csi2phytimer_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_dp_aux_clk_src[] = {
 F(19200000, P_XO, 1, 0, 0),
 { }
};

static struct clk_rcg2 dp_aux_clk_src = {
 .cmd_rcgr = 0x2260,
 .hid_width = 5,
 .parent_map = mmss_xo_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_dp_aux_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "dp_aux_clk_src",
  .parent_data = mmss_xo_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_dp_crypto_clk_src[] = {
 F(101250, P_DPLINK, 1, 5, 16),
 F(168750, P_DPLINK, 1, 5, 16),
 F(337500, P_DPLINK, 1, 5, 16),
 { }
};

static struct clk_rcg2 dp_crypto_clk_src = {
 .cmd_rcgr = 0x2220,
 .hid_width = 5,
 .parent_map = mmss_xo_dp_map,
 .freq_tbl = ftbl_dp_crypto_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "dp_crypto_clk_src",
  .parent_data = mmss_xo_dp,
  .num_parents = ARRAY_SIZE(mmss_xo_dp),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_dp_link_clk_src[] = {
 F(162000, P_DPLINK, 2, 0, 0),
 F(270000, P_DPLINK, 2, 0, 0),
 F(540000, P_DPLINK, 2, 0, 0),
 { }
};

static struct clk_rcg2 dp_link_clk_src = {
 .cmd_rcgr = 0x2200,
 .hid_width = 5,
 .parent_map = mmss_xo_dp_map,
 .freq_tbl = ftbl_dp_link_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "dp_link_clk_src",
  .parent_data = mmss_xo_dp,
  .num_parents = ARRAY_SIZE(mmss_xo_dp),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_dp_pixel_clk_src[] = {
 F(154000000, P_DPVCO, 1, 0, 0),
 F(337500000, P_DPVCO, 2, 0, 0),
 F(675000000, P_DPVCO, 2, 0, 0),
 { }
};

static struct clk_rcg2 dp_pixel_clk_src = {
 .cmd_rcgr = 0x2240,
 .hid_width = 5,
 .parent_map = mmss_xo_dp_map,
 .freq_tbl = ftbl_dp_pixel_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "dp_pixel_clk_src",
  .parent_data = mmss_xo_dp,
  .num_parents = ARRAY_SIZE(mmss_xo_dp),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_esc_clk_src[] = {
 F(19200000, P_XO, 1, 0, 0),
 { }
};

static struct clk_rcg2 esc0_clk_src = {
 .cmd_rcgr = 0x2160,
 .hid_width = 5,
 .parent_map = mmss_xo_dsibyte_map,
 .freq_tbl = ftbl_esc_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "esc0_clk_src",
  .parent_data = mmss_xo_dsibyte,
  .num_parents = ARRAY_SIZE(mmss_xo_dsibyte),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 esc1_clk_src = {
 .cmd_rcgr = 0x2180,
 .hid_width = 5,
 .parent_map = mmss_xo_dsibyte_map,
 .freq_tbl = ftbl_esc_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "esc1_clk_src",
  .parent_data = mmss_xo_dsibyte,
  .num_parents = ARRAY_SIZE(mmss_xo_dsibyte),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_extpclk_clk_src[] = {
 { .src = P_HDMIPLL },
 { }
};

static struct clk_rcg2 extpclk_clk_src = {
 .cmd_rcgr = 0x2060,
 .hid_width = 5,
 .parent_map = mmss_xo_hdmi_map,
 .freq_tbl = ftbl_extpclk_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "extpclk_clk_src",
  .parent_data = mmss_xo_hdmi,
  .num_parents = ARRAY_SIZE(mmss_xo_hdmi),
  .ops = &clk_byte_ops,
  .flags = CLK_SET_RATE_PARENT,
 },
};

static const struct freq_tbl ftbl_fd_core_clk_src[] = {
 F(100000000, P_GPLL0, 6, 0, 0),
 F(200000000, P_GPLL0, 3, 0, 0),
 F(404000000, P_MMPLL0_OUT_EVEN, 2, 0, 0),
 F(480000000, P_MMPLL7_OUT_EVEN, 2, 0, 0),
 F(576000000, P_MMPLL10_OUT_EVEN, 1, 0, 0),
 { }
};

static struct clk_rcg2 fd_core_clk_src = {
 .cmd_rcgr = 0x3b00,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_fd_core_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "fd_core_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_hdmi_clk_src[] = {
 F(19200000, P_XO, 1, 0, 0),
 { }
};

static struct clk_rcg2 hdmi_clk_src = {
 .cmd_rcgr = 0x2100,
 .hid_width = 5,
 .parent_map = mmss_xo_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_hdmi_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "hdmi_clk_src",
  .parent_data = mmss_xo_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_jpeg0_clk_src[] = {
 F(75000000, P_GPLL0, 8, 0, 0),
 F(150000000, P_GPLL0, 4, 0, 0),
 F(320000000, P_MMPLL7_OUT_EVEN, 3, 0, 0),
 F(480000000, P_MMPLL7_OUT_EVEN, 2, 0, 0),
 { }
};

static struct clk_rcg2 jpeg0_clk_src = {
 .cmd_rcgr = 0x3500,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_jpeg0_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "jpeg0_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_maxi_clk_src[] = {
 F(19200000, P_XO, 1, 0, 0),
 F(75000000, P_GPLL0_DIV, 4, 0, 0),
 F(171428571, P_GPLL0, 3.5, 0, 0),
 F(323200000, P_MMPLL0_OUT_EVEN, 2.5, 0, 0),
 F(406000000, P_MMPLL1_OUT_EVEN, 2, 0, 0),
 { }
};

static struct clk_rcg2 maxi_clk_src = {
 .cmd_rcgr = 0xf020,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_maxi_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "maxi_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_mclk_clk_src[] = {
 F(4800000, P_XO, 4, 0, 0),
 F(6000000, P_GPLL0_DIV, 10, 1, 5),
 F(8000000, P_GPLL0_DIV, 1, 2, 75),
 F(9600000, P_XO, 2, 0, 0),
 F(16666667, P_GPLL0_DIV, 2, 1, 9),
 F(19200000, P_XO, 1, 0, 0),
 F(24000000, P_GPLL0_DIV, 1, 2, 25),
 F(33333333, P_GPLL0_DIV, 1, 2, 9),
 F(48000000, P_GPLL0, 1, 2, 25),
 F(66666667, P_GPLL0, 1, 2, 9),
 { }
};

static struct clk_rcg2 mclk0_clk_src = {
 .cmd_rcgr = 0x3360,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_mclk_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mclk0_clk_src",
  .parent_data = mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 mclk1_clk_src = {
 .cmd_rcgr = 0x3390,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_mclk_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mclk1_clk_src",
  .parent_data = mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 mclk2_clk_src = {
 .cmd_rcgr = 0x33c0,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_mclk_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mclk2_clk_src",
  .parent_data = mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 mclk3_clk_src = {
 .cmd_rcgr = 0x33f0,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_mclk_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mclk3_clk_src",
  .parent_data = mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_mdp_clk_src[] = {
 F(85714286, P_GPLL0, 7, 0, 0),
 F(100000000, P_GPLL0, 6, 0, 0),
 F(150000000, P_GPLL0, 4, 0, 0),
 F(171428571, P_GPLL0, 3.5, 0, 0),
 F(200000000, P_GPLL0, 3, 0, 0),
 F(275000000, P_MMPLL5_OUT_EVEN, 3, 0, 0),
 F(300000000, P_GPLL0, 2, 0, 0),
 F(330000000, P_MMPLL5_OUT_EVEN, 2.5, 0, 0),
 F(412500000, P_MMPLL5_OUT_EVEN, 2, 0, 0),
 { }
};

static struct clk_rcg2 mdp_clk_src = {
 .cmd_rcgr = 0x2040,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_mdp_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "mdp_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_vsync_clk_src[] = {
 F(19200000, P_XO, 1, 0, 0),
 { }
};

static struct clk_rcg2 vsync_clk_src = {
 .cmd_rcgr = 0x2080,
 .hid_width = 5,
 .parent_map = mmss_xo_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_vsync_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "vsync_clk_src",
  .parent_data = mmss_xo_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_ahb_clk_src[] = {
 F(19200000, P_XO, 1, 0, 0),
 F(40000000, P_GPLL0, 15, 0, 0),
 F(80800000, P_MMPLL0_OUT_EVEN, 10, 0, 0),
 { }
};

static struct clk_rcg2 ahb_clk_src = {
 .cmd_rcgr = 0x5000,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_ahb_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "ahb_clk_src",
  .parent_data = mmss_xo_mmpll0_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_axi_clk_src[] = {
 F(75000000, P_GPLL0, 8, 0, 0),
 F(171428571, P_GPLL0, 3.5, 0, 0),
 F(240000000, P_GPLL0, 2.5, 0, 0),
 F(323200000, P_MMPLL0_OUT_EVEN, 2.5, 0, 0),
 F(406000000, P_MMPLL0_OUT_EVEN, 2, 0, 0),
 { }
};

/* RO to linux */
static struct clk_rcg2 axi_clk_src = {
 .cmd_rcgr = 0xd000,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_axi_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "axi_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 pclk0_clk_src = {
 .cmd_rcgr = 0x2000,
 .mnd_width = 8,
 .hid_width = 5,
 .parent_map = mmss_xo_dsi0pll_dsi1pll_map,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "pclk0_clk_src",
  .parent_data = mmss_xo_dsi0pll_dsi1pll,
  .num_parents = ARRAY_SIZE(mmss_xo_dsi0pll_dsi1pll),
  .ops = &clk_pixel_ops,
  .flags = CLK_SET_RATE_PARENT,
 },
};

static struct clk_rcg2 pclk1_clk_src = {
 .cmd_rcgr = 0x2020,
 .mnd_width = 8,
 .hid_width = 5,
 .parent_map = mmss_xo_dsi0pll_dsi1pll_map,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "pclk1_clk_src",
  .parent_data = mmss_xo_dsi0pll_dsi1pll,
  .num_parents = ARRAY_SIZE(mmss_xo_dsi0pll_dsi1pll),
  .ops = &clk_pixel_ops,
  .flags = CLK_SET_RATE_PARENT,
 },
};

static const struct freq_tbl ftbl_rot_clk_src[] = {
 F(171428571, P_GPLL0, 3.5, 0, 0),
 F(275000000, P_MMPLL5_OUT_EVEN, 3, 0, 0),
 F(330000000, P_MMPLL5_OUT_EVEN, 2.5, 0, 0),
 F(412500000, P_MMPLL5_OUT_EVEN, 2, 0, 0),
 { }
};

static struct clk_rcg2 rot_clk_src = {
 .cmd_rcgr = 0x21a0,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_rot_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "rot_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_video_core_clk_src[] = {
 F(200000000, P_GPLL0, 3, 0, 0),
 F(269330000, P_MMPLL0_OUT_EVEN, 3, 0, 0),
 F(355200000, P_MMPLL6_OUT_EVEN, 2.5, 0, 0),
 F(444000000, P_MMPLL6_OUT_EVEN, 2, 0, 0),
 F(533000000, P_MMPLL3_OUT_EVEN, 2, 0, 0),
 { }
};

static struct clk_rcg2 video_core_clk_src = {
 .cmd_rcgr = 0x1000,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_video_core_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "video_core_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 video_subcore0_clk_src = {
 .cmd_rcgr = 0x1060,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_video_core_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "video_subcore0_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 video_subcore1_clk_src = {
 .cmd_rcgr = 0x1080,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_video_core_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "video_subcore1_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll3_mmpll6_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static const struct freq_tbl ftbl_vfe_clk_src[] = {
 F(200000000, P_GPLL0, 3, 0, 0),
 F(300000000, P_GPLL0, 2, 0, 0),
 F(320000000, P_MMPLL7_OUT_EVEN, 3, 0, 0),
 F(384000000, P_MMPLL4_OUT_EVEN, 2, 0, 0),
 F(404000000, P_MMPLL0_OUT_EVEN, 2, 0, 0),
 F(480000000, P_MMPLL7_OUT_EVEN, 2, 0, 0),
 F(576000000, P_MMPLL10_OUT_EVEN, 1, 0, 0),
 F(600000000, P_GPLL0, 1, 0, 0),
 { }
};

static struct clk_rcg2 vfe0_clk_src = {
 .cmd_rcgr = 0x3600,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_vfe_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "vfe0_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_rcg2 vfe1_clk_src = {
 .cmd_rcgr = 0x3620,
 .hid_width = 5,
 .parent_map = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div_map,
 .freq_tbl = ftbl_vfe_clk_src,
 .clkr.hw.init = &(struct clk_init_data){
  .name = "vfe1_clk_src",
  .parent_data = mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div,
  .num_parents = ARRAY_SIZE(mmss_xo_mmpll0_mmpll4_mmpll7_mmpll10_gpll0_gpll0_div),
  .ops = &clk_rcg2_ops,
 },
};

static struct clk_branch misc_ahb_clk = {
 .halt_reg = 0x328,
 .hwcg_reg = 0x328,
 .hwcg_bit = 1,
 .clkr = {
  .enable_reg = 0x328,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "misc_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch video_core_clk = {
 .halt_reg = 0x1028,
 .clkr = {
  .enable_reg = 0x1028,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "video_core_clk",
   .parent_hws = (const struct clk_hw *[]){ &video_core_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch video_ahb_clk = {
 .halt_reg = 0x1030,
 .hwcg_reg = 0x1030,
 .hwcg_bit = 1,
 .clkr = {
  .enable_reg = 0x1030,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "video_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch video_axi_clk = {
 .halt_reg = 0x1034,
 .clkr = {
  .enable_reg = 0x1034,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "video_axi_clk",
   .parent_hws = (const struct clk_hw *[]){ &axi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
  },
 },
};

static struct clk_branch video_maxi_clk = {
 .halt_reg = 0x1038,
 .clkr = {
  .enable_reg = 0x1038,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "video_maxi_clk",
   .parent_hws = (const struct clk_hw *[]){ &maxi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch video_subcore0_clk = {
 .halt_reg = 0x1048,
 .clkr = {
  .enable_reg = 0x1048,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "video_subcore0_clk",
   .parent_hws = (const struct clk_hw *[]){ &video_subcore0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch video_subcore1_clk = {
 .halt_reg = 0x104c,
 .clkr = {
  .enable_reg = 0x104c,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "video_subcore1_clk",
   .parent_hws = (const struct clk_hw *[]){ &video_subcore1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_ahb_clk = {
 .halt_reg = 0x2308,
 .hwcg_reg = 0x2308,
 .hwcg_bit = 1,
 .clkr = {
  .enable_reg = 0x2308,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_hdmi_dp_ahb_clk = {
 .halt_reg = 0x230c,
 .clkr = {
  .enable_reg = 0x230c,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_hdmi_dp_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_axi_clk = {
 .halt_reg = 0x2310,
 .clkr = {
  .enable_reg = 0x2310,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_axi_clk",
   .parent_hws = (const struct clk_hw *[]){ &axi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
  },
 },
};

static struct clk_branch mdss_pclk0_clk = {
 .halt_reg = 0x2314,
 .clkr = {
  .enable_reg = 0x2314,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_pclk0_clk",
   .parent_hws = (const struct clk_hw *[]){ &pclk0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_pclk1_clk = {
 .halt_reg = 0x2318,
 .clkr = {
  .enable_reg = 0x2318,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_pclk1_clk",
   .parent_hws = (const struct clk_hw *[]){ &pclk1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_mdp_clk = {
 .halt_reg = 0x231c,
 .clkr = {
  .enable_reg = 0x231c,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_mdp_clk",
   .parent_hws = (const struct clk_hw *[]){ &mdp_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_mdp_lut_clk = {
 .halt_reg = 0x2320,
 .clkr = {
  .enable_reg = 0x2320,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_mdp_lut_clk",
   .parent_hws = (const struct clk_hw *[]){ &mdp_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_extpclk_clk = {
 .halt_reg = 0x2324,
 .clkr = {
  .enable_reg = 0x2324,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_extpclk_clk",
   .parent_hws = (const struct clk_hw *[]){ &extpclk_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_vsync_clk = {
 .halt_reg = 0x2328,
 .clkr = {
  .enable_reg = 0x2328,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_vsync_clk",
   .parent_hws = (const struct clk_hw *[]){ &vsync_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_hdmi_clk = {
 .halt_reg = 0x2338,
 .clkr = {
  .enable_reg = 0x2338,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_hdmi_clk",
   .parent_hws = (const struct clk_hw *[]){ &hdmi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_byte0_clk = {
 .halt_reg = 0x233c,
 .clkr = {
  .enable_reg = 0x233c,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_byte0_clk",
   .parent_hws = (const struct clk_hw *[]){ &byte0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_byte1_clk = {
 .halt_reg = 0x2340,
 .clkr = {
  .enable_reg = 0x2340,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_byte1_clk",
   .parent_hws = (const struct clk_hw *[]){ &byte1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_esc0_clk = {
 .halt_reg = 0x2344,
 .clkr = {
  .enable_reg = 0x2344,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_esc0_clk",
   .parent_hws = (const struct clk_hw *[]){ &esc0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_esc1_clk = {
 .halt_reg = 0x2348,
 .clkr = {
  .enable_reg = 0x2348,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_esc1_clk",
   .parent_hws = (const struct clk_hw *[]){ &esc1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_rot_clk = {
 .halt_reg = 0x2350,
 .clkr = {
  .enable_reg = 0x2350,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_rot_clk",
   .parent_hws = (const struct clk_hw *[]){ &rot_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_dp_link_clk = {
 .halt_reg = 0x2354,
 .clkr = {
  .enable_reg = 0x2354,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_dp_link_clk",
   .parent_hws = (const struct clk_hw *[]){ &dp_link_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_dp_link_intf_clk = {
 .halt_reg = 0x2358,
 .clkr = {
  .enable_reg = 0x2358,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_dp_link_intf_clk",
   .parent_hws = (const struct clk_hw *[]){ &dp_link_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_dp_crypto_clk = {
 .halt_reg = 0x235c,
 .clkr = {
  .enable_reg = 0x235c,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_dp_crypto_clk",
   .parent_hws = (const struct clk_hw *[]){ &dp_crypto_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_dp_pixel_clk = {
 .halt_reg = 0x2360,
 .clkr = {
  .enable_reg = 0x2360,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_dp_pixel_clk",
   .parent_hws = (const struct clk_hw *[]){ &dp_pixel_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_dp_aux_clk = {
 .halt_reg = 0x2364,
 .clkr = {
  .enable_reg = 0x2364,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_dp_aux_clk",
   .parent_hws = (const struct clk_hw *[]){ &dp_aux_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_byte0_intf_clk = {
 .halt_reg = 0x2374,
 .clkr = {
  .enable_reg = 0x2374,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_byte0_intf_clk",
   .parent_hws = (const struct clk_hw *[]){ &byte0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mdss_byte1_intf_clk = {
 .halt_reg = 0x2378,
 .clkr = {
  .enable_reg = 0x2378,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mdss_byte1_intf_clk",
   .parent_hws = (const struct clk_hw *[]){ &byte1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi0phytimer_clk = {
 .halt_reg = 0x3024,
 .clkr = {
  .enable_reg = 0x3024,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi0phytimer_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi0phytimer_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi1phytimer_clk = {
 .halt_reg = 0x3054,
 .clkr = {
  .enable_reg = 0x3054,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi1phytimer_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi1phytimer_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi2phytimer_clk = {
 .halt_reg = 0x3084,
 .clkr = {
  .enable_reg = 0x3084,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi2phytimer_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi2phytimer_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi0_clk = {
 .halt_reg = 0x30b4,
 .clkr = {
  .enable_reg = 0x30b4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi0_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi0_ahb_clk = {
 .halt_reg = 0x30bc,
 .clkr = {
  .enable_reg = 0x30bc,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi0_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi0rdi_clk = {
 .halt_reg = 0x30d4,
 .clkr = {
  .enable_reg = 0x30d4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi0rdi_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi0pix_clk = {
 .halt_reg = 0x30e4,
 .clkr = {
  .enable_reg = 0x30e4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi0pix_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi1_clk = {
 .halt_reg = 0x3124,
 .clkr = {
  .enable_reg = 0x3124,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi1_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi1_ahb_clk = {
 .halt_reg = 0x3128,
 .clkr = {
  .enable_reg = 0x3128,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi1_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi1rdi_clk = {
 .halt_reg = 0x3144,
 .clkr = {
  .enable_reg = 0x3144,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi1rdi_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi1pix_clk = {
 .halt_reg = 0x3154,
 .clkr = {
  .enable_reg = 0x3154,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi1pix_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi2_clk = {
 .halt_reg = 0x3184,
 .clkr = {
  .enable_reg = 0x3184,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi2_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi2_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi2_ahb_clk = {
 .halt_reg = 0x3188,
 .clkr = {
  .enable_reg = 0x3188,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi2_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi2rdi_clk = {
 .halt_reg = 0x31a4,
 .clkr = {
  .enable_reg = 0x31a4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi2rdi_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi2_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi2pix_clk = {
 .halt_reg = 0x31b4,
 .clkr = {
  .enable_reg = 0x31b4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi2pix_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi2_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi3_clk = {
 .halt_reg = 0x31e4,
 .clkr = {
  .enable_reg = 0x31e4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi3_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi3_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi3_ahb_clk = {
 .halt_reg = 0x31e8,
 .clkr = {
  .enable_reg = 0x31e8,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi3_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi3rdi_clk = {
 .halt_reg = 0x3204,
 .clkr = {
  .enable_reg = 0x3204,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi3rdi_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi3_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi3pix_clk = {
 .halt_reg = 0x3214,
 .clkr = {
  .enable_reg = 0x3214,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi3pix_clk",
   .parent_hws = (const struct clk_hw *[]){ &csi3_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_ispif_ahb_clk = {
 .halt_reg = 0x3224,
 .clkr = {
  .enable_reg = 0x3224,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_ispif_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_cci_clk = {
 .halt_reg = 0x3344,
 .clkr = {
  .enable_reg = 0x3344,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cci_clk",
   .parent_hws = (const struct clk_hw *[]){ &cci_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_cci_ahb_clk = {
 .halt_reg = 0x3348,
 .clkr = {
  .enable_reg = 0x3348,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cci_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_mclk0_clk = {
 .halt_reg = 0x3384,
 .clkr = {
  .enable_reg = 0x3384,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_mclk0_clk",
   .parent_hws = (const struct clk_hw *[]){ &mclk0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_mclk1_clk = {
 .halt_reg = 0x33b4,
 .clkr = {
  .enable_reg = 0x33b4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_mclk1_clk",
   .parent_hws = (const struct clk_hw *[]){ &mclk1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_mclk2_clk = {
 .halt_reg = 0x33e4,
 .clkr = {
  .enable_reg = 0x33e4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_mclk2_clk",
   .parent_hws = (const struct clk_hw *[]){ &mclk2_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_mclk3_clk = {
 .halt_reg = 0x3414,
 .clkr = {
  .enable_reg = 0x3414,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_mclk3_clk",
   .parent_hws = (const struct clk_hw *[]){ &mclk3_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_top_ahb_clk = {
 .halt_reg = 0x3484,
 .clkr = {
  .enable_reg = 0x3484,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_top_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_ahb_clk = {
 .halt_reg = 0x348c,
 .clkr = {
  .enable_reg = 0x348c,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_micro_ahb_clk = {
 .halt_reg = 0x3494,
 .clkr = {
  .enable_reg = 0x3494,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_micro_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_jpeg0_clk = {
 .halt_reg = 0x35a8,
 .clkr = {
  .enable_reg = 0x35a8,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_jpeg0_clk",
   .parent_hws = (const struct clk_hw *[]){ &jpeg0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_jpeg_ahb_clk = {
 .halt_reg = 0x35b4,
 .clkr = {
  .enable_reg = 0x35b4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_jpeg_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_jpeg_axi_clk = {
 .halt_reg = 0x35b8,
 .clkr = {
  .enable_reg = 0x35b8,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_jpeg_axi_clk",
   .parent_hws = (const struct clk_hw *[]){ &axi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
  },
 },
};

static struct clk_branch camss_vfe0_ahb_clk = {
 .halt_reg = 0x3668,
 .clkr = {
  .enable_reg = 0x3668,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_vfe0_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_vfe1_ahb_clk = {
 .halt_reg = 0x3678,
 .clkr = {
  .enable_reg = 0x3678,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_vfe1_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_vfe0_clk = {
 .halt_reg = 0x36a8,
 .clkr = {
  .enable_reg = 0x36a8,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_vfe0_clk",
   .parent_hws = (const struct clk_hw *[]){ &vfe0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_vfe1_clk = {
 .halt_reg = 0x36ac,
 .clkr = {
  .enable_reg = 0x36ac,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_vfe1_clk",
   .parent_hws = (const struct clk_hw *[]){ &vfe1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_cpp_clk = {
 .halt_reg = 0x36b0,
 .clkr = {
  .enable_reg = 0x36b0,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cpp_clk",
   .parent_hws = (const struct clk_hw *[]){ &cpp_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_cpp_ahb_clk = {
 .halt_reg = 0x36b4,
 .clkr = {
  .enable_reg = 0x36b4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cpp_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_vfe_vbif_ahb_clk = {
 .halt_reg = 0x36b8,
 .clkr = {
  .enable_reg = 0x36b8,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_vfe_vbif_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_vfe_vbif_axi_clk = {
 .halt_reg = 0x36bc,
 .clkr = {
  .enable_reg = 0x36bc,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_vfe_vbif_axi_clk",
   .parent_hws = (const struct clk_hw *[]){ &axi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
  },
 },
};

static struct clk_branch camss_cpp_axi_clk = {
 .halt_reg = 0x36c4,
 .clkr = {
  .enable_reg = 0x36c4,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cpp_axi_clk",
   .parent_hws = (const struct clk_hw *[]){ &axi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
  },
 },
};

static struct clk_branch camss_cpp_vbif_ahb_clk = {
 .halt_reg = 0x36c8,
 .clkr = {
  .enable_reg = 0x36c8,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cpp_vbif_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi_vfe0_clk = {
 .halt_reg = 0x3704,
 .clkr = {
  .enable_reg = 0x3704,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi_vfe0_clk",
   .parent_hws = (const struct clk_hw *[]){ &vfe0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csi_vfe1_clk = {
 .halt_reg = 0x3714,
 .clkr = {
  .enable_reg = 0x3714,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csi_vfe1_clk",
   .parent_hws = (const struct clk_hw *[]){ &vfe1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_vfe0_stream_clk = {
 .halt_reg = 0x3720,
 .clkr = {
  .enable_reg = 0x3720,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_vfe0_stream_clk",
   .parent_hws = (const struct clk_hw *[]){ &vfe0_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_vfe1_stream_clk = {
 .halt_reg = 0x3724,
 .clkr = {
  .enable_reg = 0x3724,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_vfe1_stream_clk",
   .parent_hws = (const struct clk_hw *[]){ &vfe1_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_cphy_csid0_clk = {
 .halt_reg = 0x3730,
 .clkr = {
  .enable_reg = 0x3730,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cphy_csid0_clk",
   .parent_hws = (const struct clk_hw *[]){ &csiphy_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_cphy_csid1_clk = {
 .halt_reg = 0x3734,
 .clkr = {
  .enable_reg = 0x3734,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cphy_csid1_clk",
   .parent_hws = (const struct clk_hw *[]){ &csiphy_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_cphy_csid2_clk = {
 .halt_reg = 0x3738,
 .clkr = {
  .enable_reg = 0x3738,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cphy_csid2_clk",
   .parent_hws = (const struct clk_hw *[]){ &csiphy_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_cphy_csid3_clk = {
 .halt_reg = 0x373c,
 .clkr = {
  .enable_reg = 0x373c,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_cphy_csid3_clk",
   .parent_hws = (const struct clk_hw *[]){ &csiphy_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csiphy0_clk = {
 .halt_reg = 0x3740,
 .clkr = {
  .enable_reg = 0x3740,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csiphy0_clk",
   .parent_hws = (const struct clk_hw *[]){ &csiphy_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csiphy1_clk = {
 .halt_reg = 0x3744,
 .clkr = {
  .enable_reg = 0x3744,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csiphy1_clk",
   .parent_hws = (const struct clk_hw *[]){ &csiphy_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch camss_csiphy2_clk = {
 .halt_reg = 0x3748,
 .clkr = {
  .enable_reg = 0x3748,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "camss_csiphy2_clk",
   .parent_hws = (const struct clk_hw *[]){ &csiphy_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch fd_core_clk = {
 .halt_reg = 0x3b68,
 .clkr = {
  .enable_reg = 0x3b68,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "fd_core_clk",
   .parent_hws = (const struct clk_hw *[]){ &fd_core_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch fd_core_uar_clk = {
 .halt_reg = 0x3b6c,
 .clkr = {
  .enable_reg = 0x3b6c,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "fd_core_uar_clk",
   .parent_hws = (const struct clk_hw *[]){ &fd_core_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch fd_ahb_clk = {
 .halt_reg = 0x3b74,
 .clkr = {
  .enable_reg = 0x3b74,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "fd_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch mnoc_ahb_clk = {
 .halt_reg = 0x5024,
 .halt_check = BRANCH_HALT_SKIP,
 .clkr = {
  .enable_reg = 0x5024,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mnoc_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch bimc_smmu_ahb_clk = {
 .halt_reg = 0xe004,
 .halt_check = BRANCH_HALT_SKIP,
 .hwcg_reg = 0xe004,
 .hwcg_bit = 1,
 .clkr = {
  .enable_reg = 0xe004,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "bimc_smmu_ahb_clk",
   .parent_hws = (const struct clk_hw *[]){ &ahb_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch bimc_smmu_axi_clk = {
 .halt_reg = 0xe008,
 .halt_check = BRANCH_HALT_SKIP,
 .hwcg_reg = 0xe008,
 .hwcg_bit = 1,
 .clkr = {
  .enable_reg = 0xe008,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "bimc_smmu_axi_clk",
   .parent_hws = (const struct clk_hw *[]){ &axi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
  },
 },
};

static struct clk_branch mnoc_maxi_clk = {
 .halt_reg = 0xf004,
 .clkr = {
  .enable_reg = 0xf004,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "mnoc_maxi_clk",
   .parent_hws = (const struct clk_hw *[]){ &maxi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch vmem_maxi_clk = {
 .halt_reg = 0xf064,
 .clkr = {
  .enable_reg = 0xf064,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "vmem_maxi_clk",
   .parent_hws = (const struct clk_hw *[]){ &maxi_clk_src.clkr.hw },
   .num_parents = 1,
   .ops = &clk_branch2_ops,
   .flags = CLK_SET_RATE_PARENT,
  },
 },
};

static struct clk_branch vmem_ahb_clk = {
 .halt_reg = 0xf068,
 .clkr = {
  .enable_reg = 0xf068,
  .enable_mask = BIT(0),
  .hw.init = &(struct clk_init_data){
   .name = "vmem_ahb_clk",
--> --------------------

--> maximum size reached

--> --------------------

Messung V0.5
C=96 H=99 G=97

¤ Dauer der Verarbeitung: 0.30 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge