]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit5163104cc51806e4277e3d7b34fc574b8f8cac77
tree3f8dafb28f143f6aa391ef7cc24b4ea5206fb529
parent3486ef08836a7dc53c2c022bd59281ba91785dd9
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]