Unable to set cpufreq in Kirkstone (5.15.71)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to set cpufreq in Kirkstone (5.15.71)

4,178件の閲覧回数
kishan_dudhatra
Contributor III

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?

Regards,
Kishan Dudhatra
0 件の賞賛
返信
21 返答(返信)

2,369件の閲覧回数
himanshu_bhavani
Contributor I

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/

 

0 件の賞賛
返信

2,392件の閲覧回数
wouher
Contributor II

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";

0 件の賞賛
返信

4,055件の閲覧回数
kishan_dudhatra
Contributor III

Hi @joanxie 

We are using the NXP PMIC and the part no is pca9450.
Could you please provide the link of the PMIC patch?

Regards,
Kishan Dudhatra
0 件の賞賛
返信

3,918件の閲覧回数
kishan_dudhatra
Contributor III

@joanxie 

 

PMIC is also probed successfully.

kishan_dudhatra_0-1690032382581.png

 

Regards,
Kishan Dudhatra
タグ(1)
0 件の賞賛
返信

3,991件の閲覧回数
kishan_dudhatra
Contributor III

@joanxie Can you please reply?

Regards,
Kishan Dudhatra
0 件の賞賛
返信

3,982件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

sorry for delay, these days I couldn't access community, you can refer to this dts to modify your ROHM pmic

https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8mm-evk-qca-wifi...

0 件の賞賛
返信

3,958件の閲覧回数
kishan_dudhatra
Contributor III

Hi @joanxie 

We are using the PCA9450A, not the ROHM PMIC.

Can you please provide a solution for nxp,pca9450 PMIC?

Regards,
Kishan Dudhatra
タグ(1)
0 件の賞賛
返信

3,772件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

did you use nxp board or your customized board?

0 件の賞賛
返信

3,770件の閲覧回数
kishan_dudhatra
Contributor III

@joanxie 

I am using the customized board.

The CPU governor on the same board works on Zeus.

Regards,
Kishan Dudhatra
0 件の賞賛
返信

3,764件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

only heard that  ROMH PMIC has this issue, let me reproduce this issue on nxp imx8mm evkb board when I come back to office

0 件の賞賛
返信

3,752件の閲覧回数
r_trivedi123
Contributor IV

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.

0 件の賞賛
返信

3,691件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I tested nxp imx8mm evkb board which uses pcm9450A, I couldn't reproduce this issue, I attached my logfile, maybe you can compare with it

0 件の賞賛
返信

3,684件の閲覧回数
r_trivedi123
Contributor IV

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

0 件の賞賛
返信

3,667件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

pls find the attachment, I use the prebuilt images without any modification

 

0 件の賞賛
返信

3,726件の閲覧回数
dtony
Contributor III

It is very simple, just a back-ports in dts. 

I have sent you and kishan_dudhatra by private message. 

0 件の賞賛
返信

3,718件の閲覧回数
r_trivedi123
Contributor IV

Hi @dtony ,

Thanks for the support, but the problem is My hardware doesn't uses ROHM PMIC, its PCA9450.

--
BR.

0 件の賞賛
返信

3,705件の閲覧回数
r_trivedi123
Contributor IV

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


0 件の賞賛
返信

3,695件の閲覧回数
dtony
Contributor III

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. 

0 件の賞賛
返信

3,683件の閲覧回数
r_trivedi123
Contributor IV

@dtony, Noted, also asked @joanxie for DTS and Configs to compare with my setup.

Thanks for helping.

--
BR

0 件の賞賛
返信

3,709件の閲覧回数
dtony
Contributor III

Could  not understand the problem. 

The pca9450 pmic is supported by default in 5.15.71. 

0 件の賞賛
返信