mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
'struct qcom_cc_desc' is passed to qcom_cc_map() and qcom_cc_really_probe() only as pointer to const, so make the memory const for safety. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260128154306.133047-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
455 lines
13 KiB
C
455 lines
13 KiB
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
*/
|
|
|
|
#include <linux/clk-provider.h>
|
|
#include <linux/mod_devicetable.h>
|
|
#include <linux/module.h>
|
|
#include <linux/platform_device.h>
|
|
#include <linux/regmap.h>
|
|
|
|
#include <dt-bindings/clock/qcom,sm8750-cambistmclkcc.h>
|
|
|
|
#include "clk-alpha-pll.h"
|
|
#include "clk-branch.h"
|
|
#include "clk-rcg.h"
|
|
#include "clk-regmap.h"
|
|
#include "common.h"
|
|
#include "reset.h"
|
|
|
|
enum {
|
|
DT_IFACE,
|
|
DT_BI_TCXO,
|
|
DT_BI_TCXO_AO,
|
|
DT_SLEEP_CLK,
|
|
};
|
|
|
|
enum {
|
|
P_BI_TCXO,
|
|
P_CAM_BIST_MCLK_CC_PLL0_OUT_EVEN,
|
|
P_CAM_BIST_MCLK_CC_PLL0_OUT_MAIN,
|
|
P_SLEEP_CLK,
|
|
};
|
|
|
|
static const struct pll_vco rivian_elu_vco[] = {
|
|
{ 833000000, 1125000000, 0 },
|
|
{ 777000000, 1062000000, 1 },
|
|
};
|
|
|
|
/* 960.0 MHz Configuration */
|
|
static const struct alpha_pll_config cam_bist_mclk_cc_pll0_config = {
|
|
.l = 0x32,
|
|
.alpha = 0x0,
|
|
.config_ctl_val = 0x12000000,
|
|
.config_ctl_hi_val = 0x00890263,
|
|
.config_ctl_hi1_val = 0x1af04237,
|
|
.config_ctl_hi2_val = 0x00000000,
|
|
};
|
|
|
|
static struct clk_alpha_pll cam_bist_mclk_cc_pll0 = {
|
|
.offset = 0x0,
|
|
.config = &cam_bist_mclk_cc_pll0_config,
|
|
.vco_table = rivian_elu_vco,
|
|
.num_vco = ARRAY_SIZE(rivian_elu_vco),
|
|
.regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_RIVIAN_ELU],
|
|
.clkr = {
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_pll0",
|
|
.parent_data = &(const struct clk_parent_data) {
|
|
.index = DT_BI_TCXO,
|
|
},
|
|
.num_parents = 1,
|
|
.ops = &clk_alpha_pll_rivian_elu_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static const struct parent_map cam_bist_mclk_cc_parent_map_0[] = {
|
|
{ P_BI_TCXO, 0 },
|
|
{ P_CAM_BIST_MCLK_CC_PLL0_OUT_EVEN, 3 },
|
|
{ P_CAM_BIST_MCLK_CC_PLL0_OUT_MAIN, 5 },
|
|
};
|
|
|
|
static const struct clk_parent_data cam_bist_mclk_cc_parent_data_0[] = {
|
|
{ .index = DT_BI_TCXO },
|
|
{ .hw = &cam_bist_mclk_cc_pll0.clkr.hw },
|
|
{ .hw = &cam_bist_mclk_cc_pll0.clkr.hw },
|
|
};
|
|
|
|
static const struct parent_map cam_bist_mclk_cc_parent_map_1[] = {
|
|
{ P_SLEEP_CLK, 0 },
|
|
};
|
|
|
|
static const struct clk_parent_data cam_bist_mclk_cc_parent_data_1[] = {
|
|
{ .index = DT_SLEEP_CLK },
|
|
};
|
|
|
|
static const struct freq_tbl ftbl_cam_bist_mclk_cc_mclk0_clk_src[] = {
|
|
F(12000000, P_CAM_BIST_MCLK_CC_PLL0_OUT_EVEN, 10, 1, 8),
|
|
F(19200000, P_BI_TCXO, 1, 0, 0),
|
|
F(24000000, P_CAM_BIST_MCLK_CC_PLL0_OUT_EVEN, 10, 1, 4),
|
|
F(68571429, P_CAM_BIST_MCLK_CC_PLL0_OUT_MAIN, 14, 0, 0),
|
|
{ }
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_mclk0_clk_src = {
|
|
.cmd_rcgr = 0x4000,
|
|
.mnd_width = 8,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_0,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_mclk0_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk0_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_0,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_0),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_mclk1_clk_src = {
|
|
.cmd_rcgr = 0x401c,
|
|
.mnd_width = 8,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_0,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_mclk0_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk1_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_0,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_0),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_mclk2_clk_src = {
|
|
.cmd_rcgr = 0x4038,
|
|
.mnd_width = 8,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_0,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_mclk0_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk2_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_0,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_0),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_mclk3_clk_src = {
|
|
.cmd_rcgr = 0x4054,
|
|
.mnd_width = 8,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_0,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_mclk0_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk3_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_0,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_0),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_mclk4_clk_src = {
|
|
.cmd_rcgr = 0x4070,
|
|
.mnd_width = 8,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_0,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_mclk0_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk4_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_0,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_0),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_mclk5_clk_src = {
|
|
.cmd_rcgr = 0x408c,
|
|
.mnd_width = 8,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_0,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_mclk0_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk5_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_0,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_0),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_mclk6_clk_src = {
|
|
.cmd_rcgr = 0x40a8,
|
|
.mnd_width = 8,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_0,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_mclk0_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk6_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_0,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_0),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_mclk7_clk_src = {
|
|
.cmd_rcgr = 0x40c4,
|
|
.mnd_width = 8,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_0,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_mclk0_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk7_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_0,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_0),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static const struct freq_tbl ftbl_cam_bist_mclk_cc_sleep_clk_src[] = {
|
|
F(32000, P_SLEEP_CLK, 1, 0, 0),
|
|
{ }
|
|
};
|
|
|
|
static struct clk_rcg2 cam_bist_mclk_cc_sleep_clk_src = {
|
|
.cmd_rcgr = 0x40e0,
|
|
.mnd_width = 0,
|
|
.hid_width = 5,
|
|
.parent_map = cam_bist_mclk_cc_parent_map_1,
|
|
.freq_tbl = ftbl_cam_bist_mclk_cc_sleep_clk_src,
|
|
.clkr.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_sleep_clk_src",
|
|
.parent_data = cam_bist_mclk_cc_parent_data_1,
|
|
.num_parents = ARRAY_SIZE(cam_bist_mclk_cc_parent_data_1),
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_rcg2_shared_ops,
|
|
},
|
|
};
|
|
|
|
static struct clk_branch cam_bist_mclk_cc_mclk0_clk = {
|
|
.halt_reg = 0x4018,
|
|
.halt_check = BRANCH_HALT,
|
|
.clkr = {
|
|
.enable_reg = 0x4018,
|
|
.enable_mask = BIT(0),
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk0_clk",
|
|
.parent_hws = (const struct clk_hw*[]) {
|
|
&cam_bist_mclk_cc_mclk0_clk_src.clkr.hw,
|
|
},
|
|
.num_parents = 1,
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_branch2_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static struct clk_branch cam_bist_mclk_cc_mclk1_clk = {
|
|
.halt_reg = 0x4034,
|
|
.halt_check = BRANCH_HALT,
|
|
.clkr = {
|
|
.enable_reg = 0x4034,
|
|
.enable_mask = BIT(0),
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk1_clk",
|
|
.parent_hws = (const struct clk_hw*[]) {
|
|
&cam_bist_mclk_cc_mclk1_clk_src.clkr.hw,
|
|
},
|
|
.num_parents = 1,
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_branch2_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static struct clk_branch cam_bist_mclk_cc_mclk2_clk = {
|
|
.halt_reg = 0x4050,
|
|
.halt_check = BRANCH_HALT,
|
|
.clkr = {
|
|
.enable_reg = 0x4050,
|
|
.enable_mask = BIT(0),
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk2_clk",
|
|
.parent_hws = (const struct clk_hw*[]) {
|
|
&cam_bist_mclk_cc_mclk2_clk_src.clkr.hw,
|
|
},
|
|
.num_parents = 1,
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_branch2_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static struct clk_branch cam_bist_mclk_cc_mclk3_clk = {
|
|
.halt_reg = 0x406c,
|
|
.halt_check = BRANCH_HALT,
|
|
.clkr = {
|
|
.enable_reg = 0x406c,
|
|
.enable_mask = BIT(0),
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk3_clk",
|
|
.parent_hws = (const struct clk_hw*[]) {
|
|
&cam_bist_mclk_cc_mclk3_clk_src.clkr.hw,
|
|
},
|
|
.num_parents = 1,
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_branch2_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static struct clk_branch cam_bist_mclk_cc_mclk4_clk = {
|
|
.halt_reg = 0x4088,
|
|
.halt_check = BRANCH_HALT,
|
|
.clkr = {
|
|
.enable_reg = 0x4088,
|
|
.enable_mask = BIT(0),
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk4_clk",
|
|
.parent_hws = (const struct clk_hw*[]) {
|
|
&cam_bist_mclk_cc_mclk4_clk_src.clkr.hw,
|
|
},
|
|
.num_parents = 1,
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_branch2_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static struct clk_branch cam_bist_mclk_cc_mclk5_clk = {
|
|
.halt_reg = 0x40a4,
|
|
.halt_check = BRANCH_HALT,
|
|
.clkr = {
|
|
.enable_reg = 0x40a4,
|
|
.enable_mask = BIT(0),
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk5_clk",
|
|
.parent_hws = (const struct clk_hw*[]) {
|
|
&cam_bist_mclk_cc_mclk5_clk_src.clkr.hw,
|
|
},
|
|
.num_parents = 1,
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_branch2_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static struct clk_branch cam_bist_mclk_cc_mclk6_clk = {
|
|
.halt_reg = 0x40c0,
|
|
.halt_check = BRANCH_HALT,
|
|
.clkr = {
|
|
.enable_reg = 0x40c0,
|
|
.enable_mask = BIT(0),
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk6_clk",
|
|
.parent_hws = (const struct clk_hw*[]) {
|
|
&cam_bist_mclk_cc_mclk6_clk_src.clkr.hw,
|
|
},
|
|
.num_parents = 1,
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_branch2_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static struct clk_branch cam_bist_mclk_cc_mclk7_clk = {
|
|
.halt_reg = 0x40dc,
|
|
.halt_check = BRANCH_HALT,
|
|
.clkr = {
|
|
.enable_reg = 0x40dc,
|
|
.enable_mask = BIT(0),
|
|
.hw.init = &(const struct clk_init_data) {
|
|
.name = "cam_bist_mclk_cc_mclk7_clk",
|
|
.parent_hws = (const struct clk_hw*[]) {
|
|
&cam_bist_mclk_cc_mclk7_clk_src.clkr.hw,
|
|
},
|
|
.num_parents = 1,
|
|
.flags = CLK_SET_RATE_PARENT,
|
|
.ops = &clk_branch2_ops,
|
|
},
|
|
},
|
|
};
|
|
|
|
static struct clk_regmap *cam_bist_mclk_cc_sm8750_clocks[] = {
|
|
[CAM_BIST_MCLK_CC_MCLK0_CLK] = &cam_bist_mclk_cc_mclk0_clk.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK0_CLK_SRC] = &cam_bist_mclk_cc_mclk0_clk_src.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK1_CLK] = &cam_bist_mclk_cc_mclk1_clk.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK1_CLK_SRC] = &cam_bist_mclk_cc_mclk1_clk_src.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK2_CLK] = &cam_bist_mclk_cc_mclk2_clk.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK2_CLK_SRC] = &cam_bist_mclk_cc_mclk2_clk_src.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK3_CLK] = &cam_bist_mclk_cc_mclk3_clk.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK3_CLK_SRC] = &cam_bist_mclk_cc_mclk3_clk_src.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK4_CLK] = &cam_bist_mclk_cc_mclk4_clk.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK4_CLK_SRC] = &cam_bist_mclk_cc_mclk4_clk_src.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK5_CLK] = &cam_bist_mclk_cc_mclk5_clk.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK5_CLK_SRC] = &cam_bist_mclk_cc_mclk5_clk_src.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK6_CLK] = &cam_bist_mclk_cc_mclk6_clk.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK6_CLK_SRC] = &cam_bist_mclk_cc_mclk6_clk_src.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK7_CLK] = &cam_bist_mclk_cc_mclk7_clk.clkr,
|
|
[CAM_BIST_MCLK_CC_MCLK7_CLK_SRC] = &cam_bist_mclk_cc_mclk7_clk_src.clkr,
|
|
[CAM_BIST_MCLK_CC_PLL0] = &cam_bist_mclk_cc_pll0.clkr,
|
|
[CAM_BIST_MCLK_CC_SLEEP_CLK_SRC] = &cam_bist_mclk_cc_sleep_clk_src.clkr,
|
|
};
|
|
|
|
static struct clk_alpha_pll *cam_bist_mclk_cc_sm8750_plls[] = {
|
|
&cam_bist_mclk_cc_pll0,
|
|
};
|
|
|
|
static u32 cam_bist_mclk_cc_sm8750_critical_cbcrs[] = {
|
|
0x40f8, /* CAM_BIST_MCLK_CC_SLEEP_CLK */
|
|
};
|
|
|
|
static const struct regmap_config cam_bist_mclk_cc_sm8750_regmap_config = {
|
|
.reg_bits = 32,
|
|
.reg_stride = 4,
|
|
.val_bits = 32,
|
|
.max_register = 0x5010,
|
|
.fast_io = true,
|
|
};
|
|
|
|
static struct qcom_cc_driver_data cam_bist_mclk_cc_sm8750_driver_data = {
|
|
.alpha_plls = cam_bist_mclk_cc_sm8750_plls,
|
|
.num_alpha_plls = ARRAY_SIZE(cam_bist_mclk_cc_sm8750_plls),
|
|
.clk_cbcrs = cam_bist_mclk_cc_sm8750_critical_cbcrs,
|
|
.num_clk_cbcrs = ARRAY_SIZE(cam_bist_mclk_cc_sm8750_critical_cbcrs),
|
|
};
|
|
|
|
static const struct qcom_cc_desc cam_bist_mclk_cc_sm8750_desc = {
|
|
.config = &cam_bist_mclk_cc_sm8750_regmap_config,
|
|
.clks = cam_bist_mclk_cc_sm8750_clocks,
|
|
.num_clks = ARRAY_SIZE(cam_bist_mclk_cc_sm8750_clocks),
|
|
.use_rpm = true,
|
|
.driver_data = &cam_bist_mclk_cc_sm8750_driver_data,
|
|
};
|
|
|
|
static const struct of_device_id cam_bist_mclk_cc_sm8750_match_table[] = {
|
|
{ .compatible = "qcom,sm8750-cambistmclkcc" },
|
|
{ }
|
|
};
|
|
MODULE_DEVICE_TABLE(of, cam_bist_mclk_cc_sm8750_match_table);
|
|
|
|
static int cam_bist_mclk_cc_sm8750_probe(struct platform_device *pdev)
|
|
{
|
|
return qcom_cc_probe(pdev, &cam_bist_mclk_cc_sm8750_desc);
|
|
}
|
|
|
|
static struct platform_driver cam_bist_mclk_cc_sm8750_driver = {
|
|
.probe = cam_bist_mclk_cc_sm8750_probe,
|
|
.driver = {
|
|
.name = "cambistmclkcc-sm8750",
|
|
.of_match_table = cam_bist_mclk_cc_sm8750_match_table,
|
|
},
|
|
};
|
|
|
|
module_platform_driver(cam_bist_mclk_cc_sm8750_driver);
|
|
|
|
MODULE_DESCRIPTION("QTI CAMBISTMCLKCC SM8750 Driver");
|
|
MODULE_LICENSE("GPL");
|