[U-Boot] [U-Boot, 1/1] reset: sti: add deassert counter in reset channel descriptor

Tom Rini trini at konsulko.com
Tue Jun 6 00:21:05 UTC 2017


On Thu, May 18, 2017 at 09:58:00AM +0200, Patrice Chotard wrote:

> From: Patrice Chotard <patrice.chotard at st.com>
> 
> 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 at st.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170605/6c43643d/attachment.sig>


More information about the U-Boot mailing list