]> git.dujemihanovic.xyz Git - u-boot.git/commit
clock: stm32mp1: add stgen clock source change support
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 20 Mar 2018 10:41:25 +0000 (11:41 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 7 Apr 2018 00:45:28 +0000 (20:45 -0400)
commit938e0e3f6e0911ca5329ac140ba1b0c55ded5340
tree7d18bbae53c4b405c24dd8dbe794dc5f46de7787
parent46fc679ede5f692a6848f7f4d36f6404c3855971
clock: stm32mp1: add stgen clock source change support

The STGEN is the clock source for the Cortex A7 arch timer.
So after modification of its frequency, CP15 cntfreq is updated
and a new timer init is performed.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/clk/clk_stm32mp1.c