Skip to content
Commit 31a7448f authored by Neil Armstrong's avatar Neil Armstrong Committed by Tony Lindgren
Browse files

ARM: OMAP: dmtimer: Add clock source from DT



Add a function which sets the timer source from the clocks
binding on dm_timer_prepare call.

In case the clocks property is not valid, it falls back to
the set_source() with 32_KHZ clock as default.

Suggested-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1ec21837
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment