u-boot-brain/drivers/reset
Simon Goldschmidt ede6e7b64f reset: socfpga: add reset handling for old kernels
This adds code to take peripherals out of reset based on an environment
variable. This is in preparation for removing the code that does this from
SPL.

However, some drivers even in current Linux cannot handle peripheral reset,
so until this works, we need a compatibility workaround.

This workaround is implemented in the 'assert' and 'remove' callbacks of
this reset driver: the 'assert' callback does not disable peripherals that
were already taken out of reset, while the 'remove' callback, which is
called on OS_PREPARE, deasserts all peripheral resets if the environment
variable "socfpga_legacy_reset_compat" is set to 1, which is what the gen5
SPL did up to now.

This is in preparation to clean up the SPL and implementing proper reset
handling for U-Boot.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
2019-04-17 22:20:16 +02:00
..
ast2500-reset.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig reset: Add Allwinner RESET driver 2019-01-18 22:19:08 +05:30
Makefile reset: Add Allwinner RESET driver 2019-01-18 22:19:08 +05:30
reset-bcm6345.c reset: bcm6345: convert to use live dt 2018-06-01 15:56:02 +02:00
reset-mediatek.c reset: MedaiTek: add reset controller driver for MediaTek SoCs 2019-01-14 17:43:18 -05:00
reset-meson.c regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
reset-rockchip.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset-socfpga.c reset: socfpga: add reset handling for old kernels 2019-04-17 22:20:16 +02:00
reset-sunxi.c reset: Add Allwinner RESET driver 2019-01-18 22:19:08 +05:30
reset-ti-sci.c reset: Introduce TI System Control Interface (TI SCI) reset driver 2018-09-11 08:32:55 -04:00
reset-uclass.c dm: reset: Update uclass to allow querying reset status 2018-09-11 08:32:55 -04:00
reset-uniphier.c reset: uniphier: sync reset data with Linux 4.18-rc1 2018-06-23 01:28:08 +09:00
sandbox-reset-test.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox-reset.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sti-reset.c regmap: clean up regmap allocation 2018-05-07 15:15:27 -04:00
stm32-reset.c misc: stm32: Add STM32MP1 support 2018-07-20 15:55:05 -04:00
tegra-car-reset.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tegra186-reset.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00