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
9fb1636c
Commit
9fb1636c
authored
Mar 06, 2018
by
Sylwester Nawrocki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-v4.17/power_domains' into for-v4.17/next
parents
1d5013f1
af8d30ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
drivers/soc/samsung/pm_domains.c
drivers/soc/samsung/pm_domains.c
+8
-0
No files found.
drivers/soc/samsung/pm_domains.c
View file @
9fb1636c
...
@@ -147,6 +147,9 @@ static __init const char *exynos_get_domain_name(struct device_node *node)
...
@@ -147,6 +147,9 @@ static __init const char *exynos_get_domain_name(struct device_node *node)
return
kstrdup_const
(
name
,
GFP_KERNEL
);
return
kstrdup_const
(
name
,
GFP_KERNEL
);
}
}
static
const
char
*
soc_force_no_clk
[]
=
{
};
static
__init
int
exynos4_pm_init_power_domain
(
void
)
static
__init
int
exynos4_pm_init_power_domain
(
void
)
{
{
struct
device_node
*
np
;
struct
device_node
*
np
;
...
@@ -183,6 +186,11 @@ static __init int exynos4_pm_init_power_domain(void)
...
@@ -183,6 +186,11 @@ static __init int exynos4_pm_init_power_domain(void)
pd
->
pd
.
power_on
=
exynos_pd_power_on
;
pd
->
pd
.
power_on
=
exynos_pd_power_on
;
pd
->
local_pwr_cfg
=
pm_domain_cfg
->
local_pwr_cfg
;
pd
->
local_pwr_cfg
=
pm_domain_cfg
->
local_pwr_cfg
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
soc_force_no_clk
);
i
++
)
if
(
of_find_compatible_node
(
NULL
,
NULL
,
soc_force_no_clk
[
i
]))
goto
no_clk
;
for
(
i
=
0
;
i
<
MAX_CLK_PER_DOMAIN
;
i
++
)
{
for
(
i
=
0
;
i
<
MAX_CLK_PER_DOMAIN
;
i
++
)
{
char
clk_name
[
8
];
char
clk_name
[
8
];
...
...
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