clk: qcom: gcc-apq8084: add GCC_MMSS_GPLL0_CLK_SRC
Add the GCC_MMSS_GPLL0_CLK_SRC, the branch clock gating gpll0 clock for the multimedia subsystem. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230111060402.1168726-8-dmitry.baryshkov@linaro.org
This commit is contained in:
parent
7179ab686d
commit
cc0269b760
|
@ -1382,6 +1382,19 @@ static struct clk_rcg2 usb_hsic_system_clk_src = {
|
|||
},
|
||||
};
|
||||
|
||||
static struct clk_regmap gcc_mmss_gpll0_clk_src = {
|
||||
.enable_reg = 0x1484,
|
||||
.enable_mask = BIT(26),
|
||||
.hw.init = &(struct clk_init_data){
|
||||
.name = "mmss_gpll0_vote",
|
||||
.parent_hws = (const struct clk_hw*[]){
|
||||
&gpll0_vote.hw,
|
||||
},
|
||||
.num_parents = 1,
|
||||
.ops = &clk_branch_simple_ops,
|
||||
},
|
||||
};
|
||||
|
||||
static struct clk_branch gcc_bam_dma_ahb_clk = {
|
||||
.halt_reg = 0x0d44,
|
||||
.halt_check = BRANCH_HALT_VOTED,
|
||||
|
@ -3480,6 +3493,7 @@ static struct clk_regmap *gcc_apq8084_clocks[] = {
|
|||
[GCC_USB_HSIC_IO_CAL_SLEEP_CLK] = &gcc_usb_hsic_io_cal_sleep_clk.clkr,
|
||||
[GCC_USB_HSIC_MOCK_UTMI_CLK] = &gcc_usb_hsic_mock_utmi_clk.clkr,
|
||||
[GCC_USB_HSIC_SYSTEM_CLK] = &gcc_usb_hsic_system_clk.clkr,
|
||||
[GCC_MMSS_GPLL0_CLK_SRC] = &gcc_mmss_gpll0_clk_src,
|
||||
};
|
||||
|
||||
static struct gdsc *gcc_apq8084_gdscs[] = {
|
||||
|
|
Loading…
Reference in New Issue