dm: reset: add stm32 reset driver
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 13 Sep 2017 16:00:07 +0000 (18:00 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Sep 2017 11:40:01 +0000 (07:40 -0400)
commit23a06416858d839ee62dc00562be956be6d84bd2
tree3f8dafb28f143f6aa391ef7cc24b4ea5206fb529
parent4c3aebd56a035740f04fce44ce6c398afbb5ad86
dm: reset: add stm32 reset driver

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/device-tree-bindings/reset/st,stm32-rcc.txt [new file with mode: 0644]
drivers/reset/Kconfig
drivers/reset/Makefile
drivers/reset/stm32-reset.c [new file with mode: 0644]
include/dt-bindings/mfd/stm32h7-rcc.h [new file with mode: 0644]