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>
Showing
- doc/device-tree-bindings/reset/st,stm32-rcc.txt 6 additions, 0 deletionsdoc/device-tree-bindings/reset/st,stm32-rcc.txt
- drivers/reset/Kconfig 7 additions, 0 deletionsdrivers/reset/Kconfig
- drivers/reset/Makefile 1 addition, 0 deletionsdrivers/reset/Makefile
- drivers/reset/stm32-reset.c 80 additions, 0 deletionsdrivers/reset/stm32-reset.c
- include/dt-bindings/mfd/stm32h7-rcc.h 138 additions, 0 deletionsinclude/dt-bindings/mfd/stm32h7-rcc.h
Loading
Please register or sign in to comment