u-boot/drivers/reset
Patrice Chotard aef5b738c9 reset: sti: add deassert counter in reset channel descriptor
This deassert counter allow to manage "shared" reset lines
encountered in some specific case. On STiH410 SoC, DWC3,
EHCI and OHCI are all using a respective PHY, but all of
these PHYs shared a "global" reset.

Currently, during command "usb stop", all host controller are
stopped (XHCI, EHCI and OHCI). XHCI is first shutdowned, which
means that PHY global reset is asserted. Then EHCI is shutdowned,
but its PHY reset has already been asserted which make handshake()
call failed in ehci_shutdown().

This counter allows to really assert a reset lines only when the
"last" user is asserting it.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-06-05 14:13:02 -04:00
..
ast2500-reset.c aspeed: Reset Driver 2017-05-08 11:57:32 -04:00
Kconfig dm: reset: add BCM6345 reset driver 2017-05-10 16:16:09 +02:00
Makefile dm: reset: add BCM6345 reset driver 2017-05-10 16:16:09 +02:00
reset-bcm6345.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
reset-uclass.c dm: reset: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
reset-uniphier.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sandbox-reset-test.c reset: implement a reset test 2016-06-19 17:05:55 -06:00
sandbox-reset.c reset: implement a reset test 2016-06-19 17:05:55 -06:00
sti-reset.c reset: sti: add deassert counter in reset channel descriptor 2017-06-05 14:13:02 -04:00
tegra-car-reset.c reset: implement a driver for the Tegra CAR 2016-09-27 09:11:02 -07:00
tegra186-reset.c reset: add Tegra186 reset driver 2016-08-15 10:26:13 -07:00