[U-Boot] [PATCH v3 0/7] usb: Extend ehci and ohci generic drivers

patrice.chotard at st.com patrice.chotard at st.com
Wed May 17 13:34:01 UTC 2017


From: Patrice Chotard <patrice.chotard at st.com>

v3:     _ keep enabled clocks and deasserted resets reference in list in order to 
	  disable clock or assert resets in error path or in .remove callback
	_ add missing commit message
	_ use struct generic_ehci * instead of struct udevice * as parameter for
	  ehci_release_resets() and ehci_release_clocks()
	_ test return value on generic_phy_get_by_index() and
	  generic_phy_init()
	_ split previous patch 5 in 3 independant patch for CLOCK, RESET and PHY support

v2:     _ add needed reset_request() in RESET framework
	_ add error path in ehci/ohci-generic to disable clocks and to assert
	resets
	_ add .remove callback with clocks, resets and phy release
	_ split the replacement of printf() by error() in an independant patch

Patrice Chotard (7):
  reset: add reset_request()
  usb: host: ehci-generic: replace printf() by error()
  usb: host: ehci-generic: add error path and .remove callback
  usb: host: ehci-generic: add generic PHY support
  usb: host: ohci-generic: add CLOCK support
  usb: host: ohci-generic: add RESET support
  usb: host: ohci-generic: add generic PHY support

 drivers/reset/reset-uclass.c    |   9 ++
 drivers/usb/host/ehci-generic.c | 189 ++++++++++++++++++++++++++++++++++++----
 drivers/usb/host/ohci-generic.c | 184 +++++++++++++++++++++++++++++++++++++-
 include/reset.h                 |   9 ++
 4 files changed, 374 insertions(+), 17 deletions(-)

-- 
1.9.1



More information about the U-Boot mailing list