]> git.sur5r.net Git - u-boot/commit
dm: misc: bind STM32F4/F7 clock from rcc MFD driver
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 15 Nov 2017 12:14:51 +0000 (13:14 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
commit928954fe58e69767b138816ab58e1a7e48f2c685
treefbb0d14fa098f83ce19f7a17d0b67dae1423d61c
parentfe8d4780fffb0fe211fda3a5253f154c1e026939
dm: misc: bind STM32F4/F7 clock from rcc MFD driver

Like STM32H7, now STM32F4/F7 clock drivers are binded by
MFD stm32_rcc driver.
This also allows to add reset support to STM32F4/F7 SoCs family.
As Reset driver is not part of SPL supported drivers, don't bind it
in case of SPL to avoid that stm32_rcc_bind() returns an error.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
drivers/clk/clk_stm32f.c
drivers/misc/stm32_rcc.c
include/stm32_rcc.h [new file with mode: 0644]