Re: [PATCH v4 1/4] clk: qcom: Add initial Clock driver for ipq9650

Badhrinath S via U-Boot <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <[email protected]>
Hi Varada,

On 7/22/2026 5:08 PM, Varadarajan Narayanan wrote:
> [. . . ]
>
>> +static const struct gate_clk ipq9650_clks[] = {
>> +	GATE_CLK(GCC_SDCC1_AHB_CLK, 0x3303c, BIT(0)),
>> +	GATE_CLK(GCC_SDCC1_APPS_CLK, 0x33004, BIT(1)),
>> +	GATE_CLK(GCC_QUPV3_WRAP_SE6_CLK, 0x04004, BIT(0)),
> Use GATE_CLK_POLLED. GATE_CLK is deprecated.
> Have updated in V5'[PATCH v5 0/4] Add U-Boot support for Qualcomm IPQ9650 SoC' - MARC <https://marc.info/?l=u-boot&m=178530478539468&w=2>

Thanks,

Badhrinath S

>> +};
>> +
>> +static int ipq9650_enable(struct clk *clk)
>> +{
>> +	struct msm_clk_priv *priv = dev_get_priv(clk->dev);
>> +
>> +	if (clk->id >= ARRAY_SIZE(ipq9650_clks) || !ipq9650_clks[clk->id].reg)
>> +		return -EINVAL;
>> +
>> +	qcom_gate_clk_en(priv, clk->id);
>> +
>> +	return 0;
> return qcom_gate_clk_en(priv, clk->id);
>
> [ . . . ]
>
> Thanks
> Varada
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.