[PATCH v4 2/8] clk: qcom: ipq5332: enable few nssnoc clocks in driver probe
Kathiravan Thirumoorthy
quic_kathirav at quicinc.com
Sat Feb 17 07:41:25 PST 2024
On 2/16/2024 10:46 PM, Andrew Lunn wrote:
>> You can get the source at https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016/-/tree/NHSS.QSDK.12.2?ref_type=heads
>
> Cool, thanks. But is it really u-boot from 2016?
Yes, it is. If you want to try on IPQ95xx / IPQ53xx SoCs, you can also
use the 2023's u-boot, which is available at [1].
[1]
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot/-/tree/NHSS.QSDK.12.4.5?ref_type=heads
>
>> Yeah agree with your comments.
>>
>> QSDK's u-boot enables the network support, so the required NSSCC clocks are
>> turned ON and left it in ON state. CCF tries to disables the unused NSSCC
>> clocks but system goes for reboot.
>>
>> Reason being, to access the NSSCC clocks, these GCC clocks
>> (gcc_snoc_nssnoc_clk, gcc_snoc_nssnoc_1_clk, gcc_nssnoc_nsscc_clk)
>> should be turned ON. But CCF disables these clocks as well due to the lack
>> of consumer.
>
> So there is your solution, make NSSCC a consumer of the clocks it
> actually consumes. If it needs these clocks, it should get and enable
> them.
Thanks for the suggestion. I will include these clocks in NSSCC DT node
and enable the same in the NSSCC driver probe.
> Andrew
More information about the linux-arm-kernel
mailing list