
On 13 September 2017 at 10:00, patrice.chotard@st.com wrote:
From: Patrice Chotard patrice.chotard@st.com
This driver is adapted from linux drivers/reset/reset-stm32.c It's compatible with STM32 F4/F7/H7 SoCs.
This driver doesn't implement .of_match as it's binded by MFD RCC driver.
To add support for each SoC family, a SoC's specific include/dt-binfings/mfd/stm32xx-rcc.h file must be added.
This patch only includes stm32h7-rcc.h dedicated for STM32H7 SoCs. Other SoCs support will be added in the future.
Signed-off-by: Patrice Chotard patrice.chotard@st.com
doc/device-tree-bindings/reset/st,stm32-rcc.txt | 6 ++ drivers/reset/Kconfig | 7 ++ drivers/reset/Makefile | 1 + drivers/reset/stm32-reset.c | 80 ++++++++++++++ include/dt-bindings/mfd/stm32h7-rcc.h | 138 ++++++++++++++++++++++++ 5 files changed, 232 insertions(+) create mode 100644 doc/device-tree-bindings/reset/st,stm32-rcc.txt create mode 100644 drivers/reset/stm32-reset.c create mode 100644 include/dt-bindings/mfd/stm32h7-rcc.h
Reviewed-by: Simon Glass sjg@chromium.org