Merge branch 'clk-fixes' into clk-next
This commit is contained in:
@@ -48,6 +48,17 @@ static struct clk_pll pll3 = {
|
||||
},
|
||||
};
|
||||
|
||||
static struct clk_regmap pll4_vote = {
|
||||
.enable_reg = 0x34c0,
|
||||
.enable_mask = BIT(4),
|
||||
.hw.init = &(struct clk_init_data){
|
||||
.name = "pll4_vote",
|
||||
.parent_names = (const char *[]){ "pll4" },
|
||||
.num_parents = 1,
|
||||
.ops = &clk_pll_vote_ops,
|
||||
},
|
||||
};
|
||||
|
||||
static struct clk_pll pll8 = {
|
||||
.l_reg = 0x3144,
|
||||
.m_reg = 0x3148,
|
||||
@@ -3023,6 +3034,7 @@ static struct clk_branch rpm_msg_ram_h_clk = {
|
||||
|
||||
static struct clk_regmap *gcc_msm8960_clks[] = {
|
||||
[PLL3] = &pll3.clkr,
|
||||
[PLL4_VOTE] = &pll4_vote,
|
||||
[PLL8] = &pll8.clkr,
|
||||
[PLL8_VOTE] = &pll8_vote,
|
||||
[PLL14] = &pll14.clkr,
|
||||
@@ -3247,6 +3259,7 @@ static const struct qcom_reset_map gcc_msm8960_resets[] = {
|
||||
|
||||
static struct clk_regmap *gcc_apq8064_clks[] = {
|
||||
[PLL3] = &pll3.clkr,
|
||||
[PLL4_VOTE] = &pll4_vote,
|
||||
[PLL8] = &pll8.clkr,
|
||||
[PLL8_VOTE] = &pll8_vote,
|
||||
[PLL14] = &pll14.clkr,
|
||||
|
@@ -461,7 +461,6 @@ static struct platform_driver lcc_ipq806x_driver = {
|
||||
.remove = lcc_ipq806x_remove,
|
||||
.driver = {
|
||||
.name = "lcc-ipq806x",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = lcc_ipq806x_match_table,
|
||||
},
|
||||
};
|
||||
|
@@ -417,8 +417,8 @@ static struct clk_rcg slimbus_src = {
|
||||
.mnctr_en_bit = 8,
|
||||
.mnctr_reset_bit = 7,
|
||||
.mnctr_mode_shift = 5,
|
||||
.n_val_shift = 16,
|
||||
.m_val_shift = 16,
|
||||
.n_val_shift = 24,
|
||||
.m_val_shift = 8,
|
||||
.width = 8,
|
||||
},
|
||||
.p = {
|
||||
@@ -547,7 +547,7 @@ static int lcc_msm8960_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(regmap);
|
||||
|
||||
/* Use the correct frequency plan depending on speed of PLL4 */
|
||||
val = regmap_read(regmap, 0x4, &val);
|
||||
regmap_read(regmap, 0x4, &val);
|
||||
if (val == 0x12) {
|
||||
slimbus_src.freq_tbl = clk_tbl_aif_osr_492;
|
||||
mi2s_osr_src.freq_tbl = clk_tbl_aif_osr_492;
|
||||
@@ -574,7 +574,6 @@ static struct platform_driver lcc_msm8960_driver = {
|
||||
.remove = lcc_msm8960_remove,
|
||||
.driver = {
|
||||
.name = "lcc-msm8960",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = lcc_msm8960_match_table,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user