Merge "clk: qcom: rmph: Add support for PMIC clocks for NEO"
This commit is contained in:
commit
8197181c0a
@ -707,6 +707,18 @@ static const struct clk_rpmh_desc clk_rpmh_lemans = {
|
||||
.num_clks = ARRAY_SIZE(lemans_rpmh_clocks),
|
||||
};
|
||||
|
||||
DEFINE_CLK_RPMH_ARC(neo, bi_tcxo, bi_tcxo_ao, "xo.lvl", 0x3, 1);
|
||||
|
||||
static struct clk_hw *neo_rpmh_clocks[] = {
|
||||
[RPMH_CXO_CLK] = &neo_bi_tcxo.hw,
|
||||
[RPMH_CXO_CLK_A] = &neo_bi_tcxo_ao.hw,
|
||||
};
|
||||
|
||||
static const struct clk_rpmh_desc clk_rpmh_neo = {
|
||||
.clks = neo_rpmh_clocks,
|
||||
.num_clks = ARRAY_SIZE(neo_rpmh_clocks),
|
||||
};
|
||||
|
||||
DEFINE_CLK_RPMH_VRM(anorak, rf_clk1, rf_clk1_ao, "clka1", 1);
|
||||
DEFINE_CLK_RPMH_VRM(anorak, ln_bb_clk7, ln_bb_clk7_ao, "clka7", 2);
|
||||
DEFINE_CLK_RPMH_VRM(anorak, ln_bb_clk8, ln_bb_clk8_ao, "clka8", 4);
|
||||
@ -1009,6 +1021,7 @@ static const struct of_device_id clk_rpmh_match_table[] = {
|
||||
{ .compatible = "qcom,niobe-rpmh-clk", .data = &clk_rpmh_niobe},
|
||||
{ .compatible = "qcom,volcano-rpmh-clk", .data = &clk_rpmh_volcano},
|
||||
{ .compatible = "qcom,anorak-rpmh-clk", .data = &clk_rpmh_anorak},
|
||||
{ .compatible = "qcom,neo-rpmh-clk", .data = &clk_rpmh_neo},
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, clk_rpmh_match_table);
|
||||
|
Loading…
Reference in New Issue
Block a user