u-boot-brain/drivers
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
..
adc dm: adc: Convert uclass to livetree 2017-06-01 07:03:13 -06:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block dm: blk: Improve block device claiming 2017-06-01 07:03:05 -06:00
bootcount Blackfin: Remove 2017-04-05 13:52:01 -04:00
clk dm: clk: fixed: Update to support livetree 2017-06-01 07:03:14 -06:00
core dm: Add more livetree helpers and definitions 2017-06-01 07:03:12 -06:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto Convert CONFIG_CMD_HASH to Kconfig 2017-05-22 12:38:15 -04:00
ddr common: arm: freescale: layerscape: Move header files out of common.h 2017-06-05 14:12:59 -04:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu common: dfu: ignore reset for spl-dfu 2017-05-12 08:37:09 -04:00
dma dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
firmware dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
fpga FPGA: drivers/fpga/ivm_core.c: incorrect printf 2017-04-18 10:29:23 -04:00
gpio gpio: samsung: Drop s3c2440_gpio driver 2017-06-05 11:02:29 -04:00
i2c samsung: Drop more references fo s3c24x0 2017-06-05 11:02:31 -04:00
input cros_ec: Update the cros_ec keyboard driver to livetree 2017-06-01 07:03:16 -06:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc dm: Update the I2C eeprom driver for livetree 2017-06-01 07:03:15 -06:00
mmc samsung: mmc: Drop s3c_sdi driver 2017-06-05 11:02:30 -04:00
mtd samsung: nand: Drop s3c2410_nand driver 2017-06-05 11:02:31 -04:00
net common: freescale: Move arch-specific declarations 2017-06-05 12:30:55 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci common: freescale: Move arch-specific declarations 2017-06-05 12:30:55 -04:00
pcmcia Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
phy sandbox: phy: Update driver for livetree 2017-06-01 07:03:15 -06:00
pinctrl dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
power dm: gpio: power: Convert pm8916 drivers to livetree 2017-06-01 07:03:17 -06:00
pwm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
qe QE: add QE support on SD boot 2017-06-01 19:56:54 -07:00
ram dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset reset: sti: add deassert counter in reset channel descriptor 2017-06-05 14:13:02 -04:00
rtc dm: sandbox: i2c_rtc: Drop fdtdec.h header 2017-06-01 07:03:16 -06:00
serial dm: core: Update lists_bind_fdt() to use ofnode 2017-06-01 07:03:08 -06:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi dm: spi: Convert uclass to livetree 2017-06-01 07:03:16 -06:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset dm: sandbox: sysreset: Convert driver to livetree 2017-06-01 07:03:17 -06:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer dm: core: Update lists_bind_fdt() to use ofnode 2017-06-01 07:03:08 -06:00
tpm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
usb common: arm: freescale: layerscape: Move header files out of common.h 2017-06-05 14:12:59 -04:00
video common: Drop inclusion of pci.h 2017-06-05 11:02:26 -04:00
watchdog dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
Kconfig Drop digital thermometer and thermostat (DTT) drivers 2017-05-22 08:37:11 -04:00
Makefile Drop digital thermometer and thermostat (DTT) drivers 2017-05-22 08:37:11 -04:00