Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
480c64ae
Commit
480c64ae
authored
Mar 15, 2024
by
Viresh Kumar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'opp/boost-data' into cpufreq/arm/linux-next
parents
d2399501
abb3f971
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
drivers/opp/core.c
drivers/opp/core.c
+1
-0
include/linux/pm_opp.h
include/linux/pm_opp.h
+2
-0
No files found.
drivers/opp/core.c
View file @
480c64ae
...
...
@@ -2065,6 +2065,7 @@ int _opp_add_v1(struct opp_table *opp_table, struct device *dev,
/* populate the opp table */
new_opp
->
rates
[
0
]
=
data
->
freq
;
new_opp
->
level
=
data
->
level
;
new_opp
->
turbo
=
data
->
turbo
;
tol
=
u_volt
*
opp_table
->
voltage_tolerance_v1
/
100
;
new_opp
->
supplies
[
0
].
u_volt
=
u_volt
;
new_opp
->
supplies
[
0
].
u_volt_min
=
u_volt
-
tol
;
...
...
include/linux/pm_opp.h
View file @
480c64ae
...
...
@@ -87,12 +87,14 @@ struct dev_pm_opp_config {
/**
* struct dev_pm_opp_data - The data to use to initialize an OPP.
* @turbo: Flag to indicate whether the OPP is to be marked turbo or not.
* @level: The performance level for the OPP. Set level to OPP_LEVEL_UNSET if
* level field isn't used.
* @freq: The clock rate in Hz for the OPP.
* @u_volt: The voltage in uV for the OPP.
*/
struct
dev_pm_opp_data
{
bool
turbo
;
unsigned
int
level
;
unsigned
long
freq
;
unsigned
long
u_volt
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment