Skip to content

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