diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2017-05-18 07:58:00 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 18:13:02 (GMT) |
commit | aef5b738c97995fca9f39855ce0668cc28b71757 (patch) | |
tree | d0320e8d8639d0ee35a5a82660cc5c2be46eb8ad /board/ti/common | |
parent | 5bdb31706509c0dbf44228fc69538e90cc7d510e (diff) | |
download | u-boot-aef5b738c97995fca9f39855ce0668cc28b71757.tar.xz |
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>
Diffstat (limited to 'board/ti/common')
0 files changed, 0 insertions, 0 deletions