]> git.dujemihanovic.xyz Git - u-boot.git/commit
timer: sti: use clk API to get timer clock rate
authorNicolas Heemeryck <nicolas.heemeryck@gmail.com>
Fri, 13 Mar 2020 22:42:44 +0000 (23:42 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 24 Mar 2020 13:23:35 +0000 (14:23 +0100)
commit5b5699cdc97122e08e7fd0886a9e4474ca3ccb35
tree2dfc6d6953793e85d78b4ca79bec6b1a5fbca421
parent123123d695a9b024a1413645eeff4bb41f610332
timer: sti: use clk API to get timer clock rate

Retrieve clock rate through device tree. This mimics the behavior of
arm_global_timer in Linux.

Signed-off-by: Nicolas Heemeryck <nicolas.heemeryck@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
drivers/timer/sti-timer.c