[U-Boot] [PATCH v9 00/10] STiH410-B2260: add reset, usb and fastboot support

patrice.chotard at st.com patrice.chotard at st.com
Tue Jul 18 12:31:16 UTC 2017


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

This series adds :
	_ update existing sdhci driver to use reset framework
	_ add usb phy driver
	_ add fastboot support

With all this feature enable, it's now possible to 
	_ boot on usb mass storage device
	_ boot from kernel image and dtb previously loaded using tftp
	_ update mmc partiton using fastboot

v9:	_ update doc/device-tree-bindings/phy/phy-stih407-usb.txt requested by
	  Marek Vasut in patch 4
	_ move inclusion of linux/usb/otg.h from include/dwc3-sti-glue.h to drivers/usb/host/dwc3-sti-glue.c
	  requested by Marek Vasut in patch 7

v8:	_ update failpath label names in path 7 requested by Marek Vasut	

v7:	_ rebase on top of dm/master to use last livetree update
	_ replace fdtdec_parse_phandle_with_args() by dev_read_phandle_with_args() in patch 4
	_ replace uclass_get_device_by_of_offset() by uclass_get_device_by_ofnode() in patch 4

v6:	_ generic ehci/ohci drivers extension has been send separately
	_ add reviewed-by Simon Glass

v5:     _ extend generic ehci with phy
	_ extend generic ohci with clock, reset and phy
	_ remove specifi STi ehci and ohci drivers and use generic ohci/ehci
          ones
	_ update stih410-b2260 device tree to use ehci and ohci generic
	  drivers

v4:     _ use PHY uclass currently available on dm-next branch,
	  update sti ehci, ohci and xhci drivers to use new PHY uclass.

v3:	_ remove reset driver (already applied on u-boot-dm tree by Simon
	  Glass)
	_ patch 4: add new USB PHY uclass requested by Simon Glass
	_ patch 5: convert STi usb phy driver to new USB PHY uclass
	_ patch 6/7: update echi/ohci drivers to use USB PHY uclass
	_ patch 8/9: rework xhci-sti.c and dwc3-sti.c. Previously, xhci-sti driver binded
	  dwc3-sti (STi glue driver) which was not correct. Now we respect the device 
	  tree hierarchy, ie the STi dwc3 glue driver is first probed, then bind the
	  xhci-sti driver.
	
v2:	_ add Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com> in patches 2,3 and 4
	_ fix remarks done by Marek Vasut :
		_ patch 5 : replace bitfield_replace() by clrsetbits_le32()
		_ patch 6 : update error messages and add remove callback
		_ patch 8 : put board specific defines in a separate patch
		_ patch 7: use setbits_le32() instead of read, modify, write
		  sequence and add missing parenthesis
		_ squash previous patches 7,9,11,12,14,16,17,18,19,20 and 21
		  in patch 14



Patrice Chotard (8):
Patrice Chotard (10):
  mmc: sti_sdhci: Rework sti_mmc_core_config()
  ARM: dts: stih410-family: Add missing reset_names for mmc1 node
  mmc: sti_sdhci: Use reset framework
  usb: phy: Add STi USB2 PHY
  STiH410-B2260: enable USB Host Networking
  STiH410-B2260: enable USB, fastboot, reset, PHY related flags
  usb: dwc3: Add dwc3 glue driver support for STi
  ARM: dts: STiH410: set DWC3 dual role mode to peripheral
  ARM: dts: STiH410: update ehci and ohci compatible
  board: STiH410-B2260: add fastboot support

 arch/arm/dts/stih407-family.dtsi                 |   3 +-
 arch/arm/dts/stih410.dtsi                        |  11 +-
 arch/arm/include/asm/arch-stih410/sys_proto.h    |  11 +
 board/st/stih410-b2260/board.c                   |  42 ++++
 configs/stih410-b2260_defconfig                  |  39 +++-
 doc/device-tree-bindings/phy/phy-stih407-usb.txt |  24 +++
 doc/device-tree-bindings/usb/dwc3-st.txt         |  60 ++++++
 drivers/mmc/sti_sdhci.c                          |  62 +++---
 drivers/phy/Kconfig                              |   8 +
 drivers/phy/Makefile                             |   1 +
 drivers/phy/sti_usb_phy.c                        | 181 ++++++++++++++++
 drivers/usb/host/Kconfig                         |   9 +
 drivers/usb/host/Makefile                        |   1 +
 drivers/usb/host/dwc3-sti-glue.c                 | 257 +++++++++++++++++++++++
 include/configs/stih410-b2260.h                  |  16 ++
 include/dwc3-sti-glue.h                          |  41 ++++
 16 files changed, 730 insertions(+), 36 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-stih410/sys_proto.h
 create mode 100644 doc/device-tree-bindings/phy/phy-stih407-usb.txt
 create mode 100644 doc/device-tree-bindings/usb/dwc3-st.txt
 create mode 100644 drivers/phy/sti_usb_phy.c
 create mode 100644 drivers/usb/host/dwc3-sti-glue.c
 create mode 100644 include/dwc3-sti-glue.h

-- 
1.9.1



More information about the U-Boot mailing list