Re: [PATCH 2/4] clk: qcom: gcc: Add support for Global Clock controller found on MSM8940

Taniya Das
2025-11-17T08:04:01Z

On 11/17/2025 3:05 AM, Barnabás Czémán wrote:
>
> +static struct clk_branch gcc_ipa_tbu_clk = {
> + .halt_reg = 0x120a0,
> + .halt_check = BRANCH_VOTED,
> + .clkr = {
> + .enable_reg = 0x4500c,
> + .enable_mask = BIT(16),
> + .hw.init = &(struct clk_init_data){
> + .name = "gcc_ipa_tbu_clk",
> + .ops = &clk_branch2_ops,
> + },
> + },
> +};
> +

Is the TBU clock used on 8940 by a SMMU driver?

> static struct gdsc venus_gdsc = {
> .gdscr = 0x4c018,
> .cxcs = (unsigned int []){ 0x4c024, 0x4c01c },
> @@ -3764,6 +3798,189 @@ static struct clk_regmap *gcc_msm8937_clocks[] = {
> [GCC_VFE_TBU_CLK] = &gcc_vfe_tbu_clk.clkr,
> };

--
Thanks,
Taniya Das