All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/4] rockchip: rk3288: add fastboot support
@ 2016-07-06  9:34 Ziyuan Xu
  2016-07-06  9:34 ` [U-Boot] [PATCH v3 1/4] usb: rockchip-phy: implement USB2.0 phy control for Synopsys Ziyuan Xu
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Ziyuan Xu @ 2016-07-06  9:34 UTC (permalink / raw)
  To: u-boot

This patchset add the fastboot support for rk3288, and I have tested on
firefly-rk3288 board.

Fix an issue which was mentioned in V1's cover-letter:
The DMA buffer was always zero after DMA transfer is complete, It takes
no effect that invalidate dcache after the DMA is complete and before
the CPU reads it. It's important to invalidate dcache before starting
DMA, ensure coherency and prevent from any dirty lines in the cache
which from the DMA buffer.

Summary of changes in this series:
- Achieve UOC_CON_OFFSET physical address from DT
- Make UOC_CON registers to be unfixed which should be got from DT
- Add new commit dd77b11fd44a84 (usb: dwc2: Invalidate dcache before
staring DMA)

Changes in v3:
- Make UOC_CON registers to be unfixed which should be got from DT
- Achieve UOC_CON_OFFSET physical address from DT
- New commit since v3 to fix the coherence issue between memory and
cache

Changes in v2:
- Rename rk3288_usb_phy.c to rockchip_usb_syno_phy.c
- Rework the behaviour in otg_phy_init() and otg_phy_off()
- Update detailed commit message
- Modify the macro's values
- Achieve the regs_phy from DT
- Update comments a little

Xu Ziyuan (4):
  usb: rockchip-phy: implement USB2.0 phy control for Synopsys
  usb: dwc2-otg: re-define fifo-size for Rockchip SoCs
  rockchip: rk3288: add fastboot support
  usb: dwc2: invalidate dcache before starting DMA

 arch/arm/dts/rk3288.dtsi                   |  1 +
 arch/arm/mach-rockchip/board.c             | 60 ++++++++++++++++++++++++++++++
 drivers/usb/gadget/dwc2_udc_otg_regs.h     |  6 +++
 drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c |  3 ++
 drivers/usb/phy/Makefile                   |  1 +
 drivers/usb/phy/rockchip_usb_syno_phy.c    | 47 +++++++++++++++++++++++
 include/configs/rk3288_common.h            | 26 +++++++++++++
 7 files changed, 144 insertions(+)
 create mode 100644 drivers/usb/phy/rockchip_usb_syno_phy.c

-- 
1.9.1

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-07-15  3:56 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-06  9:34 [U-Boot] [PATCH v3 0/4] rockchip: rk3288: add fastboot support Ziyuan Xu
2016-07-06  9:34 ` [U-Boot] [PATCH v3 1/4] usb: rockchip-phy: implement USB2.0 phy control for Synopsys Ziyuan Xu
2016-07-06 10:20   ` Ziyuan Xu
2016-07-06 12:48     ` Heiko Stuebner
2016-07-06 13:42       ` Heiko Stuebner
2016-07-07  1:58         ` Ziyuan Xu
2016-07-07 20:33           ` Heiko Stuebner
2016-07-08  0:40             ` Ziyuan Xu
2016-07-06  9:34 ` [U-Boot] [PATCH v3 2/4] usb: dwc2-otg: re-define fifo-size for Rockchip SoCs Ziyuan Xu
2016-07-06  9:34 ` [U-Boot] [PATCH v3 3/4] rockchip: rk3288: add fastboot support Ziyuan Xu
2016-07-06  9:34 ` [U-Boot] [PATCH v3 4/4] usb: dwc2: invalidate dcache before starting DMA Ziyuan Xu
2016-07-12 12:59   ` Simon Glass
2016-07-13  1:06     ` Ziyuan Xu
2016-07-14 15:00       ` Simon Glass
2016-07-14 15:43         ` Ziyuan Xu
2016-07-15  3:20           ` Simon Glass
2016-07-15  3:56             ` Simon Glass
2016-07-11 23:54 ` [U-Boot] [PATCH v3 0/4] rockchip: rk3288: add fastboot support Simon Glass
2016-07-12  0:32   ` Ziyuan Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.