linux/drivers/reset
Philipp Zabel 21240eb94f reset: make (de)assert report success for self-deasserting reset drivers
By now there are drivers using shared reset controls and (de)assert
calls on platforms with self-deasserting reset lines and thus reset
drivers that do not implement .assert() and .deassert().
As long as the initial state of the reset line is deasserted, there
is no reason for a reset_control_assert call to return an error for
shared reset controls, or for a reset_control_deassert call to return
an error for either shared or exclusive reset controls: after a call
to reset_control_deassert the reset line is guaranteed to be deasserted,
and after a call to reset_control_assert it is valid for the reset
line to stay deasserted for shared reset controls.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
2017-07-19 12:10:48 +02:00
..
hisilicon reset: hi6220: Set module license so that it can be loaded 2017-05-24 10:53:41 +02:00
sti reset: sti: Use devm_kcalloc() in syscfg_reset_controller_register() 2017-05-15 08:59:08 +02:00
tegra reset: Add Tegra BPMP reset driver 2016-11-18 14:34:56 +01:00
core.c reset: make (de)assert report success for self-deasserting reset drivers 2017-07-19 12:10:48 +02:00
Kconfig reset: Add the TI SCI reset driver 2017-06-06 09:44:17 +02:00
Makefile reset: Add the TI SCI reset driver 2017-06-06 09:44:17 +02:00
reset-a10sr.c reset: Add Altera Arria10 SR Reset Controller 2017-03-15 12:19:11 +01:00
reset-ath79.c reset: ath79: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-berlin.c reset: berlin: make it explicitly non-modular 2016-10-24 10:43:40 +02:00
reset-gemini.c reset: Add a Gemini reset controller 2017-05-24 10:46:13 +02:00
reset-imx7.c reset: Add i.MX7 SRC reset driver 2017-03-15 12:18:49 +01:00
reset-lpc18xx.c reset: lpc18xx: make it explicitly non-modular 2016-10-24 10:45:38 +02:00
reset-meson.c reset: meson: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-oxnas.c reset: oxnas: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-pistachio.c reset: pistachio: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-socfpga.c reset-socfpga: Fix nr_resets property 2017-03-08 09:36:45 +01:00
reset-stm32.c drivers: reset: Add STM32 reset driver 2016-08-24 15:21:28 +02:00
reset-sunxi.c reset: sunxi: fix for 64-bit compilation 2017-03-15 12:19:12 +01:00
reset-ti-sci.c reset: Add the TI SCI reset driver 2017-06-06 09:44:17 +02:00
reset-ti-syscon.c reset: constify reset_control_ops structures 2017-01-12 11:12:07 +01:00
reset-uniphier.c reset: uniphier: add NAND and eMMC reset control 2017-03-28 18:45:35 +02:00
reset-zx2967.c reset: zx2967: constify zx2967_reset_ops. 2017-07-19 10:24:00 +02:00
reset-zynq.c reset: zynq: make it explicitly non-modular 2016-10-24 10:45:32 +02:00