Re: [PATCH 2/2] clk: qcom: add IPQ9574 interconnect clocks support

From: Krzysztof Kozlowski
Date: Fri Mar 22 2024 - 01:45:50 EST


On 21/03/2024 10:56, Varadarajan Narayanan wrote:
> On Thu, Mar 21, 2024 at 08:25:15AM +0100, Krzysztof Kozlowski wrote:
>> On 21/03/2024 05:31, Varadarajan Narayanan wrote:
>>> Unlike MSM platforms that manage NoC related clocks and scaling
>>> from RPM, IPQ SoCs dont involve RPM in managing NoC related
>>> clocks and there is no NoC scaling.
>>
>> If these are clocks, expose them as clocks, not as interconnects.
>
> Earlier IPQ9574 PCIe patches were NAK-ed when these were exposed
> as clocks. Please refer to the following discussions
>
> https://lore.kernel.org/linux-arm-msm/CAA8EJpq0uawrOBHA8XHygEpGYF--HyxJWxKG44iiFdAZZz7O2w@xxxxxxxxxxxxxx/
> https://lore.kernel.org/linux-arm-msm/CAA8EJppabK8j9T40waMv=t-1aksXfqJibWuS41GhruzLhpatrg@xxxxxxxxxxxxxx/
>
> Dmitry had said
> <quote>
> I'd kindly suggest implementing the NoC attachment
> properly. In the end, other Qualcomm platforms use ICC
> drivers, so by following this pattern we will have more
> common code paths.
> </quote>
>
> Hence posted these patches to get feedback.

Then explain the rationale in commit msg.

Best regards,
Krzysztof