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
072167d1
Commit
072167d1
authored
Jan 29, 2019
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pwm-dmtimer-fixes' into omap-for-v5.0/fixes-v2
parents
d0243693
0840242e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
arch/arm/boot/dts/omap4-droid4-xt894.dts
arch/arm/boot/dts/omap4-droid4-xt894.dts
+11
-0
drivers/bus/ti-sysc.c
drivers/bus/ti-sysc.c
+3
-3
drivers/clocksource/timer-ti-dm.c
drivers/clocksource/timer-ti-dm.c
+4
-1
No files found.
arch/arm/boot/dts/omap4-droid4-xt894.dts
View file @
072167d1
...
...
@@ -644,6 +644,17 @@ OMAP4_IOPAD(0x040, PIN_OUTPUT_PULLDOWN | MUX_MODE3)
};
};
/*
Configure
pwm
clock
source
for
timers
8
&
9
*/
&
timer8
{
assigned
-
clocks
=
<&
abe_clkctrl
OMAP4_TIMER8_CLKCTRL
24
>;
assigned
-
clock
-
parents
=
<&
sys_clkin_ck
>;
};
&
timer9
{
assigned
-
clocks
=
<&
l4_per_clkctrl
OMAP4_TIMER9_CLKCTRL
24
>;
assigned
-
clock
-
parents
=
<&
sys_clkin_ck
>;
};
/*
*
As
uart1
is
wired
to
mdm6600
with
rts
and
cts
,
we
can
use
the
cts
pin
for
*
uart1
wakeirq
.
...
...
drivers/bus/ti-sysc.c
View file @
072167d1
...
...
@@ -781,12 +781,12 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
SYSC_QUIRK
(
"smartreflex"
,
0
,
-
1
,
0x38
,
-
1
,
0x00000000
,
0xffffffff
,
SYSC_QUIRK_LEGACY_IDLE
),
SYSC_QUIRK
(
"timer"
,
0
,
0
,
0x10
,
0x14
,
0x00000015
,
0xffffffff
,
SYSC_QUIRK_LEGACY_IDLE
),
0
),
/* Some timers on omap4 and later */
SYSC_QUIRK
(
"timer"
,
0
,
0
,
0x10
,
-
1
,
0x50002100
,
0xffffffff
,
SYSC_QUIRK_LEGACY_IDLE
),
0
),
SYSC_QUIRK
(
"timer"
,
0
,
0
,
0x10
,
-
1
,
0x4fff1301
,
0xffff00ff
,
SYSC_QUIRK_LEGACY_IDLE
),
0
),
SYSC_QUIRK
(
"uart"
,
0
,
0x50
,
0x54
,
0x58
,
0x00000052
,
0xffffffff
,
SYSC_QUIRK_LEGACY_IDLE
),
/* Uarts on omap4 and later */
...
...
drivers/clocksource/timer-ti-dm.c
View file @
072167d1
...
...
@@ -154,6 +154,10 @@ static int omap_dm_timer_of_set_source(struct omap_dm_timer *timer)
if
(
IS_ERR
(
parent
))
return
-
ENODEV
;
/* Bail out if both clocks point to fck */
if
(
clk_is_match
(
parent
,
timer
->
fclk
))
return
0
;
ret
=
clk_set_parent
(
timer
->
fclk
,
parent
);
if
(
ret
<
0
)
pr_err
(
"%s: failed to set parent
\n
"
,
__func__
);
...
...
@@ -864,7 +868,6 @@ static int omap_dm_timer_probe(struct platform_device *pdev)
timer
->
pdev
=
pdev
;
pm_runtime_enable
(
dev
);
pm_runtime_irq_safe
(
dev
);
if
(
!
timer
->
reserved
)
{
ret
=
pm_runtime_get_sync
(
dev
);
...
...
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