Hi folks,
I am starting a new thread because the previous one (https://community.nxp.com/t5/i-MX-Processors/cpufreq-set-not-working/td-p/1678763) has not been resolved.
Could you please look into this thread?
Hi @kishan_dudhatra,
One of my colleague is able to resolve the issue.
This is a workaround patch, Please check this patch at your end.
This patch will resolve your issue!
Thanks & Regards,
Himanshu Bhavani
BSP Engineer at Silicon Signals Pvt Ltd | https://siliconsignals.io/
I ran into the same; in my case the problem was that between kernel 5.4 and 5.15 the of_match method changed in the pca9450 driver.
This caused regulator_dev_lookup to keep deferring, if the syntax in the dts node isn't changed accordingly.
Look for the change in semantics regarding pca9450 dts node in the NXP EVK examples between 5.4 and 5.15.
e.g.
buck1_reg: regulator@0 {
reg = <0>;
regulator-compatible = "buck1";
vs
buck1: BUCK1{
regulator-name = "BUCK1";
Hi @joanxie
We are using the NXP PMIC and the part no is pca9450.
Could you please provide the link of the PMIC patch?
@joanxie Can you please reply?
sorry for delay, these days I couldn't access community, you can refer to this dts to modify your ROHM pmic
did you use nxp board or your customized board?
I am using the customized board.
The CPU governor on the same board works on Zeus.
only heard that ROMH PMIC has this issue, let me reproduce this issue on nxp imx8mm evkb board when I come back to office
Hi @joanxie and @kishan_dudhatra ,
I am also facing the similar issue, did you get it working ?
Also I have been through the NXP issue list and found that other people are also facing the similar challenge.
Here is the similar issue link
IMX8mm cpu-freq scaling issue
If not resolved, please help us here NXP team.
--
BR.
Hi @joanxie ,
Thanks for the replay and logs I will analyze,
Also meantime can you do one more favor by sending used device tree and kernel configs or perhaps (zcat /proc/config.gz) ?
This will help me understand if by chance I have disabled anything unknowingly ?
Appreciate your support.
--
BR
It is very simple, just a back-ports in dts.
I have sent you and kishan_dudhatra by private message.
Hi @dtony ,
Thanks for the support, but the problem is My hardware doesn't uses ROHM PMIC, its PCA9450.
--
BR.
Hi @dtony ,
Thanks for the replay.
Actual problem is Unable to set cpufreq in Kirkstone, I am unable to get the /sys entries even.
And not able to change the cpufreq (without /sys ?).
With the help of NXP team (& of-course yours), currently we are on PMIC checking stage.
--
BR
Suggest to get the whole boot log. From the power on till linux console.
Confirm the linux kernel configuration is the same as bsp release.
Could not understand the problem.
The pca9450 pmic is supported by default in 5.15.71.