commit | 5b5699cdc97122e08e7fd0886a9e4474ca3ccb35 | [log] [tgz] |
---|---|---|
author | Nicolas Heemeryck <nicolas.heemeryck@gmail.com> | Fri Mar 13 23:42:44 2020 +0100 |
committer | Patrick Delaunay <patrick.delaunay@st.com> | Tue Mar 24 14:23:35 2020 +0100 |
tree | 2dfc6d6953793e85d78b4ca79bec6b1a5fbca421 | |
parent | 123123d695a9b024a1413645eeff4bb41f610332 [diff] |
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>