Re: [PATCH v4 2/4] soc: qcom: ice: Add OPP-based clock scaling support for ICE

From: Krzysztof Kozlowski

Date: Thu Feb 05 2026 - 06:27:45 EST


On 02/02/2026 07:32, Abhinaba Rakshit wrote:
> On Wed, Jan 28, 2026 at 12:04:26PM +0100, Krzysztof Kozlowski wrote:
>> On Wed, Jan 28, 2026 at 02:16:41PM +0530, Abhinaba Rakshit wrote:
>>> struct qcom_ice *engine;
>>> + struct dev_pm_opp *opp;
>>> + int err;
>>> + unsigned long rate;
>>>
>>> if (!qcom_scm_is_available())
>>> return ERR_PTR(-EPROBE_DEFER);
>>> @@ -584,6 +651,46 @@ static struct qcom_ice *qcom_ice_create(struct device *dev,
>>> if (IS_ERR(engine->core_clk))
>>> return ERR_CAST(engine->core_clk);
>>>
>>> + /* Register the OPP table only when ICE is described as a standalone
>>
>> This is not netdev...
>
> Okay, if I understand it correct, its not conventional to use of_device_is_compatible
> outside netdev subsystem. Will update as mentioned below.

No, please read entire coding style, although the comment was about
comment style.


Best regards,
Krzysztof