[PATCH 0/2] Introduce STM32MP1 Reset driver
- Date: Tue, 13 Mar 2018 17:34:17 +0100
- From: <gabriel.fernandez@xxxxxx>
- Subject: [PATCH 0/2] Introduce STM32MP1 Reset driver
From: Gabriel Fernandez <gabriel.fernandez@xxxxxx>
This patch-set enables the reset of STM32MP1.
It uses the reset simple driver by introducing the clear register offset
STM32MP1 reset IP has a register to assert by writing '1' and another
register to de-assert by writing '1'.
The offset between this two registers is '0x4'.
The patch 'dt-bindings: reset: add STM32MP1 resets' could be squashed
with the patch:
'dt-bindings: Document STM32MP1 Reset Clock Controller (RCC) bindings'
Gabriel Fernandez (2):
dt-bindings: reset: add STM32MP1 resets
reset: simple: Enable stm32mp1 reset driver
drivers/reset/reset-simple.c | 27 +++++--
drivers/reset/reset-simple.h | 1 +
include/dt-bindings/reset/stm32mp1-resets.h | 108 ++++++++++++++++++++++++++++
3 files changed, 130 insertions(+), 6 deletions(-)
create mode 100644 include/dt-bindings/reset/stm32mp1-resets.h