Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notifier for PLL0 clock and set it 1.5GHz on #848

Closed
wants to merge 2 commits into from

Conversation

bjoto
Copy link

@bjoto bjoto commented Apr 10, 2024

Pull request for series with
subject: Add notifier for PLL0 clock and set it 1.5GHz on
version: 4
url: https://patchwork.kernel.org/project/linux-riscv/list/?series=843062

@bjoto
Copy link
Author

bjoto commented Apr 10, 2024

Upstream branch: 4cece76
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=843062
version: 4

@bjoto
Copy link
Author

bjoto commented Apr 10, 2024

Upstream branch: 542124f
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=843062
version: 4

Add notifier function for PLL clock. In the function, the cpu_root clock
should be operated by saving its current parent and setting a new safe
parent (osc clock) before setting the PLL clock rate. After setting PLL
rate, it should be switched back to the original parent clock.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
…ing PLL0 rate to 1.5GHz

CPUfreq supports 4 cpu frequency loads on 375/500/750/1500MHz.
But now PLL0 rate is 1GHz and the cpu frequency loads become
333/500/500/1000MHz in fact.

So PLL0 rate should be default set to 1.5GHz and set the
cpu_core rate to 500MHz in safe.

Fixes: e2c510d ("riscv: dts: starfive: Add cpu scaling for JH7110 SoC")
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
@bjoto
Copy link
Author

bjoto commented Apr 10, 2024

Upstream branch: ba5ea59
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=843062
version: 4

@bjoto
Copy link
Author

bjoto commented Apr 24, 2024

At least one diff in series https://patchwork.kernel.org/project/linux-riscv/list/?series=843062 irrelevant now. Closing PR.

@bjoto bjoto closed this Apr 24, 2024
@bjoto bjoto deleted the series/843062=>for-next branch April 24, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants