dm: misc: add stm32 rcc driver
authorChristophe Kerello <christophe.kerello@st.com>
Wed, 13 Sep 2017 16:00:08 +0000 (18:00 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Sep 2017 11:40:02 +0000 (07:40 -0400)
commit4e280b91a188bfe29d34eb1146b4b0a7f00ad31d
tree4421f4e18ef4e61189975e6a5226c54e0c7d1fae
parent23a06416858d839ee62dc00562be956be6d84bd2
dm: misc: add stm32 rcc driver

This patch adds the support of reset and clock control
block (rcc) found on STM32 SoCs.
This driver is similar to a MFD linux driver.

This driver supports currently STM32H7 only.
STM32F4 and STM32F7 will be migrated to this rcc MFD driver
in the future to uniformize all STM32 SoCs already upstreamed.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/stm32_rcc.c [new file with mode: 0644]