-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
rockchip64-6.14: Add missing opp nodes #8048
base: main
Are you sure you want to change the base?
Conversation
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to send it upstream?
Definitely yes, but I don't have the technical knowledge to send it upstream, hopefully someone will explain it to me someday, or else I'll have to figure it out myself. |
@amazingfate i tried to send it on mainline, definitely I was wrong to put two email addresses but it should be no problem, let's see what happens. |
WIP: I was informed by mainline developers that frequency scaling alone doesn't provide effective power savings without corresponding voltage reduction. I'm currently researching the RK3588 datasheet to determine the minimum safe voltage levels for each frequency step and will propose a revised patch with properly tested voltage scaling. |
After carefully reviewing the RK3588 datasheet again, I've found that the typical recommended voltage values are always higher than what I had configured in my patch. Since this PR only implements frequency scaling without proper voltage reduction, it doesn't actually save energy. The datasheet's typical values are there for a reason - they ensure stable operation across all silicon variants and operating conditions. Without proper voltage scaling (which would require extensive testing to validate stable operation at lower voltages), simply adding lower frequency steps doesn't provide meaningful power savings. Given these findings, I'm closing this PR. |
@paolosabatino So what would you say to do? :) To make it easier for you, I leave you the link to the patch posted in the mainline: https://lore.kernel.org/all/[email protected]/T/ Be patient it is my first mainline patch, don't criticize me. |
Description
This PR adds missing Operating Performance Point (OPP) nodes for lower frequencies to the RK3588 device tree. by enabling the CPU clusters to scale down to lower frequencies when under light loads.
The changes add OPP nodes for 408MHz, 600MHz, 816MHz, and 1008MHz (for cluster1 and cluster2 only, as cluster0 already had 1008MHz).
How Has This Been Tested?
Checklist: