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

Fix problem with cpu scaling not working #19

Open
wants to merge 1 commit into
base: linux-4.14.76-armada-18.12
Choose a base branch
from

Conversation

FlashBurnGitHub
Copy link

This fixes a problem that the cpu scaling is not working.

First one needs to first unset the parent clock, before setting the same old parent clock again. This solves the problem that the wrong TBG clock source was used for the cpu.

Also one needs to multiply the current cpu frequency with the used divider so that the right cpu frequency gets calculated when applying the dividers. This was need for a 600MHz final cpu frequency to work

This fixes a problem that the cpu scaling is not working.

First one needs to first unset the parent clock, before setting the same old parent clock again. This solves the problem that the wrong TBG clock source was used for the cpu.

Also one needs to multiply the current cpu frequency with the used divider so that the right cpu frequency gets calculated when applying the dividers. This was need for a 600MHz final cpu frequency to work
@lanefu
Copy link

lanefu commented Apr 5, 2019

@haklai @Mrvl-BenjaminHuang @josephyau

Are you about to review this PR?

@haklai haklai requested a review from kostapr April 7, 2019 08:26
@kostapr
Copy link

kostapr commented Apr 7, 2019

The patch was forwarded to Gregory Clement for mainline integration. We will merge it once it is accepted by kernel team.
http://lists.infradead.org/pipermail/linux-arm-kernel/2019-March/638623.html
http://lists.infradead.org/pipermail/linux-arm-kernel/2019-March/638504.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants