[U-Boot,v4,0/4] drivers: Add reset ctrl to drivers

Message ID 1527842722-15593-1-git-send-email-ley.foon.tan@intel.com
Headers show
Series
  • drivers: Add reset ctrl to drivers
Related show

Message

Ley Foon Tan June 1, 2018, 8:45 a.m.
Add reset ctrl to dwmmc socfpga, designware Ethernet and ns16550 serial drivers.

A reset property is an optional feature, so only print out a warning and
do not fail if a reset property is not present.
    
If a reset property is discovered, then use it to deassert, thus bringing the
IP out of reset.

v4 change:
- Add patch to check CONFIG_SPL_RESET_SUPPORT in reset.h

History:
v1: https://patchwork.ozlabs.org/cover/905519/
v2: https://patchwork.ozlabs.org/cover/908667/
v3: https://patchwork.ozlabs.org/cover/910018/

Ley Foon Tan (4):
  include: reset: check CONFIG_SPL_RESET_SUPPORT
  mmc: dwmmc: socfpga: Add reset ctrl to driver
  serial: ns16550: Add reset ctrl to driver
  net: designware: Add reset ctrl to driver

 drivers/mmc/socfpga_dw_mmc.c | 17 +++++++++++++++++
 drivers/net/designware.c     |  8 ++++++++
 drivers/serial/ns16550.c     |  8 ++++++++
 include/reset.h              |  3 ++-
 4 files changed, 35 insertions(+), 1 deletion(-)