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
2de34ed9
Commit
2de34ed9
authored
Dec 14, 2018
by
Stephen Boyd
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'clk-of' into clk-next
* clk-of: clk: Use of_node_name_eq for node name comparisons
parents
5964ac60
87ab1151
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
drivers/clk/renesas/clk-mstp.c
drivers/clk/renesas/clk-mstp.c
+1
-1
drivers/clk/ti/clkctrl.c
drivers/clk/ti/clkctrl.c
+1
-1
drivers/clk/ti/dpll.c
drivers/clk/ti/dpll.c
+1
-1
drivers/clk/ux500/u8500_of_clk.c
drivers/clk/ux500/u8500_of_clk.c
+5
-5
No files found.
drivers/clk/renesas/clk-mstp.c
View file @
2de34ed9
...
...
@@ -280,7 +280,7 @@ int cpg_mstp_attach_dev(struct generic_pm_domain *unused, struct device *dev)
goto
found
;
/* BSC on r8a73a4/sh73a0 uses zb_clk instead of an mstp clock */
if
(
!
strcmp
(
clkspec
.
np
->
name
,
"zb_clk"
))
if
(
of_node_name_eq
(
clkspec
.
np
,
"zb_clk"
))
goto
found
;
of_node_put
(
clkspec
.
np
);
...
...
drivers/clk/ti/clkctrl.c
View file @
2de34ed9
...
...
@@ -448,7 +448,7 @@ static void __init _ti_omap4_clkctrl_setup(struct device_node *node)
char
*
c
;
if
(
!
(
ti_clk_get_features
()
->
flags
&
TI_CLK_CLKCTRL_COMPAT
)
&&
!
strcmp
(
node
->
nam
e
,
"clk"
))
of_node_name_eq
(
nod
e
,
"clk"
))
ti_clk_features
.
flags
|=
TI_CLK_CLKCTRL_COMPAT
;
addrp
=
of_get_address
(
node
,
0
,
NULL
,
NULL
);
...
...
drivers/clk/ti/dpll.c
View file @
2de34ed9
...
...
@@ -410,7 +410,7 @@ static void __init of_ti_omap3_dpll_setup(struct device_node *node)
if
((
of_machine_is_compatible
(
"ti,omap3630"
)
||
of_machine_is_compatible
(
"ti,omap36xx"
))
&&
!
strcmp
(
node
->
nam
e
,
"dpll5_ck"
))
of_node_name_eq
(
nod
e
,
"dpll5_ck"
))
of_ti_dpll_setup
(
node
,
&
omap3_dpll5_ck_ops
,
&
dd
);
else
of_ti_dpll_setup
(
node
,
&
omap3_dpll_ck_ops
,
&
dd
);
...
...
drivers/clk/ux500/u8500_of_clk.c
View file @
2de34ed9
...
...
@@ -545,21 +545,21 @@ static void u8500_clk_init(struct device_node *np)
for_each_child_of_node
(
np
,
child
)
{
static
struct
clk_onecell_data
clk_data
;
if
(
!
of_node_cmp
(
child
->
name
,
"prcmu-clock"
))
{
if
(
of_node_name_eq
(
child
,
"prcmu-clock"
))
{
clk_data
.
clks
=
prcmu_clk
;
clk_data
.
clk_num
=
ARRAY_SIZE
(
prcmu_clk
);
of_clk_add_provider
(
child
,
of_clk_src_onecell_get
,
&
clk_data
);
}
if
(
!
of_node_cmp
(
child
->
name
,
"prcc-periph-clock"
))
if
(
of_node_name_eq
(
child
,
"prcc-periph-clock"
))
of_clk_add_provider
(
child
,
ux500_twocell_get
,
prcc_pclk
);
if
(
!
of_node_cmp
(
child
->
name
,
"prcc-kernel-clock"
))
if
(
of_node_name_eq
(
child
,
"prcc-kernel-clock"
))
of_clk_add_provider
(
child
,
ux500_twocell_get
,
prcc_kclk
);
if
(
!
of_node_cmp
(
child
->
name
,
"rtc32k-clock"
))
if
(
of_node_name_eq
(
child
,
"rtc32k-clock"
))
of_clk_add_provider
(
child
,
of_clk_src_simple_get
,
rtc_clk
);
if
(
!
of_node_cmp
(
child
->
name
,
"smp-twd-clock"
))
if
(
of_node_name_eq
(
child
,
"smp-twd-clock"
))
of_clk_add_provider
(
child
,
of_clk_src_simple_get
,
twd_clk
);
}
}
...
...
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