commit | 44704cbd882f0706a9e5d8a6d350ed73c2399026 | [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 | 37881c6726970df59acd65ee04944f43e3140ec7 [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>