clk: stm32f7: add STM32F4 support
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 15 Nov 2017 12:14:47 +0000 (13:14 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
commitf9333c93c89d081b4fbba1022c95043fc336f4ee
tree6373fc05428ec213aad8049cb5eec749c1747866
parent1555903c8d4c736d5c9053f01be273d40dbee62d
clk: stm32f7: add STM32F4 support

STM32F4 and STM32F7 RCC clock IP are very similar.
Same driver can be used to managed RCC clock for
these 2 SoCs.

Differences between STM32F4 and F7 will be managed using
different compatible string :
 _ overdrive clock is only supported by STM32F7
 _ different sys_pll_psc parameters can be used between STM32F4
   and STM32F7.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
drivers/clk/clk_stm32f7.c