]> git.baikalelectronics.ru Git - uboot.git/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)
commit9ca71ad374b128861e0ac65b11ba5af4a8d7534d
treefbb0d14fa098f83ce19f7a17d0b67dae1423d61c
parent0033ac80ddb3f49f5c05c29d9947a38f38f5e498
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]