drivers: reset: STi SoC system configuration reset controller support
authorStephen Gallimore <stephen.gallimore@st.com>
Wed, 7 Aug 2013 14:53:12 +0000 (15:53 +0100)
committerSrinivas Kandagatla <srinivas.kandagatla@st.com>
Tue, 11 Mar 2014 10:47:23 +0000 (10:47 +0000)
commite5d76075d9300a483619f7f308a693311af9c2cb
treefe4446092975d20cd1c259b491366fc7418c2e32
parente063735f9155826ee96a9bbc5407a1ead192f295
drivers: reset: STi SoC system configuration reset controller support

This patch adds a reset controller implementation for STMicroelectronics
STi family SoCs; it allows a group of related reset like controls found
in multiple system configuration registers to be represented by a single
controller device. System configuration registers are accessed through
the regmap framework and the mfd/syscon driver.

The implementation optionally supports waiting for the reset action to
be acknowledged in a separate status register and supports both
active high and active low reset lines. These properties are common across
all the reset channels in a specific reset controller instance, hence
all channels in a paritcular controller are expected to behave in the
same way.

Signed-off-by: Stephen Gallimore <stephen.gallimore@st.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Kconfig
drivers/reset/Makefile
drivers/reset/sti/Kconfig [new file with mode: 0644]
drivers/reset/sti/Makefile [new file with mode: 0644]
drivers/reset/sti/reset-syscfg.c [new file with mode: 0644]
drivers/reset/sti/reset-syscfg.h [new file with mode: 0644]