Skip to content

Commit

Permalink
sm6350: Use C99 struct initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
konradybcio committed Nov 9, 2023
1 parent b70aece commit 8e00ed6
Showing 1 changed file with 133 additions and 133 deletions.
266 changes: 133 additions & 133 deletions sm6350.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,141 +112,141 @@ static struct measure_clk sm6350_clocks[] = {
//{ "npu_cc_debug_mux", &gcc.mux, 0x11a },
//{ "video_cc_debug_mux", &gcc.mux, 0x41 },

{ "l3_clk", &cpu_cc, 0x41 },
{ "pwrcl_clk", &cpu_cc, 0x21 },
{ "perfcl_clk", &cpu_cc, 0x25 },

{ "gcc_aggre_ufs_phy_axi_clk", &gcc.mux, 0xe2 },
{ "gcc_aggre_usb3_prim_axi_clk", &gcc.mux, 0xe1 },
{ "gcc_boot_rom_ahb_clk", &gcc.mux, 0x80 },
{ "gcc_camera_ahb_clk", &gcc.mux, 0x32 },
{ "gcc_camera_axi_clk", &gcc.mux, 0x36 },
{ "gcc_camera_throttle_nrt_axi_clk", &gcc.mux, 0x4a },
{ "gcc_camera_throttle_rt_axi_clk", &gcc.mux, 0x39 },
{ "gcc_camera_xo_clk", &gcc.mux, 0x3c },
{ "gcc_ce1_ahb_clk", &gcc.mux, 0x92 },
{ "gcc_ce1_axi_clk", &gcc.mux, 0x91 },
{ "gcc_ce1_clk", &gcc.mux, 0x90 },
{ "gcc_cfg_noc_usb3_prim_axi_clk", &gcc.mux, 0x18 },
{ "gcc_cpuss_ahb_clk", &gcc.mux, 0xb7 },
{ "gcc_cpuss_gnoc_clk", &gcc.mux, 0xb8 },
{ "gcc_cpuss_rbcpr_clk", &gcc.mux, 0xb9 },
{ "gcc_ddrss_gpu_axi_clk", &gcc.mux, 0xa5 },
{ "gcc_disp_ahb_clk", &gcc.mux, 0x33 },
{ "gcc_disp_axi_clk", &gcc.mux, 0x37 },
{ "gcc_disp_cc_sleep_clk", &gcc.mux, 0x49 },
{ "gcc_disp_cc_xo_clk", &gcc.mux, 0x48 },
{ "gcc_disp_gpll0_clk", &gcc.mux, 0x44 },
{ "gcc_disp_throttle_axi_clk", &gcc.mux, 0x3a },
{ "gcc_disp_xo_clk", &gcc.mux, 0x3d },
{ "gcc_gp1_clk", &gcc.mux, 0xc5 },
{ "gcc_gp2_clk", &gcc.mux, 0xc6 },
{ "gcc_gp3_clk", &gcc.mux, 0xc7 },
{ "gcc_gpu_cfg_ahb_clk", &gcc.mux, 0x105 },
{ "gcc_gpu_gpll0_clk", &gcc.mux, 0x10b },
{ "gcc_gpu_gpll0_div_clk", &gcc.mux, 0x10c },
{ "gcc_gpu_memnoc_gfx_clk", &gcc.mux, 0x108 },
{ "gcc_gpu_snoc_dvm_gfx_clk", &gcc.mux, 0x109 },
{ "gcc_npu_axi_clk", &gcc.mux, 0x116 },
{ "gcc_npu_bwmon_axi_clk", &gcc.mux, 0x11c },
{ "gcc_npu_bwmon_dma_cfg_ahb_clk", &gcc.mux, 0x11d },
{ "gcc_npu_bwmon_dsp_cfg_ahb_clk", &gcc.mux, 0x11e },
{ "gcc_npu_cfg_ahb_clk", &gcc.mux, 0x115 },
{ "gcc_npu_dma_clk", &gcc.mux, 0x11b },
{ "gcc_npu_gpll0_clk", &gcc.mux, 0x118 },
{ "gcc_npu_gpll0_div_clk", &gcc.mux, 0x119 },
{ "gcc_pdm2_clk", &gcc.mux, 0x7d },
{ "gcc_pdm_ahb_clk", &gcc.mux, 0x7b },
{ "gcc_pdm_xo4_clk", &gcc.mux, 0x7c },
{ "gcc_prng_ahb_clk", &gcc.mux, 0x7e },
{ "gcc_qupv3_wrap0_core_2x_clk", &gcc.mux, 0x6a },
{ "gcc_qupv3_wrap0_core_clk", &gcc.mux, 0x69 },
{ "gcc_qupv3_wrap0_s0_clk", &gcc.mux, 0x6b },
{ "gcc_qupv3_wrap0_s1_clk", &gcc.mux, 0x6c },
{ "gcc_qupv3_wrap0_s2_clk", &gcc.mux, 0x6d },
{ "gcc_qupv3_wrap0_s3_clk", &gcc.mux, 0x6e },
{ "gcc_qupv3_wrap0_s4_clk", &gcc.mux, 0x6f },
{ "gcc_qupv3_wrap0_s5_clk", &gcc.mux, 0x70 },
{ "gcc_qupv3_wrap1_core_2x_clk", &gcc.mux, 0x71 },
{ "gcc_qupv3_wrap1_core_clk", &gcc.mux, 0x72 },
{ "gcc_qupv3_wrap1_s0_clk", &gcc.mux, 0x75 },
{ "gcc_qupv3_wrap1_s1_clk", &gcc.mux, 0x76 },
{ "gcc_qupv3_wrap1_s2_clk", &gcc.mux, 0x77 },
{ "gcc_qupv3_wrap1_s3_clk", &gcc.mux, 0x78 },
{ "gcc_qupv3_wrap1_s4_clk", &gcc.mux, 0x79 },
{ "gcc_qupv3_wrap1_s5_clk", &gcc.mux, 0x7a },
{ "gcc_qupv3_wrap_0_m_ahb_clk", &gcc.mux, 0x67 },
{ "gcc_qupv3_wrap_0_s_ahb_clk", &gcc.mux, 0x68 },
{ "gcc_qupv3_wrap_1_m_ahb_clk", &gcc.mux, 0x73 },
{ "gcc_qupv3_wrap_1_s_ahb_clk", &gcc.mux, 0x74 },
{ "gcc_sdcc1_ahb_clk", &gcc.mux, 0x112 },
{ "gcc_sdcc1_apps_clk", &gcc.mux, 0x113 },
{ "gcc_sdcc1_ice_core_clk", &gcc.mux, 0x114 },
{ "gcc_sdcc2_ahb_clk", &gcc.mux, 0x66 },
{ "gcc_sdcc2_apps_clk", &gcc.mux, 0x65 },
{ "gcc_sys_noc_cpuss_ahb_clk", &gcc.mux, 0x9 },
{ "gcc_ufs_phy_ahb_clk", &gcc.mux, 0xc8 },
{ "gcc_ufs_phy_axi_clk", &gcc.mux, 0xcc },
{ "gcc_ufs_phy_ice_core_clk", &gcc.mux, 0xd1 },
{ "gcc_ufs_phy_phy_aux_clk", &gcc.mux, 0xd2 },
{ "gcc_ufs_phy_rx_symbol_0_clk", &gcc.mux, 0xca },
{ "gcc_ufs_phy_rx_symbol_1_clk", &gcc.mux, 0xcb },
{ "gcc_ufs_phy_tx_symbol_0_clk", &gcc.mux, 0xc9 },
{ "gcc_ufs_phy_unipro_core_clk", &gcc.mux, 0xd0 },
{ "gcc_usb30_prim_master_clk", &gcc.mux, 0x5b },
{ "gcc_usb30_prim_mock_utmi_clk", &gcc.mux, 0x5d },
{ "gcc_usb30_prim_sleep_clk", &gcc.mux, 0x5c },
{ "gcc_usb3_prim_phy_aux_clk", &gcc.mux, 0x5e },
{ "gcc_usb3_prim_phy_com_aux_clk", &gcc.mux, 0x5f },
{ "gcc_usb3_prim_phy_pipe_clk", &gcc.mux, 0x60 },
{ "gcc_video_ahb_clk", &gcc.mux, 0x31 },
{ "gcc_video_axi_clk", &gcc.mux, 0x35 },
{ "gcc_video_throttle_axi_clk", &gcc.mux, 0x38 },
{ "gcc_video_xo_clk", &gcc.mux, 0x3b },
{ "measure_only_cnoc_clk", &gcc.mux, 0x14 },
{ "measure_only_ipa_2x_clk", &gcc.mux, 0xec },
{ "measure_only_snoc_clk", &gcc.mux, 0x07 },

{ "disp_cc_mdss_ahb_clk", &disp_cc, 0x14 },
{ "disp_cc_mdss_byte0_clk", &disp_cc, 0xc },
{ "disp_cc_mdss_byte0_intf_clk", &disp_cc, 0xd },
{ "disp_cc_mdss_dp_aux_clk", &disp_cc, 0x13 },
{ "disp_cc_mdss_dp_crypto_clk", &disp_cc, 0x11 },
{ "disp_cc_mdss_dp_link_clk", &disp_cc, 0xf },
{ "disp_cc_mdss_dp_link_intf_clk", &disp_cc, 0x10 },
{ "disp_cc_mdss_dp_pixel_clk", &disp_cc, 0x12 },
{ "disp_cc_mdss_esc0_clk", &disp_cc, 0xe },
{ "disp_cc_mdss_mdp_clk", &disp_cc, 0x8 },
{ "disp_cc_mdss_mdp_lut_clk", &disp_cc, 0xa },
{ "disp_cc_mdss_non_gdsc_ahb_clk", &disp_cc, 0x15 },
{ "disp_cc_mdss_pclk0_clk", &disp_cc, 0x7 },
{ "disp_cc_mdss_rot_clk", &disp_cc, 0x9 },
{ "disp_cc_mdss_rscc_ahb_clk", &disp_cc, 0x17 },
{ "disp_cc_mdss_rscc_vsync_clk", &disp_cc, 0x16 },
{ "disp_cc_mdss_vsync_clk", &disp_cc, 0xb },
{ "disp_cc_sleep_clk", &disp_cc, 0x1d },
{ "disp_cc_xo_clk", &disp_cc, 0x1e },

{ "gpu_cc_acd_ahb_clk", &gpu_cc, 0x20 },
{ "gpu_cc_acd_cxo_clk", &gpu_cc, 0x1f },
{ "gpu_cc_ahb_clk", &gpu_cc, 0x11 },
{ "gpu_cc_crc_ahb_clk", &gpu_cc, 0x12 },
{ "gpu_cc_cx_gfx3d_clk", &gpu_cc, 0x1a },
{ "gpu_cc_cx_gfx3d_slv_clk", &gpu_cc, 0x1b },
{ "gpu_cc_cx_gmu_clk", &gpu_cc, 0x19 },
{ "gpu_cc_cx_snoc_dvm_clk", &gpu_cc, 0x16 },
{ "gpu_cc_cxo_aon_clk", &gpu_cc, 0xb },
{ "gpu_cc_cxo_clk", &gpu_cc, 0xa },
{ "gpu_cc_gx_cxo_clk", &gpu_cc, 0xf },
{ "gpu_cc_gx_gfx3d_clk", &gpu_cc, 0xc },
{ "gpu_cc_gx_gmu_clk", &gpu_cc, 0x10 },
{ "gpu_cc_gx_vsense_clk", &gpu_cc, 0xd },

{ "mccc_clk", &mc_cc, 0x50 },
{ .name = "l3_clk", .clk_mux = &cpu_cc, .mux = 0x41 },
{ .name = "pwrcl_clk", .clk_mux = &cpu_cc, .mux = 0x21 },
{ .name = "perfcl_clk", .clk_mux = &cpu_cc, .mux = 0x25 },

{ .name = "gcc_aggre_ufs_phy_axi_clk", .clk_mux = &gcc.mux, .mux = 0xe2 },
{ .name = "gcc_aggre_usb3_prim_axi_clk", .clk_mux = &gcc.mux, .mux = 0xe1 },
{ .name = "gcc_boot_rom_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x80 },
{ .name = "gcc_camera_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x32 },
{ .name = "gcc_camera_axi_clk", .clk_mux = &gcc.mux, .mux = 0x36 },
{ .name = "gcc_camera_throttle_nrt_axi_clk", .clk_mux = &gcc.mux, .mux = 0x4a },
{ .name = "gcc_camera_throttle_rt_axi_clk", .clk_mux = &gcc.mux, .mux = 0x39 },
{ .name = "gcc_camera_xo_clk", .clk_mux = &gcc.mux, .mux = 0x3c },
{ .name = "gcc_ce1_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x92 },
{ .name = "gcc_ce1_axi_clk", .clk_mux = &gcc.mux, .mux = 0x91 },
{ .name = "gcc_ce1_clk", .clk_mux = &gcc.mux, .mux = 0x90 },
{ .name = "gcc_cfg_noc_usb3_prim_axi_clk", .clk_mux = &gcc.mux, .mux = 0x18 },
{ .name = "gcc_cpuss_ahb_clk", .clk_mux = &gcc.mux, .mux = 0xb7 },
{ .name = "gcc_cpuss_gnoc_clk", .clk_mux = &gcc.mux, .mux = 0xb8 },
{ .name = "gcc_cpuss_rbcpr_clk", .clk_mux = &gcc.mux, .mux = 0xb9 },
{ .name = "gcc_ddrss_gpu_axi_clk", .clk_mux = &gcc.mux, .mux = 0xa5 },
{ .name = "gcc_disp_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x33 },
{ .name = "gcc_disp_axi_clk", .clk_mux = &gcc.mux, .mux = 0x37 },
{ .name = "gcc_disp_cc_sleep_clk", .clk_mux = &gcc.mux, .mux = 0x49 },
{ .name = "gcc_disp_cc_xo_clk", .clk_mux = &gcc.mux, .mux = 0x48 },
{ .name = "gcc_disp_gpll0_clk", .clk_mux = &gcc.mux, .mux = 0x44 },
{ .name = "gcc_disp_throttle_axi_clk", .clk_mux = &gcc.mux, .mux = 0x3a },
{ .name = "gcc_disp_xo_clk", .clk_mux = &gcc.mux, .mux = 0x3d },
{ .name = "gcc_gp1_clk", .clk_mux = &gcc.mux, .mux = 0xc5 },
{ .name = "gcc_gp2_clk", .clk_mux = &gcc.mux, .mux = 0xc6 },
{ .name = "gcc_gp3_clk", .clk_mux = &gcc.mux, .mux = 0xc7 },
{ .name = "gcc_gpu_cfg_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x105 },
{ .name = "gcc_gpu_gpll0_clk", .clk_mux = &gcc.mux, .mux = 0x10b },
{ .name = "gcc_gpu_gpll0_div_clk", .clk_mux = &gcc.mux, .mux = 0x10c },
{ .name = "gcc_gpu_memnoc_gfx_clk", .clk_mux = &gcc.mux, .mux = 0x108 },
{ .name = "gcc_gpu_snoc_dvm_gfx_clk", .clk_mux = &gcc.mux, .mux = 0x109 },
{ .name = "gcc_npu_axi_clk", .clk_mux = &gcc.mux, .mux = 0x116 },
{ .name = "gcc_npu_bwmon_axi_clk", .clk_mux = &gcc.mux, .mux = 0x11c },
{ .name = "gcc_npu_bwmon_dma_cfg_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x11d },
{ .name = "gcc_npu_bwmon_dsp_cfg_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x11e },
{ .name = "gcc_npu_cfg_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x115 },
{ .name = "gcc_npu_dma_clk", .clk_mux = &gcc.mux, .mux = 0x11b },
{ .name = "gcc_npu_gpll0_clk", .clk_mux = &gcc.mux, .mux = 0x118 },
{ .name = "gcc_npu_gpll0_div_clk", .clk_mux = &gcc.mux, .mux = 0x119 },
{ .name = "gcc_pdm2_clk", .clk_mux = &gcc.mux, .mux = 0x7d },
{ .name = "gcc_pdm_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x7b },
{ .name = "gcc_pdm_xo4_clk", .clk_mux = &gcc.mux, .mux = 0x7c },
{ .name = "gcc_prng_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x7e },
{ .name = "gcc_qupv3_wrap0_core_2x_clk", .clk_mux = &gcc.mux, .mux = 0x6a },
{ .name = "gcc_qupv3_wrap0_core_clk", .clk_mux = &gcc.mux, .mux = 0x69 },
{ .name = "gcc_qupv3_wrap0_s0_clk", .clk_mux = &gcc.mux, .mux = 0x6b },
{ .name = "gcc_qupv3_wrap0_s1_clk", .clk_mux = &gcc.mux, .mux = 0x6c },
{ .name = "gcc_qupv3_wrap0_s2_clk", .clk_mux = &gcc.mux, .mux = 0x6d },
{ .name = "gcc_qupv3_wrap0_s3_clk", .clk_mux = &gcc.mux, .mux = 0x6e },
{ .name = "gcc_qupv3_wrap0_s4_clk", .clk_mux = &gcc.mux, .mux = 0x6f },
{ .name = "gcc_qupv3_wrap0_s5_clk", .clk_mux = &gcc.mux, .mux = 0x70 },
{ .name = "gcc_qupv3_wrap1_core_2x_clk", .clk_mux = &gcc.mux, .mux = 0x71 },
{ .name = "gcc_qupv3_wrap1_core_clk", .clk_mux = &gcc.mux, .mux = 0x72 },
{ .name = "gcc_qupv3_wrap1_s0_clk", .clk_mux = &gcc.mux, .mux = 0x75 },
{ .name = "gcc_qupv3_wrap1_s1_clk", .clk_mux = &gcc.mux, .mux = 0x76 },
{ .name = "gcc_qupv3_wrap1_s2_clk", .clk_mux = &gcc.mux, .mux = 0x77 },
{ .name = "gcc_qupv3_wrap1_s3_clk", .clk_mux = &gcc.mux, .mux = 0x78 },
{ .name = "gcc_qupv3_wrap1_s4_clk", .clk_mux = &gcc.mux, .mux = 0x79 },
{ .name = "gcc_qupv3_wrap1_s5_clk", .clk_mux = &gcc.mux, .mux = 0x7a },
{ .name = "gcc_qupv3_wrap_0_m_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x67 },
{ .name = "gcc_qupv3_wrap_0_s_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x68 },
{ .name = "gcc_qupv3_wrap_1_m_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x73 },
{ .name = "gcc_qupv3_wrap_1_s_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x74 },
{ .name = "gcc_sdcc1_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x112 },
{ .name = "gcc_sdcc1_apps_clk", .clk_mux = &gcc.mux, .mux = 0x113 },
{ .name = "gcc_sdcc1_ice_core_clk", .clk_mux = &gcc.mux, .mux = 0x114 },
{ .name = "gcc_sdcc2_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x66 },
{ .name = "gcc_sdcc2_apps_clk", .clk_mux = &gcc.mux, .mux = 0x65 },
{ .name = "gcc_sys_noc_cpuss_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x9 },
{ .name = "gcc_ufs_phy_ahb_clk", .clk_mux = &gcc.mux, .mux = 0xc8 },
{ .name = "gcc_ufs_phy_axi_clk", .clk_mux = &gcc.mux, .mux = 0xcc },
{ .name = "gcc_ufs_phy_ice_core_clk", .clk_mux = &gcc.mux, .mux = 0xd1 },
{ .name = "gcc_ufs_phy_phy_aux_clk", .clk_mux = &gcc.mux, .mux = 0xd2 },
{ .name = "gcc_ufs_phy_rx_symbol_0_clk", .clk_mux = &gcc.mux, .mux = 0xca },
{ .name = "gcc_ufs_phy_rx_symbol_1_clk", .clk_mux = &gcc.mux, .mux = 0xcb },
{ .name = "gcc_ufs_phy_tx_symbol_0_clk", .clk_mux = &gcc.mux, .mux = 0xc9 },
{ .name = "gcc_ufs_phy_unipro_core_clk", .clk_mux = &gcc.mux, .mux = 0xd0 },
{ .name = "gcc_usb30_prim_master_clk", .clk_mux = &gcc.mux, .mux = 0x5b },
{ .name = "gcc_usb30_prim_mock_utmi_clk", .clk_mux = &gcc.mux, .mux = 0x5d },
{ .name = "gcc_usb30_prim_sleep_clk", .clk_mux = &gcc.mux, .mux = 0x5c },
{ .name = "gcc_usb3_prim_phy_aux_clk", .clk_mux = &gcc.mux, .mux = 0x5e },
{ .name = "gcc_usb3_prim_phy_com_aux_clk", .clk_mux = &gcc.mux, .mux = 0x5f },
{ .name = "gcc_usb3_prim_phy_pipe_clk", .clk_mux = &gcc.mux, .mux = 0x60 },
{ .name = "gcc_video_ahb_clk", .clk_mux = &gcc.mux, .mux = 0x31 },
{ .name = "gcc_video_axi_clk", .clk_mux = &gcc.mux, .mux = 0x35 },
{ .name = "gcc_video_throttle_axi_clk", .clk_mux = &gcc.mux, .mux = 0x38 },
{ .name = "gcc_video_xo_clk", .clk_mux = &gcc.mux, .mux = 0x3b },
{ .name = "measure_only_cnoc_clk", .clk_mux = &gcc.mux, .mux = 0x14 },
{ .name = "measure_only_ipa_2x_clk", .clk_mux = &gcc.mux, .mux = 0xec },
{ .name = "measure_only_snoc_clk", .clk_mux = &gcc.mux, .mux = 0x07 },

{ .name = "disp_cc_mdss_ahb_clk", .clk_mux = &disp_cc, .mux = 0x14 },
{ .name = "disp_cc_mdss_byte0_clk", .clk_mux = &disp_cc, .mux = 0xc },
{ .name = "disp_cc_mdss_byte0_intf_clk", .clk_mux = &disp_cc, .mux = 0xd },
{ .name = "disp_cc_mdss_dp_aux_clk", .clk_mux = &disp_cc, .mux = 0x13 },
{ .name = "disp_cc_mdss_dp_crypto_clk", .clk_mux = &disp_cc, .mux = 0x11 },
{ .name = "disp_cc_mdss_dp_link_clk", .clk_mux = &disp_cc, .mux = 0xf },
{ .name = "disp_cc_mdss_dp_link_intf_clk", .clk_mux = &disp_cc, .mux = 0x10 },
{ .name = "disp_cc_mdss_dp_pixel_clk", .clk_mux = &disp_cc, .mux = 0x12 },
{ .name = "disp_cc_mdss_esc0_clk", .clk_mux = &disp_cc, .mux = 0xe },
{ .name = "disp_cc_mdss_mdp_clk", .clk_mux = &disp_cc, .mux = 0x8 },
{ .name = "disp_cc_mdss_mdp_lut_clk", .clk_mux = &disp_cc, .mux = 0xa },
{ .name = "disp_cc_mdss_non_gdsc_ahb_clk", .clk_mux = &disp_cc, .mux = 0x15 },
{ .name = "disp_cc_mdss_pclk0_clk", .clk_mux = &disp_cc, .mux = 0x7 },
{ .name = "disp_cc_mdss_rot_clk", .clk_mux = &disp_cc, .mux = 0x9 },
{ .name = "disp_cc_mdss_rscc_ahb_clk", .clk_mux = &disp_cc, .mux = 0x17 },
{ .name = "disp_cc_mdss_rscc_vsync_clk", .clk_mux = &disp_cc, .mux = 0x16 },
{ .name = "disp_cc_mdss_vsync_clk", .clk_mux = &disp_cc, .mux = 0xb },
{ .name = "disp_cc_sleep_clk", .clk_mux = &disp_cc, .mux = 0x1d },
{ .name = "disp_cc_xo_clk", .clk_mux = &disp_cc, .mux = 0x1e },

{ .name = "gpu_cc_acd_ahb_clk", .clk_mux = &gpu_cc, .mux = 0x20 },
{ .name = "gpu_cc_acd_cxo_clk", .clk_mux = &gpu_cc, .mux = 0x1f },
{ .name = "gpu_cc_ahb_clk", .clk_mux = &gpu_cc, .mux = 0x11 },
{ .name = "gpu_cc_crc_ahb_clk", .clk_mux = &gpu_cc, .mux = 0x12 },
{ .name = "gpu_cc_cx_gfx3d_clk", .clk_mux = &gpu_cc, .mux = 0x1a },
{ .name = "gpu_cc_cx_gfx3d_slv_clk", .clk_mux = &gpu_cc, .mux = 0x1b },
{ .name = "gpu_cc_cx_gmu_clk", .clk_mux = &gpu_cc, .mux = 0x19 },
{ .name = "gpu_cc_cx_snoc_dvm_clk", .clk_mux = &gpu_cc, .mux = 0x16 },
{ .name = "gpu_cc_cxo_aon_clk", .clk_mux = &gpu_cc, .mux = 0xb },
{ .name = "gpu_cc_cxo_clk", .clk_mux = &gpu_cc, .mux = 0xa },
{ .name = "gpu_cc_gx_cxo_clk", .clk_mux = &gpu_cc, .mux = 0xf },
{ .name = "gpu_cc_gx_gfx3d_clk", .clk_mux = &gpu_cc, .mux = 0xc },
{ .name = "gpu_cc_gx_gmu_clk", .clk_mux = &gpu_cc, .mux = 0x10 },
{ .name = "gpu_cc_gx_vsense_clk", .clk_mux = &gpu_cc, .mux = 0xd },

{ .name = "mccc_clk", .clk_mux = &mc_cc, .mux = 0x50 },
{}
};

struct debugcc_platform sm6350_debugcc = {
"sm6350",
sm6350_clocks,
.name = "sm6350",
.clocks = sm6350_clocks,
};

0 comments on commit 8e00ed6

Please sign in to comment.